const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/ErrorPage-3wEy96yW.js","assets/primevue-9Ou1e4kv.js","assets/vendor-CI64q2To.js","assets/i18n-CyjFLOmc.js","assets/firebase-B1SDSE0L.js","assets/Index-BslObik_.js","assets/useUtils-CXWgr8A7.js","assets/utils-BGJSpX6f.js","assets/Index-DFHJGC7f.css","assets/GHG--4CadLD-.js","assets/Index-aDRWLC5k.js","assets/useSeo-CqOdPibq.js","assets/List-CF923M-7.js","assets/List-ujZ4E4jG.css","assets/Index-x3nSEOeR.css","assets/Index-C801rpVj.js","assets/Index-DtCuFOeZ.css","assets/Item-BDm34f-C.js","assets/Item-COIz_6Pj.css","assets/Index-CHpBaACn.js","assets/LoginWithToken-6ZBo9j8_.js","assets/Index-C0zabQAz.js","assets/useAddress-CZ079Qgm.js","assets/ForgotPassword-STrBcuSE.js","assets/Register-BSy76Q78.js","assets/Form-D4IzJT7B.js","assets/MyFavorites-DXJGX6v3.js","assets/MyBids-f0dTmoUS.js","assets/MyBids-C078h9W3.css","assets/MySettings-BlXH7d8X.js","assets/MySettings-D1Omctaz.css","assets/EditCompany-B_J9Zu1f.js","assets/MyFilters-CePpfck2.js","assets/CustomEmailHandler-CnWys3pj.js","assets/404-CrpdM-oE.js"])))=>i.map(i=>d[i]);
import{S as Bm,N as Am,U as Mm,i as $m,r as vt,V as Om,W as Lm,X as Nm,Y as Pm,g as Dm,Z as Fm,C as Nr,_ as jm,$ as Hm,w as Um,a0 as Nd,h as Ae,f as Te,j as C,a1 as zm,e as cr,F as Wm,x as ge,v as Oe,t as me,a2 as Z,s as ls,A as We,o as qm,Q as Vm,d as gc,a3 as sn,B as an,D as bc,l as Ym,a4 as Gm,a5 as Km}from"./vendor-CI64q2To.js";import{c as Xm,u as Pd}from"./i18n-CyjFLOmc.js";import{i as Jm,g as Qm,a as Zm,c as eh,s as th,b as rh,d as Ai,e as oh,E as yc,r as vc,u as nh,v as ih,o as sh}from"./firebase-B1SDSE0L.js";import{s as Mi,a as ah,b as ch,c as lh,t as dh,T as uh,C as fh,P as ph}from"./primevue-9Ou1e4kv.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 ds(e,t={},r){for(const o in e){const n=e[o],i=r?`${r}:${o}`:o;typeof n=="object"&&n!==null?ds(n,t,i):typeof n=="function"&&(t[i]=n)}return t}const Dd=(()=>{if(console.createTask)return console.createTask;const e={run:t=>t()};return()=>e})();function Fd(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(()=>Fd(e,t,n+1,o))}catch(i){return Promise.reject(i)}}function mh(e,t,r){if(e.length>0)return Fd(e,t,0,Dd(r))}function hh(e,t,r){if(e.length>0){const o=Dd(r);return Promise.all(e.map(n=>o.run(()=>n(...t))))}}function $i(e,t){for(const r of[...e])r(t)}var gh=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=ds(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=ds(e);for(const r in t)this.removeHook(r,t[r])}removeAllHooks(){this._hooks={}}callHook(e,...t){return this.callHookWith(mh,e,t)}callHookParallel(e,...t){return this.callHookWith(hh,e,t)}callHookWith(e,t,r){const o=this._before||this._after?{name:t,args:r,context:{}}:void 0;this._before&&$i(this._before,o);const n=e(this._hooks[t]?[...this._hooks[t]]:[],r,t);return n instanceof Promise?n.finally(()=>{this._after&&o&&$i(this._after,o)}):(this._after&&o&&$i(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 bh(){return new gh}const yh=new Set(["link","style","script","noscript"]),vh=new Set(["title","titleTemplate","script","style","noscript"]),kc=new Set(["base","meta","link","style","script","noscript"]),kh=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),_h=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),Sh=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),wh=new Set(["templateParams","htmlAttrs","bodyAttrs"]),Eh=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]),Ch=["name","property","http-equiv"],xh=new Set(["viewport","description","keywords","robots"]);function jd(e){const t=e.split(":");return t.length?Eh.has(t[1]):!1}function us(e){const{props:t,tag:r}=e;if(_h.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 Ch)if(t[o]!==void 0){const n=t[o],i=n&&typeof n=="string"&&n.includes(":"),s=n&&xh.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(vh.has(r)){const o=e.textContent||e.innerHTML;if(o)return`${r}:content:${o}`}}function _c(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 jn(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=>jn(i,t));if(n?.constructor===Object){const i={};for(const s of Object.keys(n))i[s]=jn(n[s],t,s);return i}return n}function Th(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 Hd(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]=Th(r,o);return}if(Sh.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 Rh(e,t){const r=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},o=Hd({tag:e,props:{}},r);return o.key&&yh.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 Ih(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=jn(e,r),Object.entries(e||{}).forEach(([n,i])=>{if(i!==void 0)for(const s of Array.isArray(i)?i:[i])o.push(Rh(n,s))}),o.flat()}const Sc=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,wc={base:-10,title:10},Bh={critical:-8,high:-1,low:2},Ec={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}},Ah=/@import/,go=e=>e===""||e===!0;function Mh(e,t){if(typeof t.tagPriority=="number")return t.tagPriority;let r=100;const o=Bh[t.tagPriority]||0,n=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:Ec;if(t.tag in wc)r=wc[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=Ec.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);go(t.props.async)?r=n.script.async:t.props.src&&!go(t.props.defer)&&!go(t.props.async)&&i!=="module"&&!i.endsWith("json")||t.innerHTML&&!i.endsWith("json")?r=n.script.sync:(go(t.props.defer)&&t.props.src&&!go(t.props.async)||i==="module")&&(r=n.script.defer)}else t.tag==="style"&&(r=t.innerHTML&&Ah.test(t.innerHTML)?n.style.imported:n.style.sync);return(r||100)+o}function Cc(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 $h(e={}){const t=bh();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=>Cc(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:Ih(p.input,e.propResolvers||[]).map(h=>Object.assign(h,p.options)),entry:p};await t.callHook("entries:normalize",f),p._tags=f.tags.map((h,g)=>(h._w=Mh(s,h),h._p=(p._i<<10)+g,h._d=us(h),h))}}let c=!1;a.entries.flatMap(m=>(m._tags||[]).map(p=>({...p,props:{...p.props}}))).sort(Sc).reduce((m,p)=>{const f=String(p._d||p._p);if(!m.has(f))return m.set(f,p);const h=m.get(f);if((p?.tagDuplicateStrategy||(wh.has(p.tag)?"merge":null)||(p.key&&p.key===h.key?"merge":null))==="merge"){const b={...h.props};Object.entries(p.props).forEach(([_,S])=>b[_]=_==="style"?new Map([...h.props.style||new Map,...S]):_==="class"?new Set([...h.props.class||new Set,...S]):S),m.set(f,{...p,props:b})}else p._p>>10===h._p>>10&&p.tag==="meta"&&jd(f)?(m.set(f,Object.assign([...Array.isArray(h)?h:[h],p],p)),c=!0):(p._w===h._w?p._p>h._p:p?._w<h?._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(Sc)),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:h}=m;if(kh.has(f)&&!(Object.keys(h).length===0&&!m.innerHTML&&!m.textContent)&&!(f==="meta"&&!h.content&&!h["http-equiv"]&&!h.charset)){if(f==="script"&&p){if(String(h.type).endsWith("json")){const g=typeof p=="string"?p:JSON.stringify(p);m.innerHTML=g.replace(/</g,"\\u003C")}else typeof p=="string"&&(m.innerHTML=p.replace(new RegExp(`</${f}`,"g"),`<\\/${f}`));m._d=us(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=>Cc(s,a)),s.hooks.callHook("init",s),e.init?.forEach(a=>a&&s.push(a)),s}async function Ud(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(h=>{const g=i.get(h._d)||0,b={tag:h,id:(g?`${h._d}:${g}`:h._d)||_c(h),shouldRender:!0};return h._d&&jd(h._d)&&i.set(h._d,g+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 h of f){const g=h.tagName.toLowerCase();if(!kc.has(g))continue;const b=Hd({tag:g,props:{}},{innerHTML:h.innerHTML,...h.getAttributeNames().reduce((_,S)=>(_[S]=h.getAttribute(S),_),{})||{}});if(b.key=h.getAttribute("data-hid")||void 0,b._d=us(b)||_c(b),a.elMap.has(b._d)){let _=1,S=b._d;for(;a.elMap.has(S);)S=`${b._d}:${_++}`;a.elMap.set(S,h)}else a.elMap.set(b._d,h)}}}a.pendingSideEffects={...a.sideEffects},a.sideEffects={};function c(p,f,h){const g=`${p}:${f}`;a.sideEffects[g]=h,delete a.pendingSideEffects[g]}function l({id:p,$el:f,tag:h}){const g=h.tag.endsWith("Attrs");a.elMap.set(p,f),g||(h.textContent&&h.textContent!==f.textContent&&(f.textContent=h.textContent),h.innerHTML&&h.innerHTML!==f.innerHTML&&(f.innerHTML=h.innerHTML),c(p,"el",()=>{f?.remove(),a.elMap.delete(p)}));for(const b in h.props){if(!Object.prototype.hasOwnProperty.call(h.props,b))continue;const _=h.props[b];if(b.startsWith("on")&&typeof _=="function"){const w=f?.dataset;if(w&&w[`${b}fired`]){const I=b.slice(0,-5);_.call(f,new Event(I.substring(2)))}f.getAttribute(`data-${b}`)!==""&&((h.tag==="bodyAttrs"?r.defaultView:f).addEventListener(b.substring(2),_.bind(f)),f.setAttribute(`data-${b}`,""));continue}const S=`attr:${b}`;if(b==="class"){if(!_)continue;for(const w of _)g&&c(p,`${S}:${w}`,()=>f.classList.remove(w)),!f.classList.contains(w)&&f.classList.add(w)}else if(b==="style"){if(!_)continue;for(const[w,I]of _)c(p,`${S}:${w}`,()=>{f.style.removeProperty(w)}),f.style.setProperty(w,I)}else _!==!1&&_!==null&&(f.getAttribute(b)!==_&&f.setAttribute(b,_===!0?"":String(_)),g&&c(p,S,()=>f.removeAttribute(b)))}}const d=[],u={bodyClose:void 0,bodyOpen:void 0,head:void 0},m=await s;for(const p of m){const{tag:f,shouldRender:h,id:g}=p;if(h){if(f.tag==="title"){r.title=f.textContent,c("title","",()=>r.title=a.title);continue}p.$el=p.$el||a.elMap.get(g),p.$el?l(p):kc.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 Oh(e={}){const t=e.domOptions?.render||Ud;e.document=e.document||(typeof window<"u"?document:void 0);const r=e.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return $h({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[r?JSON.parse(r):!1,...e.init||[]]})}function Lh(e,t){let r=0;return()=>{const o=++r;t(()=>{r===o&&e()})}}const Nh=(e,t)=>Am(t)?Bm(t):t,zd="usehead";function Ph(e){return{install(r){r.config.globalProperties.$unhead=e,r.config.globalProperties.$head=e,r.provide(zd,e)}}.install}function Dh(){if(Mm()){const e=$m(zd);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 KN(e,t={}){const r=t.head||Dh();return r.ssr?r.push(e||{},t):Fh(r,e,t)}function Fh(e,t,r={}){const o=vt(!1);let n;return Om(()=>{const s=o.value?{}:jn(t,Nh);n?n.patch(s):n=e.push(s,r)}),Dm()&&(Lm(()=>{n.dispose()}),Nm(()=>{o.value=!0}),Pm(()=>{o.value=!1})),n}function jh(e={}){const t=Oh({domOptions:{render:Lh(()=>Ud(t),r=>setTimeout(r,0))},...e});return t.install=Ph(t),t}const Hh="modulepreload",Uh=function(e){return"/"+e},xc={},Se=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=Uh(l),l in xc)return;xc[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":Hh,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 zh(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 Se(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,pr="10.34.0";function xr(){return li(ee),ee}function li(e){const t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||pr,t[pr]=t[pr]||{}}function ro(e,t,r=ee){const o=r.__SENTRY__=r.__SENTRY__||{},n=o[pr]=o[pr]||{};return n[e]||(n[e]=t())}const Wh=["debug","info","warn","error","log","assert","trace"],qh="Sentry Logger ",Hn={};function Ut(e){if(!("console"in ee))return e();const t=ee.console,r={},o=Object.keys(Hn);o.forEach(n=>{const i=Hn[n];r[n]=t[n],t[n]=i});try{return e()}finally{o.forEach(n=>{t[n]=r[n]})}}function Vh(){oa().enabled=!0}function Yh(){oa().enabled=!1}function Wd(){return oa().enabled}function Gh(...e){ra("log",...e)}function Kh(...e){ra("warn",...e)}function Xh(...e){ra("error",...e)}function ra(e,...t){N&&Wd()&&Ut(()=>{ee.console[e](`${qh}[${e}]:`,...t)})}function oa(){return N?ro("loggerSettings",()=>({enabled:!1})):{enabled:!1}}const x={enable:Vh,disable:Yh,isEnabled:Wd,log:Gh,warn:Kh,error:Xh},qd=50,_r="?",Tc=/\(error: (.*)\)/,Rc=/captureMessage|captureException/;function Vd(...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=Tc.test(c)?c.replace(Tc,"$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 Qh(i.slice(n))}}function Jh(e){return Array.isArray(e)?Vd(...e):e}function Qh(e){if(!e.length)return[];const t=Array.from(e);return/sentryWrapped/.test(cn(t).function||"")&&t.pop(),t.reverse(),Rc.test(cn(t).function||"")&&(t.pop(),Rc.test(cn(t).function||"")&&t.pop()),t.slice(0,qd).map(r=>({...r,filename:r.filename||cn(t).filename,function:r.function||_r}))}function cn(e){return e[e.length-1]||{}}const Oi="<anonymous>";function Nt(e){try{return!e||typeof e!="function"?Oi:e.name||Oi}catch{return Oi}}function Ic(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 Yd(e){return"__v_isVNode"in e&&e.__v_isVNode?"[VueVNode]":"[VueViewModel]"}const wn={},Bc={};function rr(e,t){wn[e]=wn[e]||[],wn[e].push(t)}function or(e,t){if(!Bc[e]){Bc[e]=!0;try{t()}catch(r){N&&x.error(`Error while instrumenting ${e}`,r)}}}function at(e,t){const r=e&&wn[e];if(r)for(const o of r)try{o(t)}catch(n){N&&x.error(`Error while triggering instrumentation handler.
Type: ${e}
Name: ${Nt(o)}
Error:`,n)}}let Li=null;function Gd(e){const t="error";rr(t,e),or(t,Zh)}function Zh(){Li=ee.onerror,ee.onerror=function(e,t,r,o,n){return at("error",{column:o,error:n,line:r,msg:e,url:t}),Li?Li.apply(this,arguments):!1},ee.onerror.__SENTRY_INSTRUMENTED__=!0}let Ni=null;function Kd(e){const t="unhandledrejection";rr(t,e),or(t,eg)}function eg(){Ni=ee.onunhandledrejection,ee.onunhandledrejection=function(e){return at("unhandledrejection",e),Ni?Ni.apply(this,arguments):!0},ee.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}const Xd=Object.prototype.toString;function di(e){switch(Xd.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return Pt(e,Error)}}function oo(e,t){return Xd.call(e)===`[object ${t}]`}function Jd(e){return oo(e,"ErrorEvent")}function Ac(e){return oo(e,"DOMError")}function tg(e){return oo(e,"DOMException")}function Mt(e){return oo(e,"String")}function na(e){return typeof e=="object"&&e!==null&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function qr(e){return e===null||na(e)||typeof e!="object"&&typeof e!="function"}function Ro(e){return oo(e,"Object")}function ui(e){return typeof Event<"u"&&Pt(e,Event)}function rg(e){return typeof Element<"u"&&Pt(e,Element)}function og(e){return oo(e,"RegExp")}function no(e){return!!(e?.then&&typeof e.then=="function")}function ng(e){return Ro(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function Pt(e,t){try{return e instanceof t}catch{return!1}}function Qd(e){return!!(typeof e=="object"&&e!==null&&(e.__isVue||e._isVue||e.__v_isVNode))}function ia(e){return typeof Request<"u"&&Pt(e,Request)}const sa=ee,ig=80;function Ze(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||ig;for(;r&&i++<o&&(l=sg(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 sg(e,t){const r=e,o=[];if(!r?.tagName)return"";if(sa.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&&Mt(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 sa.document.location.href}catch{return""}}function Zd(e){if(!sa.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"&&eu(n,o);try{e[t]=n}catch{N&&x.log(`Failed to replace method "${t}" in object`,e)}}function et(e,t,r){try{Object.defineProperty(e,t,{value:r,writable:!0,configurable:!0})}catch{N&&x.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function eu(e,t){try{const r=t.prototype||{};e.prototype=t.prototype=r,et(e,"__sentry_original__",t)}catch{}}function aa(e){return e.__sentry_original__}function tu(e){if(di(e))return{message:e.message,name:e.name,stack:e.stack,...$c(e)};if(ui(e)){const t={type:e.type,target:Mc(e.target),currentTarget:Mc(e.currentTarget),...$c(e)};return typeof CustomEvent<"u"&&Pt(e,CustomEvent)&&(t.detail=e.detail),t}else return e}function Mc(e){try{return rg(e)?Ze(e):Object.prototype.toString.call(e)}catch{return"<unknown>"}}function $c(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 ag(e){const t=Object.keys(tu(e));return t.sort(),t[0]?t.join(", "):"[object has no keys]"}let Br;function Ho(e){if(Br!==void 0)return Br?Br(e):e();const t=Symbol.for("__SENTRY_SAFE_RANDOM_ID_WRAPPER__"),r=ee;return t in r&&typeof r[t]=="function"?(Br=r[t],Br(e)):(Br=null,e())}function Gt(){return Ho(()=>Math.random())}function Uo(){return Ho(()=>Date.now())}function fs(e,t=0){return typeof e!="string"||t===0||e.length<=t?e:`${e.slice(0,t)}...`}function Oc(e,t){if(!Array.isArray(e))return"";const r=[];for(let o=0;o<e.length;o++){const n=e[o];try{Qd(n)?r.push(Yd(n)):r.push(String(n))}catch{r.push("[value cannot be serialized]")}}return r.join(t)}function En(e,t,r=!1){return Mt(e)?og(t)?t.test(e):Mt(t)?r?e===t:e.includes(t):!1:!1}function $t(e,t=[],r=!1){return t.some(o=>En(e,o,r))}function cg(){const e=ee;return e.crypto||e.msCrypto}let Pi;function lg(){return Gt()*16}function nt(e=cg()){try{if(e?.randomUUID)return Ho(()=>e.randomUUID()).replace(/-/g,"")}catch{}return Pi||(Pi="10000000100040008000"+1e11),Pi.replace(/[018]/g,t=>(t^(lg()&15)>>t/4).toString(16))}function ru(e){return e.exception?.values?.[0]}function lr(e){const{message:t,event_id:r}=e;if(t)return t;const o=ru(e);return o?o.type&&o.value?`${o.type}: ${o.value}`:o.type||o.value||r||"<unknown>":r||"<unknown>"}function ps(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=ru(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 Lc(e){if(dg(e))return!0;try{et(e,"__sentry_captured__",!0)}catch{}return!1}function dg(e){try{return e.__sentry_captured__}catch{}}const ou=1e3;function Tr(){return Uo()/ou}function ug(){const{performance:e}=ee;if(!e?.now||!e.timeOrigin)return Tr;const t=e.timeOrigin;return()=>(t+Ho(()=>e.now()))/ou}let Nc;function Ie(){return(Nc??(Nc=ug()))()}let Di=null;function fg(){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 Di===null&&(Di=fg()),Di}function pg(e){const t=Ie(),r={sid:nt(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>hg(r)};return e&&Yr(r,e),r}function Yr(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),!e.did&&!t.did&&(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||Ie(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=t.sid.length===32?t.sid:nt()),t.init!==void 0&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),typeof t.started=="number"&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if(typeof t.duration=="number")e.duration=t.duration;else{const r=e.timestamp-e.started;e.duration=r>=0?r:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),typeof t.errors=="number"&&(e.errors=t.errors),t.status&&(e.status=t.status)}function mg(e,t){let r={};e.status==="ok"&&(r={status:"exited"}),Yr(e,r)}function hg(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 Dt(){return nt()}function Ot(){return nt().substring(16)}const ms="_sentrySpan";function Gr(e,t){t?et(e,ms,t):delete e[ms]}function Un(e){return e[ms]}const gg=100;class Ct{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:Dt(),sampleRand:Gt()}}clone(){const t=new Ct;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,Un(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 Ct?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:Dt(),sampleRand:Gt()}),this._notifyScopeListeners(),this}addBreadcrumb(t,r){const o=typeof r=="number"?r:gg;if(o<=0)return this;const n={timestamp:Tr(),...t,message:t.message?fs(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:Un(this)}}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata=zo(this._sdkProcessingMetadata,t,2),this}setPropagationContext(t){return this._propagationContext=t,this}getPropagationContext(){return this._propagationContext}captureException(t,r){const o=r?.event_id||nt();if(!this._client)return N&&x.warn("No client configured on scope - will not capture exception!"),o;const n=new Error("Sentry syntheticException");return this._client.captureException(t,{originalException:t,syntheticException:n,...r,event_id:o},this),o}captureMessage(t,r,o){const n=o?.event_id||nt();if(!this._client)return N&&x.warn("No client configured on scope - will not capture message!"),n;const i=o?.syntheticException??new Error(t);return this._client.captureMessage(t,r,{originalException:t,syntheticException:i,...o,event_id:n},this),n}captureEvent(t,r){const o=r?.event_id||nt();return this._client?(this._client.captureEvent(t,{...r,event_id:o},this),o):(N&&x.warn("No client configured on scope - will not capture event!"),o)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(t=>{t(this)}),this._notifyingListeners=!1)}}function bg(){return ro("defaultCurrentScope",()=>new Ct)}function yg(){return ro("defaultIsolationScope",()=>new Ct)}class vg{constructor(t,r){let o;t?o=t:o=new Ct;let n;r?n=r:n=new Ct,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=xr(),t=li(e);return t.stack=t.stack||new vg(bg(),yg())}function kg(e){return Kr().withScope(e)}function _g(e,t){const r=Kr();return r.withScope(()=>(r.getStackTop().scope=e,t(e)))}function Pc(e){return Kr().withScope(()=>e(Kr().getIsolationScope()))}function Sg(){return{withIsolationScope:Pc,withScope:kg,withSetScope:_g,withSetIsolationScope:(e,t)=>Pc(t),getCurrentScope:()=>Kr().getScope(),getIsolationScope:()=>Kr().getIsolationScope()}}function so(e){const t=li(e);return t.acs?t.acs:Sg()}function fe(){const e=xr();return so(e).getCurrentScope()}function xt(){const e=xr();return so(e).getIsolationScope()}function wg(){return ro("globalScope",()=>new Ct)}function fi(...e){const t=xr(),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 Eg(e){const t=e.getPropagationContext(),{traceId:r,parentSpanId:o,propagationSpanId:n}=t,i={trace_id:r,span_id:n||Ot()};return o&&(i.parent_span_id=o),i}const Xe="sentry.source",ca="sentry.sample_rate",nu="sentry.previous_trace_sample_rate",Ft="sentry.op",Ee="sentry.origin",Io="sentry.idle_span_finish_reason",Wo="sentry.measurement_unit",qo="sentry.measurement_value",Dc="sentry.custom_span_name",la="sentry.profile_id",ao="sentry.exclusive_time",Cg="sentry.link.type",xg=0,da=1,Le=2;function Tg(e){if(e<400&&e>=100)return{code:da};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 iu(e,t){e.setAttribute("http.response.status_code",t);const r=Tg(t);r.message!=="unknown_error"&&e.setStatus(r)}const su="_sentryScope",au="_sentryIsolationScope";function Rg(e){try{const t=ee.WeakRef;if(typeof t=="function")return new t(e)}catch{}return e}function Ig(e){if(e){if(typeof e=="object"&&"deref"in e&&typeof e.deref=="function")try{return e.deref()}catch{return}return e}}function Bg(e,t,r){e&&(et(e,au,Rg(r)),et(e,su,t))}function zn(e){const t=e;return{scope:t[su],isolationScope:Ig(t[au])}}const ua="sentry-",Ag=/^sentry-/,Mg=8192;function cu(e){const t=Og(e);if(!t)return;const r=Object.entries(t).reduce((o,[n,i])=>{if(n.match(Ag)){const s=n.slice(ua.length);o[s]=i}return o},{});if(Object.keys(r).length>0)return r}function $g(e){if(!e)return;const t=Object.entries(e).reduce((r,[o,n])=>(n&&(r[`${ua}${o}`]=n),r),{});return Lg(t)}function Og(e){if(!(!e||!Mt(e)&&!Array.isArray(e)))return Array.isArray(e)?e.reduce((t,r)=>{const o=Fc(r);return Object.entries(o).forEach(([n,i])=>{t[n]=i}),t},{}):Fc(e)}function Fc(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 Lg(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>Mg?(N&&x.warn(`Not adding key: ${r} with val: ${o} to baggage header due to exceeding baggage size limits.`),t):s},"")}const Ng=/^o(\d+)\./,Pg=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)((?:\[[:.%\w]+\]|[\w.-]+))(?::(\d+))?\/(.+)/;function Dg(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 Fg(e){const t=Pg.exec(e);if(!t){Ut(()=>{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 lu({host:i,pass:n,path:c,projectId:l,port:s,protocol:r,publicKey:o})}function lu(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function jg(e){if(!N)return!0;const{port:t,projectId:r,protocol:o}=e;return["protocol","publicKey","host","projectId"].find(s=>e[s]?!1:(x.error(`Invalid Sentry Dsn: ${s} missing`),!0))?!1:r.match(/^\d+$/)?Dg(o)?t&&isNaN(parseInt(t,10))?(x.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):!0:(x.error(`Invalid Sentry Dsn: Invalid protocol ${o}`),!1):(x.error(`Invalid Sentry Dsn: Invalid projectId ${r}`),!1)}function Hg(e){return e.match(Ng)?.[1]}function Ug(e){const t=e.getOptions(),{host:r}=e.getDsn()||{};let o;return t.orgId?o=String(t.orgId):r&&(o=Hg(r)),o}function zg(e){const t=typeof e=="string"?Fg(e):lu(e);if(!(!t||!jg(t)))return t}function Sr(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 du=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function Wg(e){if(!e)return;const t=e.match(du);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 qg(e,t){const r=Wg(e),o=cu(t);if(!r?.traceId)return{traceId:Dt(),sampleRand:Gt()};const n=Vg(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 uu(e=Dt(),t=Ot(),r){let o="";return r!==void 0&&(o=r?"-1":"-0"),`${e}-${t}${o}`}function fu(e=Dt(),t=Ot(),r){return`00-${e}-${t}-${r?"01":"00"}`}function Vg(e,t){const r=Sr(t?.sample_rand);if(r!==void 0)return r;const o=Sr(t?.sample_rate);return o&&e?.parentSampled!==void 0?e.parentSampled?Gt()*o:o+Gt()*(1-o):Gt()}const pu=0,fa=1;let jc=!1;function Yg(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 Gg(e){const{spanId:t,traceId:r,isRemote:o}=e.spanContext(),n=o?t:oe(e).parent_span_id,i=zn(e).scope,s=o?i?.getPropagationContext().propagationSpanId||Ot():t;return{parent_span_id:n,span_id:s,trace_id:r}}function Kg(e){const{traceId:t,spanId:r}=e.spanContext(),o=nr(e);return uu(t,r,o)}function Xg(e){const{traceId:t,spanId:r}=e.spanContext(),o=nr(e);return fu(t,r,o)}function mu(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===fa,attributes:i,...n}))}function mr(e){return typeof e=="number"?Hc(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?Hc(e.getTime()):Ie()}function Hc(e){return e>9999999999?e/1e3:e}function oe(e){if(Qg(e))return e.getSpanJSON();const{spanId:t,traceId:r}=e.spanContext();if(Jg(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:mr(n),timestamp:mr(s)||void 0,status:hu(a),op:o[Ft],origin:o[Ee],links:mu(c)}}return{span_id:t,trace_id:r,start_timestamp:0,data:{}}}function Jg(e){const t=e;return!!t.attributes&&!!t.startTime&&!!t.name&&!!t.endTime&&!!t.status}function Qg(e){return typeof e.getSpanJSON=="function"}function nr(e){const{traceFlags:t}=e.spanContext();return t===fa}function hu(e){if(!(!e||e.code===xg))return e.code===da?"ok":e.message||"internal_error"}const hr="_sentryChildSpans",hs="_sentryRootSpan";function gu(e,t){const r=e[hs]||e;et(t,hs,r),e[hr]?e[hr].add(t):et(e,hr,new Set([t]))}function Zg(e,t){e[hr]&&e[hr].delete(t)}function Cn(e){const t=new Set;function r(o){if(!t.has(o)&&nr(o)){t.add(o);const n=o[hr]?Array.from(o[hr]):[];for(const i of n)r(i)}}return r(e),Array.from(t)}function Fe(e){return e[hs]||e}function je(){const e=xr(),t=so(e);return t.getActiveSpan?t.getActiveSpan():Un(fe())}function gs(){jc||(Ut(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly or use `ignoreSpans`.")}),jc=!0)}let Uc=!1;function e0(){if(Uc)return;function e(){const t=je(),r=t&&Fe(t);if(r){const o="internal_error";N&&x.log(`[Tracing] Root span: ${o} -> Global error occurred`),r.setStatus({code:Le,message:o})}}e.tag="sentry_tracingErrorCallback",Uc=!0,Gd(e),Kd(e)}function ct(e){if(typeof __SENTRY_TRACING__=="boolean"&&!__SENTRY_TRACING__)return!1;const t=e||te()?.getOptions();return!!t&&(t.tracesSampleRate!=null||!!t.tracesSampler)}function zc(e){x.log(`Ignoring span ${e.op} - ${e.description} because it matches \`ignoreSpans\`.`)}function Wn(e,t){if(!t?.length||!e.description)return!1;for(const r of t){if(r0(r)){if(En(e.description,r))return N&&zc(e),!0;continue}if(!r.name&&!r.op)continue;const o=r.name?En(e.description,r.name):!0,n=r.op?e.op&&En(e.op,r.op):!0;if(o&&n)return N&&zc(e),!0}return!1}function t0(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 r0(e){return typeof e=="string"||e instanceof RegExp}const pa="production",bu="_frozenDsc";function xn(e,t){et(e,bu,t)}function yu(e,t){const r=t.getOptions(),{publicKey:o}=t.getDsn()||{},n={environment:r.environment||pa,release:r.release,public_key:o,trace_id:e,org_id:Ug(t)};return t.emit("createDsc",n),n}function vu(e,t){const r=t.getPropagationContext();return r.dsc||yu(r.traceId,e)}function jt(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[ca]??n[nu];function a(f){return(typeof s=="number"||typeof s=="string")&&(f.sample_rate=`${s}`),f}const c=r[bu];if(c)return a(c);const l=i?.get("sentry.dsc"),d=l&&cu(l);if(d)return a(d);const u=yu(e.spanContext().traceId,t),m=n[Xe],p=o.description;return m!=="url"&&p&&(u.transaction=p),ct()&&(u.sampled=String(nr(r)),u.sample_rand=i?.get("sentry.sample_rand")??zn(r).scope?.getPropagationContext().sampleRand.toString()),a(u),t.emit("createDsc",u,r),u}class Qt{constructor(t={}){this._traceId=t.traceId||Dt(),this._spanId=t.spanId||Ot()}spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:pu}}end(t){}setAttribute(t,r){return this}setAttributes(t){return this}setStatus(t){return this}updateName(t){return this}isRecording(){return!1}addEvent(t,r,o){return this}addLink(t){return this}addLinks(t){return this}recordException(t,r){}}function ft(e,t=100,r=1/0){try{return bs("",e,t,r)}catch(o){return{ERROR:`**non-serializable** (${o})`}}}function ku(e,t=3,r=100*1024){const o=ft(e,t);return s0(o)>r?ku(e,t-1,r):o}function bs(e,t,r=1/0,o=1/0,n=a0()){const[i,s]=n;if(t==null||["boolean","string"].includes(typeof t)||typeof t=="number"&&Number.isFinite(t))return t;const a=o0(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 bs("",p,c-1,o,n)}catch{}const d=Array.isArray(t)?[]:{};let u=0;const m=tu(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]=bs(p,f,c-1,o,n),u++}return s(t),d}function o0(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(Qd(t))return Yd(t);if(ng(t))return"[SyntheticEvent]";if(typeof t=="number"&&!Number.isFinite(t))return`[${t}]`;if(typeof t=="function")return`[Function: ${Nt(t)}]`;if(typeof t=="symbol")return`[${String(t)}]`;if(typeof t=="bigint")return`[BigInt: ${String(t)}]`;const r=n0(t);return/^HTML(\w*)Element$/.test(r)?`[HTMLElement: ${r}]`:`[object ${r}]`}catch(r){return`**non-serializable** (${r})`}}function n0(e){const t=Object.getPrototypeOf(e);return t?.constructor?t.constructor.name:"null prototype"}function i0(e){return~-encodeURI(e).split(/%..|./).length}function s0(e){return i0(JSON.stringify(e))}function a0(){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 ir(e,t=[]){return[e,t]}function c0(e,t){const[r,o]=e;return[r,[...o,t]]}function ys(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 l0(e,t){return ys(e,(r,o)=>t.includes(o))}function vs(e){const t=li(ee);return t.encodePolyfill?t.encodePolyfill(e):new TextEncoder().encode(e)}function d0(e){const[t,r]=e;let o=JSON.stringify(t);function n(i){typeof o=="string"?o=typeof i=="string"?o+i:[vs(o),i]:o.push(typeof i=="string"?vs(i):i)}for(const i of r){const[s,a]=i;if(n(`
${JSON.stringify(s)}
`),typeof a=="string"||a instanceof Uint8Array)n(a);else{let c;try{c=JSON.stringify(a)}catch{c=JSON.stringify(ft(a))}n(c)}}return typeof o=="string"?o:u0(o)}function u0(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 f0(e){return[{type:"span"},e]}function p0(e){const t=typeof e.data=="string"?vs(e.data):e.data;return[{type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType},t]}const m0={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 Wc(e){return m0[e]}function ma(e){if(!e?.sdk)return;const{name:t,version:r}=e.sdk;return{name:t,version:r}}function _u(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 h0(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 g0(e,t,r,o){const n=ma(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 ir(i,[s])}function b0(e,t,r,o){const n=ma(r),i=e.type&&e.type!=="replay_event"?e.type:"event";h0(e,r?.sdk);const s=_u(e,n,o,t);return delete e.sdkProcessingMetadata,ir(s,[[{type:i},e]])}function y0(e,t){function r(p){return!!p.trace_id&&!!p.public_key}const o=jt(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=>!Wn(oe(p),c)):e,d=e.length-l.length;d&&t?.recordDroppedEvent("before_send","span",d);const u=a?p=>{const f=oe(p),h=a(f);return h||(gs(),f)}:oe,m=[];for(const p of l){const f=u(p);f&&m.push(f0(f))}return ir(s,m)}function v0(e){if(!N)return;const{description:t="< unknown name >",op:r="< unknown op >",parent_span_id:o}=oe(e),{spanId:n}=e.spanContext(),i=nr(e),s=Fe(e),a=s===e,c=`[Tracing] Starting ${i?"sampled":"unsampled"} ${a?"root ":""}span`,l=[`op: ${r}`,`name: ${t}`,`ID: ${n}`];if(o&&l.push(`parent ID: ${o}`),!a){const{op:d,description:u}=oe(s);l.push(`root ID: ${s.spanContext().spanId}`),d&&l.push(`root op: ${d}`),u&&l.push(`root description: ${u}`)}x.log(`${c}
${l.join(`
`)}`)}function k0(e){if(!N)return;const{description:t="< unknown name >",op:r="< unknown op >"}=oe(e),{spanId:o}=e.spanContext(),i=Fe(e)===e,s=`[Tracing] Finishing "${r}" ${i?"root ":""}span "${t}" with ID ${o}`;x.log(s)}function _0(e,t,r,o=je()){const n=o&&Fe(o);n&&(N&&x.log(`[Measurement] Setting measurement on root span: ${e} = ${t} ${r}`),n.addEvent(e,{[qo]:t,[Wo]:r}))}function qc(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 Vc=1e3;class pi{constructor(t={}){this._traceId=t.traceId||Dt(),this._spanId=t.spanId||Ot(),this._startTime=t.startTimestamp||Ie(),this._links=t.links,this._attributes={},this.setAttributes({[Ee]:"manual",[Ft]: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?fa:pu}}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=mr(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=mr(t),k0(this),this._onSpanEnded())}getSpanJSON(){return{data:this._attributes,description:this._name,op:this._attributes[Ft],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:hu(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[Ee],profile_id:this._attributes[la],exclusive_time:this._attributes[ao],measurements:qc(this._events),is_segment:this._isStandaloneSpan&&Fe(this)===this||void 0,segment_id:this._isStandaloneSpan?Fe(this).spanContext().spanId:void 0,links:mu(this._links)}}isRecording(){return!this._endTime&&!!this._sampled}addEvent(t,r,o){N&&x.log("[Tracing] Adding an event to span:",t);const n=Yc(r)?r:o||Ie(),i=Yc(r)?{}:r||{},s={name:t,time:mr(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?w0(y0([this],t)):(N&&x.log("[Tracing] Discarding standalone span because its trace was not chosen to be sampled."),t&&t.recordDroppedEvent("sample_rate","span"));return}const o=this._convertSpanToTransaction();o&&(zn(this).scope||fe()).captureEvent(o)}_convertSpanToTransaction(){if(!Gc(oe(this)))return;this._name||(N&&x.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>");const{scope:t,isolationScope:r}=zn(this),o=t?.getScopeData().sdkProcessingMetadata?.normalizedRequest;if(this._sampled!==!0)return;const i=Cn(this).filter(d=>d!==this&&!S0(d)).map(d=>oe(d)).filter(Gc),s=this._attributes[Xe];delete this._attributes[Dc],i.forEach(d=>{delete d.data[Dc]});const a={contexts:{trace:Yg(this)},spans:i.length>Vc?i.sort((d,u)=>d.start_timestamp-u.start_timestamp).slice(0,Vc):i,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{capturedSpanScope:t,capturedSpanIsolationScope:r,dynamicSamplingContext:jt(this)},request:o,...s&&{transaction_info:{source:s}}},c=qc(this._events);return c&&Object.keys(c).length&&(N&&x.log("[Measurements] Adding measurements to transaction event",JSON.stringify(c,void 0,2)),a.measurements=c),a}}function Yc(e){return e&&typeof e=="number"||e instanceof Date||Array.isArray(e)}function Gc(e){return!!e.start_timestamp&&!!e.timestamp&&!!e.span_id&&!!e.trace_id}function S0(e){return e instanceof pi&&e.isStandaloneSpan()}function w0(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 E0(e,t,r=()=>{},o=()=>{}){let n;try{n=e()}catch(i){throw t(i),r(),i}return C0(n,t,r,o)}function C0(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 x0(e,t,r){if(!ct(e))return[!1];let o,n;typeof e.tracesSampler=="function"?(n=e.tracesSampler({...t,inheritOrSampleWith:a=>typeof t.parentSampleRate=="number"?t.parentSampleRate:typeof t.parentSampled=="boolean"?Number(t.parentSampled):a}),o=!0):t.parentSampled!==void 0?n=t.parentSampled:typeof e.tracesSampleRate<"u"&&(n=e.tracesSampleRate,o=!0);const i=Sr(n);if(i===void 0)return N&&x.warn(`[Tracing] Discarding root span because of invalid sample rate. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(n)} of type ${JSON.stringify(typeof n)}.`),[!1];if(!i)return N&&x.log(`[Tracing] Discarding transaction because ${typeof e.tracesSampler=="function"?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0"}`),[!1,i,o];const s=r<i;return s||N&&x.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(n)})`),[s,i,o]}const Su="__SENTRY_SUPPRESS_TRACING__";function T0(e,t){const r=ga();if(r.startSpan)return r.startSpan(e,t);const o=Eu(e),{forceTransaction:n,parentSpan:i,scope:s}=e,a=s?.clone();return fi(a,()=>I0(i)(()=>{const l=fe(),d=Cu(l,i),m=e.onlyIfParent&&!d?new Qt:wu({parentSpan:d,spanArguments:o,forceTransaction:n,scope:l});return Gr(l,m),E0(()=>t(m),()=>{const{status:p}=oe(m);m.isRecording()&&(!p||p==="ok")&&m.setStatus({code:Le,message:"internal_error"})},()=>{m.end()})}))}function Zt(e){const t=ga();if(t.startInactiveSpan)return t.startInactiveSpan(e);const r=Eu(e),{forceTransaction:o,parentSpan:n}=e;return(e.scope?s=>fi(e.scope,s):n!==void 0?s=>ha(n,s):s=>s())(()=>{const s=fe(),a=Cu(s,n);return e.onlyIfParent&&!a?new Qt:wu({parentSpan:a,spanArguments:r,forceTransaction:o,scope:s})})}function ha(e,t){const r=ga();return r.withActiveSpan?r.withActiveSpan(e,t):fi(o=>(Gr(o,e||void 0),t(o)))}function wu({parentSpan:e,spanArguments:t,forceTransaction:r,scope:o}){if(!ct()){const s=new Qt;if(r||!e){const a={sampled:"false",sample_rate:"0",transaction:t.name,...jt(s)};xn(s,a)}return s}const n=xt();let i;if(e&&!r)i=R0(e,o,t),gu(e,i);else if(e){const s=jt(e),{traceId:a,spanId:c}=e.spanContext(),l=nr(e);i=Kc({traceId:a,parentSpanId:c,...t},o,l),xn(i,s)}else{const{traceId:s,dsc:a,parentSpanId:c,sampled:l}={...n.getPropagationContext(),...o.getPropagationContext()};i=Kc({traceId:s,parentSpanId:c,...t},o,l),a&&xn(i,a)}return v0(i),Bg(i,o,n),i}function Eu(e){const r={isStandalone:(e.experimental||{}).standalone,...e};if(e.startTime){const o={...r};return o.startTimestamp=mr(e.startTime),delete o.startTime,o}return r}function ga(){const e=xr();return so(e)}function Kc(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[Su]?[!1]:x0(n,{name:i,parentSampled:a,attributes:c,parentSampleRate:Sr(l.dsc?.sample_rate)},l.sampleRand),p=new pi({...e,attributes:{[Xe]:"custom",[ca]:u!==void 0&&m?u:void 0,...c},sampled:d});return!d&&o&&(N&&x.log("[Tracing] Discarding root span because its trace was not chosen to be sampled."),o.recordDroppedEvent("sample_rate","transaction")),o&&o.emit("spanStart",p),p}function R0(e,t,r){const{spanId:o,traceId:n}=e.spanContext(),i=t.getScopeData().sdkProcessingMetadata[Su]?!1:nr(e),s=i?new pi({...r,parentSpanId:o,traceId:n,sampled:i}):new Qt({traceId:n});gu(e,s);const a=te();return a&&(a.emit("spanStart",s),r.endTimestamp&&a.emit("spanEnd",s)),s}function Cu(e,t){if(t)return t;if(t===null)return;const r=Un(e);if(!r)return;const o=te();return(o?o.getOptions():{}).parentSpanIsAlwaysRootSpan?Fe(r):r}function I0(e){return e!==void 0?t=>ha(e,t):t=>t()}const Tn={idleTimeout:1e3,finalTimeout:3e4,childSpanTimeout:15e3},B0="heartbeatFailed",A0="idleTimeout",M0="finalTimeout",$0="externalFinish";function xu(e,t={}){const r=new Map;let o=!1,n,i=$0,s=!t.disableAutoFinish;const a=[],{idleTimeout:c=Tn.idleTimeout,finalTimeout:l=Tn.finalTimeout,childSpanTimeout:d=Tn.childSpanTimeout,beforeSpanEnd:u,trimIdleSpanEndTimestamp:m=!0}=t,p=te();if(!p||!ct()){const v=new Qt,R={sample_rate:"0",sampled:"false",...jt(v)};return xn(v,R),v}const f=fe(),h=je(),g=O0(e);g.end=new Proxy(g.end,{apply(v,R,J){if(u&&u(g),R instanceof Qt)return;const[T,...A]=J,D=T||Ie(),P=mr(D),L=Cn(g).filter($=>$!==g),Q=oe(g);if(!L.length||!m)return B(P),Reflect.apply(v,R,[P,...A]);const F=p.getOptions().ignoreSpans,U=L?.reduce(($,q)=>{const V=oe(q);return!V.timestamp||F&&Wn(V,F)?$:$?Math.max($,V.timestamp):V.timestamp},void 0),E=Q.start_timestamp,W=Math.min(E?E+l/1e3:1/0,Math.max(E||-1/0,Math.min(P,U||1/0)));return B(W),Reflect.apply(v,R,[W,...A])}});function b(){n&&(clearTimeout(n),n=void 0)}function _(v){b(),n=setTimeout(()=>{!o&&r.size===0&&s&&(i=A0,g.end(v))},c)}function S(v){n=setTimeout(()=>{!o&&s&&(i=B0,g.end(v))},d)}function w(v){b(),r.set(v,!0);const R=Ie();S(R+d/1e3)}function I(v){if(r.has(v)&&r.delete(v),r.size===0){const R=Ie();_(R+c/1e3)}}function B(v){o=!0,r.clear(),a.forEach(L=>L()),Gr(f,h);const R=oe(g),{start_timestamp:J}=R;if(!J)return;R.data[Io]||g.setAttribute(Io,i);const A=R.status;(!A||A==="unknown")&&g.setStatus({code:da}),x.log(`[Tracing] Idle span "${R.op}" finished`);const D=Cn(g).filter(L=>L!==g);let P=0;D.forEach(L=>{L.isRecording()&&(L.setStatus({code:Le,message:"cancelled"}),L.end(v),N&&x.log("[Tracing] Cancelling span since span ended early",JSON.stringify(L,void 0,2)));const Q=oe(L),{timestamp:F=0,start_timestamp:U=0}=Q,E=U<=v,W=(l+c)/1e3,$=F-U<=W;if(N){const q=JSON.stringify(L,void 0,2);E?$||x.log("[Tracing] Discarding span since it finished after idle span final timeout",q):x.log("[Tracing] Discarding span since it happened after idle span was finished",q)}(!$||!E)&&(Zg(g,L),P++)}),P>0&&g.setAttribute("sentry.idle_span_discarded_spans",P)}return a.push(p.on("spanStart",v=>{if(o||v===g||oe(v).timestamp||v instanceof pi&&v.isStandaloneSpan())return;Cn(g).includes(v)&&w(v.spanContext().spanId)})),a.push(p.on("spanEnd",v=>{o||I(v.spanContext().spanId)})),a.push(p.on("idleSpanEnableAutoFinish",v=>{v===g&&(s=!0,_(),r.size&&S())})),t.disableAutoFinish||_(),setTimeout(()=>{o||(g.setStatus({code:Le,message:"deadline_exceeded"}),i=M0,g.end())},l),g}function O0(e){const t=Zt(e);return Gr(fe(),t),N&&x.log("[Tracing] Started span is an idle span"),t}const Fi=0,Xc=1,Jc=2;function mi(e){return new Bo(t=>{t(e)})}function ba(e){return new Bo((t,r)=>{r(e)})}class Bo{constructor(t){this._state=Fi,this._handlers=[],this._runExecutor(t)}then(t,r){return new Bo((o,n)=>{this._handlers.push([!1,i=>{if(!t)o(i);else try{o(t(i))}catch(s){n(s)}},i=>{if(!r)n(i);else try{o(r(i))}catch(s){n(s)}}]),this._executeHandlers()})}catch(t){return this.then(r=>r,t)}finally(t){return new Bo((r,o)=>{let n,i;return this.then(s=>{i=!1,n=s,t&&t()},s=>{i=!0,n=s,t&&t()}).then(()=>{if(i){o(n);return}r(n)})})}_executeHandlers(){if(this._state===Fi)return;const t=this._handlers.slice();this._handlers=[],t.forEach(r=>{r[0]||(this._state===Xc&&r[1](this._value),this._state===Jc&&r[2](this._value),r[0]=!0)})}_runExecutor(t){const r=(i,s)=>{if(this._state===Fi){if(no(s)){s.then(o,n);return}this._state=i,this._value=s,this._executeHandlers()}},o=i=>{r(Xc,i)},n=i=>{r(Jc,i)};try{t(o,n)}catch(i){n(i)}}}function L0(e,t,r,o=0){try{const n=ks(t,r,e,o);return no(n)?n:mi(n)}catch(n){return ba(n)}}function ks(e,t,r,o){const n=r[o];if(!e||!n)return e;const i=n({...e},t);return N&&i===null&&x.log(`Event processor "${n.id||"?"}" dropped event`),no(i)?i.then(s=>ks(s,t,r,o+1)):ks(i,t,r,o+1)}let ar,Qc,Zc,Wt;function N0(e){const t=ee._sentryDebugIds,r=ee._debugIds;if(!t&&!r)return{};const o=t?Object.keys(t):[],n=r?Object.keys(r):[];if(Wt&&o.length===Qc&&n.length===Zc)return Wt;Qc=o.length,Zc=n.length,Wt={},ar||(ar={});const i=(s,a)=>{for(const c of s){const l=a[c],d=ar?.[c];if(d&&Wt&&l)Wt[d[0]]=l,ar&&(ar[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&&Wt&&ar){Wt[f]=l,ar[c]=[f,l];break}}}}};return t&&i(o,t),r&&i(n,r),Wt}function P0(e,t){const{fingerprint:r,span:o,breadcrumbs:n,sdkProcessingMetadata:i}=t;F0(e,t),o&&U0(e,o),z0(e,r),j0(e,n),H0(e,i)}function el(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:h}=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),h&&(e.span=h),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 D0(e,t){const r=wg().getScopeData();return e&&el(r,e.getScopeData()),t&&el(r,t.getScopeData()),r}function F0(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 j0(e,t){const r=[...e.breadcrumbs||[],...t];e.breadcrumbs=r.length?r:void 0}function H0(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}function U0(e,t){e.contexts={trace:Gg(t),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:jt(t),...e.sdkProcessingMetadata};const r=Fe(t),o=oe(r).description;o&&!e.transaction&&e.type==="transaction"&&(e.transaction=o)}function z0(e,t){e.fingerprint=e.fingerprint?Array.isArray(e.fingerprint)?e.fingerprint:[e.fingerprint]:[],t&&(e.fingerprint=e.fingerprint.concat(t)),e.fingerprint.length||delete e.fingerprint}function Tu(e,t,r,o,n,i){const{normalizeDepth:s=3,normalizeMaxBreadth:a=1e3}=e,c={...t,event_id:t.event_id||r.event_id||nt(),timestamp:t.timestamp||Tr()},l=r.integrations||e.integrations.map(g=>g.name);W0(c,e),Y0(c,l),n&&n.emit("applyFrameMetadata",t),t.type===void 0&&q0(c,e.stackParser);const d=K0(o,r.captureContext);r.mechanism&&Vr(c,r.mechanism);const u=n?n.getEventProcessors():[],m=D0(i,d),p=[...r.attachments||[],...m.attachments];p.length&&(r.attachments=p),P0(c,m);const f=[...u,...m.eventProcessors];return L0(f,c,r).then(g=>(g&&V0(g),typeof s=="number"&&s>0?G0(g,s,a):g))}function W0(e,t){const{environment:r,release:o,dist:n,maxValueLength:i}=t;e.environment=e.environment||r||pa,!e.release&&o&&(e.release=o),!e.dist&&n&&(e.dist=n);const s=e.request;s?.url&&i&&(s.url=fs(s.url,i)),i&&e.exception?.values?.forEach(a=>{a.value&&(a.value=fs(a.value,i))})}function q0(e,t){const r=N0(t);e.exception?.values?.forEach(o=>{o.stacktrace?.frames?.forEach(n=>{n.filename&&(n.debug_id=r[n.filename])})})}function V0(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 Y0(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}function G0(e,t,r){if(!e)return null;const o={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(n=>({...n,...n.data&&{data:ft(n.data,t,r)}}))},...e.user&&{user:ft(e.user,t,r)},...e.contexts&&{contexts:ft(e.contexts,t,r)},...e.extra&&{extra:ft(e.extra,t,r)}};return e.contexts?.trace&&o.contexts&&(o.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(o.contexts.trace.data=ft(e.contexts.trace.data,t,r))),e.spans&&(o.spans=e.spans.map(n=>({...n,...n.data&&{data:ft(n.data,t,r)}}))),e.contexts?.flags&&o.contexts&&(o.contexts.flags=ft(e.contexts.flags,3,r)),o}function K0(e,t){if(!t)return e;const r=e?e.clone():new Ct;return r.update(t),r}function X0(e){if(e)return J0(e)?{captureContext:e}:Z0(e)?{captureContext:e}:e}function J0(e){return e instanceof Ct||typeof e=="function"}const Q0=["user","level","extra","contexts","tags","fingerprint","propagationContext"];function Z0(e){return Object.keys(e).some(t=>Q0.includes(t))}function hi(e,t){return fe().captureException(e,X0(t))}function Ru(e,t){return fe().captureEvent(e,t)}function eb(e,t){xt().setContext(e,t)}function tb(){const e=te();return e?.getOptions().enabled!==!1&&!!e?.getTransport()}function rb(e){xt().addEventProcessor(e)}function tl(e){const t=xt(),r=fe(),{userAgent:o}=ee.navigator||{},n=pg({user:r.getUser()||t.getUser(),...o&&{userAgent:o},...e}),i=t.getSession();return i?.status==="ok"&&Yr(i,{status:"exited"}),Iu(),t.setSession(n),n}function Iu(){const e=xt(),r=fe().getSession()||e.getSession();r&&mg(r),Bu(),e.setSession()}function Bu(){const e=xt(),t=te(),r=e.getSession();r&&t&&t.captureSession(r)}function rl(e=!1){if(e){Iu();return}Bu()}const ob="7";function nb(e){const t=e.protocol?`${e.protocol}:`:"",r=e.port?`:${e.port}`:"";return`${t}//${e.host}${r}${e.path?`/${e.path}`:""}/api/`}function ib(e){return`${nb(e)}${e.projectId}/envelope/`}function sb(e,t){const r={sentry_version:ob};return e.publicKey&&(r.sentry_key=e.publicKey),t&&(r.sentry_client=`${t.name}/${t.version}`),new URLSearchParams(r).toString()}function ab(e,t,r){return t||`${ib(e)}?${sb(e,r)}`}const ol=[];function cb(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 lb(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 cb(o)}function db(e,t){const r={};return t.forEach(o=>{o&&Au(e,o,r)}),r}function nl(e,t){for(const r of t)r?.afterAllSetup&&r.afterAllSetup(e)}function Au(e,t,r){if(r[t.name]){N&&x.log(`Integration skipped because it was already installed: ${t.name}`);return}if(r[t.name]=t,!ol.includes(t.name)&&typeof t.setupOnce=="function"&&(t.setupOnce(),ol.push(t.name)),t.setup&&typeof t.setup=="function"&&t.setup(e),typeof t.preprocessEvent=="function"){const o=t.preprocessEvent.bind(t);e.on("preprocessEvent",(n,i)=>o(n,i,e))}if(typeof t.processEvent=="function"){const o=t.processEvent.bind(t),n=Object.assign((i,s)=>o(i,s,e),{id:t.name});e.addEventProcessor(n)}N&&x.log(`Integration installed: ${t.name}`)}function ub(e){return[{type:"log",item_count:e.length,content_type:"application/vnd.sentry.items.log+json"},{items:e}]}function fb(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)),ir(n,[ub(e)])}function Mu(e,t){const r=t??pb(e)??[];if(r.length===0)return;const o=e.getOptions(),n=fb(r,o._metadata,o.tunnel,e.getDsn());$u().set(e,[]),e.emit("flushLogs"),e.sendEnvelope(n)}function pb(e){return $u().get(e)}function $u(){return ro("clientToLogBufferMap",()=>new WeakMap)}function mb(e){return[{type:"trace_metric",item_count:e.length,content_type:"application/vnd.sentry.items.trace-metric+json"},{items:e}]}function hb(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)),ir(n,[mb(e)])}function Ou(e,t){const r=t??gb(e)??[];if(r.length===0)return;const o=e.getOptions(),n=hb(r,o._metadata,o.tunnel,e.getDsn());Lu().set(e,[]),e.emit("flushMetrics"),e.sendEnvelope(n)}function gb(e){return Lu().get(e)}function Lu(){return ro("clientToMetricBufferMap",()=>new WeakMap)}const ya=Symbol.for("SentryBufferFullError");function va(e=100){const t=new Set;function r(){return t.size<e}function o(s){t.delete(s)}function n(s){if(!r())return ba(ya);const a=s();return t.add(a),a.then(()=>o(a),()=>o(a)),a}function i(s){if(!t.size)return mi(!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 bb=60*1e3;function yb(e,t=Uo()){const r=parseInt(`${e}`,10);if(!isNaN(r))return r*1e3;const o=Date.parse(`${e}`);return isNaN(o)?bb:o-t}function vb(e,t){return e[t]||e.all||0}function Nu(e,t,r=Uo()){return vb(e,t)>r}function Pu(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+yb(s,o):t===429&&(n.all=o+60*1e3);return n}const Du=64;function kb(e,t,r=va(e.bufferSize||Du)){let o={};const n=s=>r.drain(s);function i(s){const a=[];if(ys(s,(u,m)=>{const p=Wc(m);Nu(o,p)?e.recordDroppedEvent("ratelimit_backoff",p):a.push(u)}),a.length===0)return Promise.resolve({});const c=ir(s[0],a),l=u=>{if(l0(c,["client_report"])){N&&x.warn(`Dropping client report. Will not send outcomes (reason: ${u}).`);return}ys(c,(m,p)=>{e.recordDroppedEvent(u,Wc(p))})},d=()=>t({body:d0(c)}).then(u=>(u.statusCode!==void 0&&(u.statusCode<200||u.statusCode>=300)&&N&&x.warn(`Sentry responded with status code ${u.statusCode} to sent event.`),o=Pu(o,u),u),u=>{throw l("network_error"),N&&x.error("Encountered error running transport request:",u),u});return r.add(d).then(u=>u,u=>{if(u===ya)return N&&x.error("Skipped sending event because buffer is full."),l("queue_overflow"),Promise.resolve({});throw u})}return{send:i,flush:n}}function _b(e,t,r){const o=[{type:"client_report"},{timestamp:Tr(),discarded_events:e}];return ir(t?{dsn:t}:{},[o])}function Fu(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 Sb(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?.[la],exclusive_time:s?.[ao],measurements:e.measurements,is_segment:!0}}function wb(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&&{[la]:e.profile_id},...e.exclusive_time&&{[ao]:e.exclusive_time}}}},measurements:e.measurements}}const il="Not capturing exception because it's already been captured.",sl="Discarded session because of missing or non-string release",ju=Symbol.for("SentryInternalError"),Hu=Symbol.for("SentryDoNotSendEventError"),Eb=5e3;function Rn(e){return{message:e,[ju]:!0}}function ji(e){return{message:e,[Hu]:!0}}function al(e){return!!e&&typeof e=="object"&&ju in e}function cl(e){return!!e&&typeof e=="object"&&Hu in e}function ll(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)},Eb))}),e.on("flush",()=>{n(e)})}class Cb{constructor(t){if(this._options=t,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],this._promiseBuffer=va(t.transportOptions?.bufferSize??Du),t.dsn?this._dsn=zg(t.dsn):N&&x.warn("No DSN provided, client will not send events."),this._dsn){const o=ab(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&&ll(this,"afterCaptureLog","flushLogs",Ib,Mu),(this._options.enableMetrics??this._options._experiments?.enableMetrics??!0)&&ll(this,"afterCaptureMetric","flushMetrics",Rb,Ou)}captureException(t,r,o){const n=nt();if(Lc(t))return N&&x.log(il),n;const i={event_id:n,...r};return this._process(()=>this.eventFromException(t,i).then(s=>this._captureEvent(s,i,o)).then(s=>s),"error"),i.event_id}captureMessage(t,r,o,n){const i={event_id:nt(),...o},s=na(t)?t:String(t),a=qr(t),c=a?this.eventFromMessage(s,r,i):this.eventFromException(t,i);return this._process(()=>c.then(l=>this._captureEvent(l,i,n)),a?"unknown":"error"),i.event_id}captureEvent(t,r,o){const n=nt();if(r?.originalException&&Lc(r.originalException))return N&&x.log(il),n;const i={event_id:n,...r},s=t.sdkProcessingMetadata||{},a=s.capturedSpanScope,c=s.capturedSpanIsolationScope,l=dl(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];Au(this,t,this._integrations),r||nl(this,[t])}sendEvent(t,r={}){this.emit("beforeSendEvent",t,r);let o=b0(t,this._dsn,this._options._metadata,this._options.tunnel);for(const n of r.attachments||[])o=c0(o,p0(n));this.sendEnvelope(o).then(n=>this.emit("afterSendEvent",t,n))}sendSession(t){const{release:r,environment:o=pa}=this._options;if("aggregates"in t){const i=t.attrs||{};if(!i.release&&!r){N&&x.warn(sl);return}i.release=i.release||r,i.environment=i.environment||o,t.attrs=i}else{if(!t.release&&!r){N&&x.warn(sl);return}t.release=t.release||r,t.environment=t.environment||o}this.emit("beforeSendSession",t);const n=g0(t,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(n)}recordDroppedEvent(t,r,o=1){if(this._options.sendClientReports){const n=`${t}:${r}`;N&&x.log(`Recording outcome: "${n}"${o>1?` (${o} times)`:""}`),this._outcomes[n]=(this._outcomes[n]||0)+o}}on(t,r){const o=this._hooks[t]=this._hooks[t]||new Set,n=(...i)=>r(...i);return o.add(n),()=>{o.delete(n)}}emit(t,...r){const o=this._hooks[t];o&&o.forEach(n=>n(...r))}async sendEnvelope(t){if(this.emit("beforeEnvelope",t),this._isEnabled()&&this._transport)try{return await this._transport.send(t)}catch(r){return N&&x.error("Error while sending envelope:",r),{}}return N&&x.error("Transport disabled"),{}}_setupIntegrations(){const{integrations:t}=this._options;this._integrations=db(this,t),nl(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),Tu(i,t,r,o,this,n).then(a=>{if(a===null)return a;this.emit("postprocessEvent",a,r),a.contexts={trace:Eg(o),...a.contexts};const c=vu(this,o);return a.sdkProcessingMetadata={dynamicSamplingContext:c,...a.sdkProcessingMetadata},a})}_captureEvent(t,r={},o=fe(),n=xt()){return N&&_s(t)&&x.log(`Captured error event \`${Fu(t)[0]||"<unknown>"}\``),this._processEvent(t,r,o,n).then(i=>i.event_id,i=>{N&&(cl(i)?x.log(i.message):al(i)?x.warn(i.message):x.warn(i))})}_processEvent(t,r,o,n){const i=this.getOptions(),{sampleRate:s}=i,a=Uu(t),c=_s(t),d=`before send for type \`${t.type||"error"}\``,u=typeof s>"u"?void 0:Sr(s);if(c&&typeof u=="number"&&Gt()>u)return this.recordDroppedEvent("sample_rate","error"),ba(ji(`Discarding event because it's not included in the random sample (sampling rate = ${s})`));const m=dl(t.type);return this._prepareEvent(t,r,o,n).then(p=>{if(p===null)throw this.recordDroppedEvent("event_processor",m),ji("An event processor returned `null`, will not send event.");if(r.data&&r.data.__sentry__===!0)return p;const h=Tb(this,i,p,r);return xb(h,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 ji(`${d} returned \`null\`, will not send event.`)}const f=o.getSession()||n.getSession();if(c&&f&&this._updateSessionFromEvent(f,p),a){const g=p.sdkProcessingMetadata?.spanCountBeforeProcessing||0,b=p.spans?p.spans.length:0,_=g-b;_>0&&this.recordDroppedEvent("before_send","span",_)}const h=p.transaction_info;if(a&&h&&p.transaction!==t.transaction){const g="custom";p.transaction_info={...h,source:g}}return this.sendEvent(p,r),p}).then(null,p=>{throw cl(p)||al(p)?p:(this.captureException(p,{mechanism:{handled:!1,type:"internal"},data:{__sentry__:!0},originalException:p}),Rn(`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===ya&&this.recordDroppedEvent("queue_overflow",r),o))}_clearOutcomes(){const t=this._outcomes;return this._outcomes={},Object.entries(t).map(([r,o])=>{const[n,i]=r.split(":");return{reason:n,category:i,quantity:o}})}_flushOutcomes(){N&&x.log("Flushing outcomes...");const t=this._clearOutcomes();if(t.length===0){N&&x.log("No outcomes to send");return}if(!this._dsn){N&&x.log("No dsn provided, will not send outcomes");return}N&&x.log("Sending outcomes:",t);const r=_b(t,this._options.tunnel&&co(this._dsn));this.sendEnvelope(r)}}function dl(e){return e==="replay_event"?"replay":e||"error"}function xb(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 Rn(r);return o},o=>{throw Rn(`${t} rejected with ${o}`)});if(!Ro(e)&&e!==null)throw Rn(r);return e}function Tb(e,t,r,o){const{beforeSend:n,beforeSendTransaction:i,beforeSendSpan:s,ignoreSpans:a}=t;let c=r;if(_s(c)&&n)return n(c,o);if(Uu(c)){if(s||a){const l=Sb(c);if(a?.length&&Wn(l,a))return null;if(s){const d=s(l);d?c=zo(r,wb(d)):gs()}if(c.spans){const d=[],u=c.spans;for(const p of u){if(a?.length&&Wn(p,a)){t0(u,p);continue}if(s){const f=s(p);f?d.push(f):(gs(),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 _s(e){return e.type===void 0}function Uu(e){return e.type==="transaction"}function Rb(e){let t=0;return e.name&&(t+=e.name.length*2),t+=8,t+zu(e.attributes)}function Ib(e){let t=0;return e.message&&(t+=e.message.length*2),t+zu(e.attributes)}function zu(e){if(!e)return 0;let t=0;return Object.values(e).forEach(r=>{Array.isArray(r)?t+=r.length*ul(r[0]):qr(r)?t+=ul(r):t+=100}),t}function ul(e){return typeof e=="string"?e.length*2:typeof e=="number"?8:typeof e=="boolean"?4:0}function Bb(e){return di(e)&&"__sentry_fetch_url_host__"in e&&typeof e.__sentry_fetch_url_host__=="string"}function fl(e){return Bb(e)?`${e.message} (${e.__sentry_fetch_url_host__})`:e.message}function Ab(e,t){t.debug===!0&&(N?x.enable():Ut(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),fe().update(t.initialScope);const o=new e(t);return Mb(o),o.init(),o}function Mb(e){fe().setClient(e)}const $b="thismessage:/";function ka(e){return"isRelative"in e}function _a(e,t){const r=e.indexOf("://")<=0&&e.indexOf("//")!==0,o=r?$b: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 Ob(e){if(ka(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 gr(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 Lb(e){return e.split(/[?#]/,1)[0]}function Nb(e,t){const r=t?.getDsn(),o=t?.getOptions().tunnel;return Db(e,r)||Pb(e,o)}function Pb(e,t){return t?pl(e)===pl(t):!1}function Db(e,t){const r=_a(e);return!r||ka(r)?!1:t?r.host.includes(t.host)&&/(^|&|\?)sentry_key=/.test(r.search):!1}function pl(e){return e[e.length-1]==="/"?e.slice(0,-1):e}function Fb(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 Wu(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:pr})),version:pr}),e._metadata=n}function qu(e={}){const t=e.client||te();if(!tb()||!t)return{};const r=xr(),o=so(r);if(o.getTraceData)return o.getTraceData(e);const n=e.scope||fe(),i=e.span||je(),s=i?Kg(i):jb(n),a=i?jt(i):vu(t,n),c=$g(a);if(!du.test(s))return x.warn("Invalid sentry-trace data. Cannot generate trace data"),{};const d={"sentry-trace":s,baggage:c};return e.propagateTraceparent&&(d.traceparent=i?Xg(i):Hb(n)),d}function jb(e){const{traceId:t,sampled:r,propagationSpanId:o}=e.getPropagationContext();return uu(t,o,r)}function Hb(e){const{traceId:t,sampled:r,propagationSpanId:o}=e.getPropagationContext();return fu(t,o,r)}function Ub(e,t,r){let o,n,i;const s=r?.maxWait?Math.max(r.maxWait,t):0,a=r?.setTimeoutImpl||setTimeout;function c(){return l(),o=e(),o}function l(){n!==void 0&&clearTimeout(n),i!==void 0&&clearTimeout(i),n=i=void 0}function d(){return n!==void 0||i!==void 0?c():o}function u(){return n&&clearTimeout(n),n=a(c,t),s&&i===void 0&&(i=a(c,s)),o}return u.cancel=l,u.flush=d,u}const zb=100;function er(e,t){const r=te(),o=xt();if(!r)return;const{beforeBreadcrumb:n=null,maxBreadcrumbs:i=zb}=r.getOptions();if(i<=0)return;const a={timestamp:Tr(),...e},c=n?Ut(()=>n(a,t)):a;c!==null&&(r.emit&&r.emit("beforeAddBreadcrumb",c,t),o.addBreadcrumb(c,i))}let ml;const Wb="FunctionToString",hl=new WeakMap,qb=(()=>({name:Wb,setupOnce(){ml=Function.prototype.toString;try{Function.prototype.toString=function(...e){const t=aa(this),r=hl.has(te())&&t!==void 0?t:this;return ml.apply(r,e)}}catch{}},setup(e){hl.set(e,!0)}})),Vb=qb,Yb=[/^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$/],Gb="EventFilters",Kb=(e={})=>{let t;return{name:Gb,setup(r){const o=r.getOptions();t=gl(e,o)},processEvent(r,o,n){if(!t){const i=n.getOptions();t=gl(e,i)}return Jb(r,t)?null:r}}},Xb=((e={})=>({...Kb(e),name:"InboundFilters"}));function gl(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:Yb],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]]}}function Jb(e,t){if(e.type){if(e.type==="transaction"&&Zb(e,t.ignoreTransactions))return N&&x.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.
Event: ${lr(e)}`),!0}else{if(Qb(e,t.ignoreErrors))return N&&x.warn(`Event dropped due to being matched by \`ignoreErrors\` option.
Event: ${lr(e)}`),!0;if(oy(e))return N&&x.warn(`Event dropped due to not having an error message, error type or stacktrace.
Event: ${lr(e)}`),!0;if(ey(e,t.denyUrls))return N&&x.warn(`Event dropped due to being matched by \`denyUrls\` option.
Event: ${lr(e)}.
Url: ${qn(e)}`),!0;if(!ty(e,t.allowUrls))return N&&x.warn(`Event dropped due to not being matched by \`allowUrls\` option.
Event: ${lr(e)}.
Url: ${qn(e)}`),!0}return!1}function Qb(e,t){return t?.length?Fu(e).some(r=>$t(r,t)):!1}function Zb(e,t){if(!t?.length)return!1;const r=e.transaction;return r?$t(r,t):!1}function ey(e,t){if(!t?.length)return!1;const r=qn(e);return r?$t(r,t):!1}function ty(e,t){if(!t?.length)return!0;const r=qn(e);return r?$t(r,t):!0}function ry(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 qn(e){try{const r=[...e.exception?.values??[]].reverse().find(o=>o.mechanism?.parent_id===void 0&&o.stacktrace?.frames?.length)?.stacktrace?.frames;return r?ry(r):null}catch{return N&&x.error(`Cannot extract url for event ${lr(e)}`),null}}function oy(e){return e.exception?.values?.length?!e.message&&!e.exception.values.some(t=>t.stacktrace||t.type&&t.type!=="Error"||t.value):!1}function ny(e,t,r,o,n,i){if(!n.exception?.values||!i||!Pt(i.originalException,Error))return;const s=n.exception.values.length>0?n.exception.values[n.exception.values.length-1]:void 0;s&&(n.exception.values=Ss(e,t,o,i.originalException,r,n.exception.values,s,0))}function Ss(e,t,r,o,n,i,s,a){if(i.length>=r+1)return i;let c=[...i];if(Pt(o[n],Error)){bl(s,a);const l=e(t,o[n]),d=c.length;yl(l,n,d,a),c=Ss(e,t,r,o[n],n,[l,...c],l,d)}return Array.isArray(o.errors)&&o.errors.forEach((l,d)=>{if(Pt(l,Error)){bl(s,a);const u=e(t,l),m=c.length;yl(u,`errors[${d}]`,m,a),c=Ss(e,t,r,l,n,[u,...c],u,m)}}),c}function bl(e,t){e.mechanism={handled:!0,type:"auto.core.linked_errors",...e.mechanism,...e.type==="AggregateError"&&{is_exception_group:!0},exception_id:t}}function yl(e,t,r,o){e.mechanism={handled:!0,...e.mechanism,type:"chained",source:t,exception_id:r,parent_id:o}}function iy(e){const t="console";rr(t,e),or(t,sy)}function sy(){"console"in ee&&Wh.forEach(function(e){e in ee.console&&Ke(ee.console,e,function(t){return Hn[e]=t,function(...r){at("console",{args:r,level:e}),Hn[e]?.apply(ee.console,r)}})})}function Vu(e){return e==="warn"?"warning":["fatal","error","warning","log","info","debug"].includes(e)?e:"log"}const ay="Dedupe",cy=(()=>{let e;return{name:ay,processEvent(t){if(t.type)return t;try{if(dy(t,e))return N&&x.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return e=t}}}),ly=cy;function dy(e,t){return t?!!(uy(e,t)||fy(e,t)):!1}function uy(e,t){const r=e.message,o=t.message;return!(!r&&!o||r&&!o||!r&&o||r!==o||!Gu(e,t)||!Yu(e,t))}function fy(e,t){const r=vl(t),o=vl(e);return!(!r||!o||r.type!==o.type||r.value!==o.value||!Gu(e,t)||!Yu(e,t))}function Yu(e,t){let r=Ic(e),o=Ic(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 Gu(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 vl(e){return e.exception?.values?.[0]}function py(e,t,r,o,n){if(!e.fetchData)return;const{method:i,url:s}=e.fetchData,a=ct()&&t(s);if(e.endTimestamp&&a){const p=e.fetchData.__span;if(!p)return;const f=o[p];f&&(gy(f,e),my(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?Zt(yy(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]||{},h=hy(p,f,ct()&&d?u:void 0,l);h&&(e.args[1]=f,f.headers=h)}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 my(e,t,r){(typeof r=="object"&&r!==null?r.onRequestSpanEnd:void 0)?.(e,{headers:t.response?.headers,error:t.error})}function hy(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||(ia(e)?e.headers:void 0);if(c)if(by(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?ln(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"&&ln(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(h=>ln(h)):ln(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 gy(e,t){if(t.response){iu(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 ln(e){return e.split(",").some(t=>t.trim().startsWith(ua))}function by(e){return typeof Headers<"u"&&Pt(e,Headers)}function yy(e,t,r){const o=_a(e);return{name:o?`${t} ${Ob(o)}`:t,attributes:vy(e,o,t,r)}}function vy(e,t,r,o){const n={url:e,type:"fetch","http.method":r,[Ee]:o,[Ft]:"http.client"};return t&&(ka(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 Ku(e){if(e!==void 0)return e>=400&&e<500?"warning":e>=500?"error":void 0}const Ao=ee;function ky(){return"history"in Ao&&!!Ao.history}function _y(){if(!("fetch"in Ao))return!1;try{return new Headers,new Request("data:,"),new Response,!0}catch{return!1}}function ws(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function Sy(){if(typeof EdgeRuntime=="string")return!0;if(!_y())return!1;if(ws(Ao.fetch))return!0;let e=!1;const t=Ao.document;if(t&&typeof t.createElement=="function")try{const r=t.createElement("iframe");r.hidden=!0,t.head.appendChild(r),r.contentWindow?.fetch&&(e=ws(r.contentWindow.fetch)),t.head.removeChild(r)}catch(r){N&&x.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",r)}return e}function Xu(e,t){const r="fetch";rr(r,e),or(r,()=>Ju(void 0,t))}function wy(e){const t="fetch-body-resolved";rr(t,e),or(t,()=>Ju(Cy))}function Ju(e,t=!1){t&&!Sy()||Ke(ee,"fetch",function(r){return function(...o){const n=new Error,{method:i,url:s}=xy(o),a={args:o,fetchData:{method:i,url:s},startTimestamp:Ie()*1e3,virtualError:n,headers:Ty(o)};return e||at("fetch",{...a}),r.apply(ee,o).then(async c=>(e?e(c):at("fetch",{...a,endTimestamp:Ie()*1e3,response:c}),c),c=>{at("fetch",{...a,endTimestamp:Ie()*1e3,error:c}),di(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 Ey(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 Cy(e){let t;try{t=e.clone()}catch{return}Ey(t,()=>{at("fetch-body-resolved",{endTimestamp:Ie()*1e3,response:e})})}function In(e,t){return!!e&&typeof e=="object"&&!!e[t]}function kl(e){return typeof e=="string"?e:e?In(e,"url")?e.url:e.toString?e.toString():"":""}function xy(e){if(e.length===0)return{method:"GET",url:""};if(e.length===2){const[r,o]=e;return{url:kl(r),method:In(o,"method")?String(o.method).toUpperCase():ia(r)&&In(r,"method")?String(r.method).toUpperCase():"GET"}}const t=e[0];return{url:kl(t),method:In(t,"method")?String(t.method).toUpperCase():"GET"}}function Ty(e){const[t,r]=e;try{if(typeof r=="object"&&r!==null&&"headers"in r&&r.headers)return new Headers(r.headers);if(ia(t))return new Headers(t.headers)}catch{}}function Ry(){return typeof __SENTRY_BROWSER_BUNDLE__<"u"&&!!__SENTRY_BROWSER_BUNDLE__}function Iy(){return"npm"}function By(){return!Ry()&&Object.prototype.toString.call(typeof process<"u"?process:0)==="[object process]"}function Es(){return typeof window<"u"&&(!By()||Ay())}function Ay(){return ee.process?.type==="renderer"}const ce=ee;let Cs=0;function Qu(){return Cs>0}function My(){Cs++,setTimeout(()=>{Cs--})}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(aa(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 My(),fi(s=>{s.addEventProcessor(a=>(t.mechanism&&(ps(a,void 0),Vr(a,t.mechanism)),a.extra={...a.extra,arguments:n},a)),hi(i)}),i}};try{for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(o[n]=e[n])}catch{}eu(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 Sa(){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 wa(e,t){const r=Ea(e,t),o={type:Py(t),value:Dy(t)};return r.length&&(o.stacktrace={frames:r}),o.type===void 0&&o.value===""&&(o.value="Unrecoverable error caught"),o}function $y(e,t,r,o){const i=te()?.getOptions().normalizeDepth,s=zy(t),a={__serialized__:ku(t,i)};if(s)return{exception:{values:[wa(e,s)]},extra:a};const c={exception:{values:[{type:ui(t)?t.constructor.name:o?"UnhandledRejection":"Error",value:Hy(t,{isUnhandledRejection:o})}]},extra:a};if(r){const l=Ea(e,r);l.length&&(c.exception.values[0].stacktrace={frames:l})}return c}function Hi(e,t){return{exception:{values:[wa(e,t)]}}}function Ea(e,t){const r=t.stacktrace||t.stack||"",o=Ly(t),n=Ny(t);try{return e(r,o,n)}catch{}return[]}const Oy=/Minified React error #\d+;/i;function Ly(e){return e&&Oy.test(e.message)?1:0}function Ny(e){return typeof e.framesToPop=="number"?e.framesToPop:0}function Zu(e){return typeof WebAssembly<"u"&&typeof WebAssembly.Exception<"u"?e instanceof WebAssembly.Exception:!1}function Py(e){const t=e?.name;return!t&&Zu(e)?e.message&&Array.isArray(e.message)&&e.message.length==2?e.message[0]:"WebAssembly.Exception":t}function Dy(e){const t=e?.message;return Zu(e)?Array.isArray(e.message)&&e.message.length==2?e.message[1]:"wasm exception":t?t.error&&typeof t.error.message=="string"?fl(t.error):fl(e):"No error message"}function Fy(e,t,r,o){const n=r?.syntheticException||void 0,i=Ca(e,t,n,o);return Vr(i),i.level="error",r?.event_id&&(i.event_id=r.event_id),mi(i)}function jy(e,t,r="info",o,n){const i=o?.syntheticException||void 0,s=xs(e,t,i,n);return s.level=r,o?.event_id&&(s.event_id=o.event_id),mi(s)}function Ca(e,t,r,o,n){let i;if(Jd(t)&&t.error)return Hi(e,t.error);if(Ac(t)||tg(t)){const s=t;if("stack"in t)i=Hi(e,t);else{const a=s.name||(Ac(s)?"DOMError":"DOMException"),c=s.message?`${a}: ${s.message}`:a;i=xs(e,c,r,o),ps(i,c)}return"code"in s&&(i.tags={...i.tags,"DOMException.code":`${s.code}`}),i}return di(t)?Hi(e,t):Ro(t)||ui(t)?(i=$y(e,t,r,n),Vr(i,{synthetic:!0}),i):(i=xs(e,t,r,o),ps(i,`${t}`),Vr(i,{synthetic:!0}),i)}function xs(e,t,r,o){const n={};if(o&&r){const i=Ea(e,r);i.length&&(n.exception={values:[{value:t,stacktrace:{frames:i}}]}),Vr(n,{synthetic:!0})}if(na(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 Hy(e,{isUnhandledRejection:t}){const r=ag(e),o=t?"promise rejection":"exception";return Jd(e)?`Event \`ErrorEvent\` captured as ${o} with message \`${e.message}\``:ui(e)?`Event \`${Uy(e)}\` (type=${e.type}) captured as ${o}`:`Object captured as ${o} with keys: ${r}`}function Uy(e){try{const t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch{}}function zy(e){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)){const r=e[t];if(r instanceof Error)return r}}class Wy extends Cb{constructor(t){const r=qy(t),o=ce.SENTRY_SDK_SOURCE||Iy();Wu(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&&Mu(this),l&&Ou(this))}),n&&this.on("beforeSendSession",Fb)}eventFromException(t,r){return Fy(this._options.stackParser,t,r,this._options.attachStacktrace)}eventFromMessage(t,r="info",o){return jy(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 qy(e){return{release:typeof __SENTRY_RELEASE__=="string"?__SENTRY_RELEASE__:ce.SENTRY_RELEASE?.id,sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0,...e}}const wr=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,G=ee,Vy=(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=Vy(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 Kt(e,t,r){G.document&&G.addEventListener(e,t,r)}function Vn(e,t,r){G.document&&G.removeEventListener(e,t,r)}let Ur=-1;const ef=new Set,Yy=()=>G.document?.visibilityState==="hidden"&&!G.document?.prerendering?0:1/0,Bn=e=>{if(Gy(e)&&Ur>-1){if(e.type==="visibilitychange"||e.type==="pagehide")for(const t of ef)t();isFinite(Ur)||(Ur=e.type==="visibilitychange"?e.timeStamp:0,Vn("prerenderingchange",Bn,!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)??Yy(),Kt("visibilitychange",Bn,!0),Kt("pagehide",Bn,!0),Kt("prerenderingchange",Bn,!0)}return{get firstHiddenTime(){return Ur},onHidden(e){ef.add(e)}}};function Gy(e){return e.type==="pagehide"||G.document?.visibilityState==="hidden"}const Ky=()=>`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:Ky(),navigationType:o}},Ui=new WeakMap;function xa(e,t){try{return Ui.get(e)||Ui.set(e,new t),Ui.get(e)}catch{return new t}}class Yn{constructor(){Yn.prototype.__init.call(this),Yn.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{}},Ta=e=>{let t=!1;return()=>{t||(e(),t=!0)}},gi=e=>{G.document?.prerendering?addEventListener("prerenderingchange",()=>e(),!0):e()},Xy=[1800,3e3],Jy=(e,t={})=>{gi(()=>{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,Xy,t.reportAllChanges))})},Qy=[.1,.25],Zy=(e,t={})=>{Jy(Ta(()=>{const r=Ko("CLS",0);let o;const n=Go(),i=xa(t,Yn),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,Qy,t.reportAllChanges),n.onHidden(()=>{s(a.takeRecords()),o(!0)}),G?.setTimeout?.(o))}))};let tf=0,zi=1/0,dn=0;const ev=e=>{e.forEach(t=>{t.interactionId&&(zi=Math.min(zi,t.interactionId),dn=Math.max(dn,t.interactionId),tf=dn?(dn-zi)/7+1:0)})};let Ts;const rf=()=>Ts?tf:performance.interactionCount||0,tv=()=>{"interactionCount"in performance||Ts||(Ts=uo("event",ev,{type:"event",buffered:!0,durationThreshold:0}))},Wi=10;let of=0;const rv=()=>rf()-of;class Gn{constructor(){Gn.prototype.__init.call(this),Gn.prototype.__init2.call(this)}__init(){this._longestInteractionList=[]}__init2(){this._longestInteractionMap=new Map}_resetInteractions(){of=rf(),this._longestInteractionList.length=0,this._longestInteractionMap.clear()}_estimateP98LongestInteraction(){const t=Math.min(this._longestInteractionList.length-1,Math.floor(rv()/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<Wi||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>Wi){const n=this._longestInteractionList.splice(Wi);for(const i of n)this._longestInteractionMap.delete(i.id)}this._onAfterProcessingINPCandidate?.(o)}}}const nf=e=>{const t=G.requestIdleCallback||G.setTimeout;G.document?.visibilityState==="hidden"?e():(e=Ta(e),Kt("visibilitychange",e,{once:!0,capture:!0}),Kt("pagehide",e,{once:!0,capture:!0}),t(()=>{e(),Vn("visibilitychange",e,{capture:!0}),Vn("pagehide",e,{capture:!0})}))},ov=[200,500],nv=40,iv=(e,t={})=>{if(!(globalThis.PerformanceEventTiming&&"interactionId"in PerformanceEventTiming.prototype))return;const r=Go();gi(()=>{tv();const o=Ko("INP");let n;const i=xa(t,Gn),s=c=>{nf(()=>{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??nv});n=Vo(e,o,ov,t.reportAllChanges),a&&(a.observe({type:"first-input",buffered:!0}),r.onHidden(()=>{s(a.takeRecords()),n(!0)}))})};class sv{_processEntry(t){this._onBeforeProcessingEntry?.(t)}}const av=[2500,4e3],cv=(e,t={})=>{gi(()=>{const r=Go(),o=Ko("LCP");let n;const i=xa(t,sv),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,av,t.reportAllChanges);const c=Ta(()=>{s(a.takeRecords()),a.disconnect(),n(!0)}),l=d=>{d.isTrusted&&(nf(c),Vn(d.type,l,{capture:!0}))};for(const d of["keydown","click","visibilitychange"])Kt(d,l,{capture:!0})}})},lv=[800,1800],Rs=e=>{G.document?.prerendering?gi(()=>Rs(e)):G.document?.readyState!=="complete"?addEventListener("load",()=>Rs(e),!0):setTimeout(e)},dv=(e,t={})=>{const r=Ko("TTFB"),o=Vo(e,r,lv,t.reportAllChanges);Rs(()=>{const n=Yo();n&&(r.value=Math.max(n.responseStart-lo(),0),r.entries=[n],o(!0))})},So={},Kn={};let sf,af,cf,lf;function Ra(e,t=!1){return bi("cls",e,fv,sf,t)}function Ia(e,t=!1){return bi("lcp",e,pv,af,t)}function uv(e){return bi("ttfb",e,mv,cf)}function df(e){return bi("inp",e,hv,lf)}function Er(e,t){return uf(e,t),Kn[e]||(gv(e),Kn[e]=!0),ff(e,t)}function Xo(e,t){const r=So[e];if(r?.length)for(const o of r)try{o(t)}catch(n){wr&&x.error(`Error while triggering instrumentation handler.
Type: ${e}
Name: ${Nt(o)}
Error:`,n)}}function fv(){return Zy(e=>{Xo("cls",{metric:e}),sf=e},{reportAllChanges:!0})}function pv(){return cv(e=>{Xo("lcp",{metric:e}),af=e},{reportAllChanges:!0})}function mv(){return dv(e=>{Xo("ttfb",{metric:e}),cf=e})}function hv(){return iv(e=>{Xo("inp",{metric:e}),lf=e})}function bi(e,t,r,o,n=!1){uf(e,t);let i;return Kn[e]||(i=r(),Kn[e]=!0),o&&t({metric:o}),ff(e,t,n?i:void 0)}function gv(e){const t={};e==="event"&&(t.durationThreshold=0),uo(e,r=>{Xo(e,{entries:r})},t)}function uf(e,t){So[e]=So[e]||[],So[e].push(t)}function ff(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 bv(e){return"duration"in e}const yv=e=>{const t=r=>{(r.type==="pagehide"||G.document?.visibilityState==="hidden")&&e(r)};Kt("visibilitychange",t,{capture:!0,once:!0}),Kt("pagehide",t,{capture:!0,once:!0})};function qi(e){return typeof e=="number"&&isFinite(e)}function tr(e,t,r,{...o}){const n=oe(e).start_timestamp;return n&&n>t&&typeof e.updateStartTime=="function"&&e.updateStartTime(t),ha(e,()=>{const i=Zt({startTime:t,...o});return i&&i.end(r),i})}function Ba(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 h={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 Zt({name:r,attributes:h,startTime:i,experimental:{standalone:!0}})}function Jo(){return G.addEventListener&&G.performance}function Re(e){return e/1e3}function vv(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 pf(e){try{return PerformanceObserver.supportedEntryTypes.includes(e)}catch{return!1}}function mf(e,t){let r,o=!1;function n(a){!o&&r&&t(a,r),o=!0}yv(()=>{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 kv(e){let t=0,r;if(!pf("layout-shift"))return;const o=Ra(({metric:n})=>{const i=n.entries[n.entries.length-1];i&&(t=n.value,r=i)},!0);mf(e,(n,i)=>{_v(t,r,i,n),o()})}function _v(e,t,r,o){wr&&x.log(`Sending CLS span (${e})`);const n=t?Re((tt()||0)+t.startTime):Ie(),i=fe().getScopeData().transactionName,s=t?Ze(t.sources[0]?.node):"Layout shift",a={[Ee]:"auto.http.browser.cls",[Ft]:"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}`]=Ze(l.node)});const c=Ba({name:s,transaction:i,attributes:a,startTime:n});c&&(c.addEvent("cls",{[Wo]:"",[qo]:e}),c.end(n))}function Sv(e){let t=0,r;if(!pf("largest-contentful-paint"))return;const o=Ia(({metric:n})=>{const i=n.entries[n.entries.length-1];i&&(t=n.value,r=i)},!0);mf(e,(n,i)=>{wv(t,r,i,n),o()})}function wv(e,t,r,o){wr&&x.log(`Sending LCP span (${e})`);const n=Re((tt()||0)+(t?.startTime||0)),i=fe().getScopeData().transactionName,s=t?Ze(t.element):"Largest contentful paint",a={[Ee]:"auto.http.browser.lcp",[Ft]:"ui.webvital.lcp",[ao]:0,"sentry.pageload.span_id":r,"sentry.report_event":o};t&&(t.element&&(a["lcp.element"]=Ze(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=Ba({name:s,transaction:i,attributes:a,startTime:n});c&&(c.addEvent("lcp",{[Wo]:"millisecond",[qo]:e}),c.end(n))}function st(e){return e&&((tt()||performance.timeOrigin)+e)/1e3}function hf(e){const t={};if(e.nextHopProtocol!=null){const{name:r,version:o}=vv(e.nextHopProtocol);t["network.protocol.version"]=o,t["network.protocol.name"]=r}return tt()||Jo()?.timeOrigin?Ev({...t,"http.request.redirect_start":st(e.redirectStart),"http.request.redirect_end":st(e.redirectEnd),"http.request.worker_start":st(e.workerStart),"http.request.fetch_start":st(e.fetchStart),"http.request.domain_lookup_start":st(e.domainLookupStart),"http.request.domain_lookup_end":st(e.domainLookupEnd),"http.request.connect_start":st(e.connectStart),"http.request.secure_connection_start":st(e.secureConnectionStart),"http.request.connection_end":st(e.connectEnd),"http.request.request_start":st(e.requestStart),"http.request.response_start":st(e.responseStart),"http.request.response_end":st(e.responseEnd),"http.request.time_to_first_byte":e.responseStart!=null?e.responseStart/1e3:void 0}):t}function Ev(e){return Object.fromEntries(Object.entries(e).filter(([,t])=>t!=null))}const Cv=2147483647;let _l=0,pt={},Ge,Xn;function xv({recordClsStandaloneSpans:e,recordLcpStandaloneSpans:t,client:r}){const o=Jo();if(o&&tt()){o.mark&&G.performance.mark("sentry-tracing-init");const n=t?Sv(r):Av(),i=Mv(),s=e?kv(r):Bv();return()=>{n?.(),i(),s?.()}}return()=>{}}function Tv(){Er("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||tr(t,i,i+s,{name:"Main UI thread blocked",op:"ui.long-task",attributes:{[Ee]:"auto.ui.browser.metrics"}})}})}function Rv(){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={[Ee]:"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),tr(r,n,n+a,{name:"Main UI thread blocked",op:"ui.long-animation-frame",attributes:c})}}).observe({type:"long-animation-frame",buffered:!0})}function Iv(){Er("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:Ze(r.target),op:`ui.interaction.${r.name}`,startTime:o,attributes:{[Ee]:"auto.ui.browser.metrics"}},s=Zd(r.target);s&&(i.attributes["ui.component_name"]=s),tr(t,o,o+n,i)}}})}function Bv(){return Ra(({metric:e})=>{const t=e.entries[e.entries.length-1];t&&(pt.cls={value:e.value,unit:""},Xn=t)},!0)}function Av(){return Ia(({metric:e})=>{const t=e.entries[e.entries.length-1];t&&(pt.lcp={value:e.value,unit:"millisecond"},Ge=t)},!0)}function Mv(){return uv(({metric:e})=>{e.entries[e.entries.length-1]&&(pt.ttfb={value:e.value,unit:"millisecond"})})}function $v(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(_l).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":{Pv(e,c,n);break}case"mark":case"paint":case"measure":{Lv(e,c,l,d,n,t.ignorePerformanceApiSpans);const u=Go(),m=c.startTime<u.firstHiddenTime;c.name==="first-paint"&&m&&(pt.fp={value:c.startTime,unit:"millisecond"}),c.name==="first-contentful-paint"&&m&&(pt.fcp={value:c.startTime,unit:"millisecond"});break}case"resource":{jv(e,c,c.name,l,d,n,t.ignoreResourceSpans);break}}}),_l=Math.max(i.length-1,0),Hv(e),s==="pageload"&&(Wv(pt),t.recordClsOnPageloadSpan||delete pt.cls,t.recordLcpOnPageloadSpan||delete pt.lcp,Object.entries(pt).forEach(([c,l])=>{_0(c,l.value,l.unit)}),e.setAttribute("performance.timeOrigin",n),e.setAttribute("performance.activationStart",lo()),Uv(e,t)),Ge=void 0,Xn=void 0,pt={}}function Ov(e){if(e?.entryType==="measure")try{return e.detail.devtools.track==="Components ⚛"}catch{return}}function Lv(e,t,r,o,n,i){if(Ov(t)||["mark","measure"].includes(t.entryType)&&$t(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={[Ee]:"auto.resource.browser.metrics"};c!==l&&(u["sentry.browser.measure_happened_before_request"]=!0,u["sentry.browser.measure_start_time"]=c),Nv(u,t),c<=d&&tr(e,c,d,{name:t.name,op:t.entryType,attributes:u})}function Nv(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 Pv(e,t,r){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(o=>{un(e,t,o,r)}),un(e,t,"secureConnection",r,"TLS/SSL"),un(e,t,"fetch",r,"cache"),un(e,t,"domainLookup",r,"DNS"),Fv(e,t,r)}function un(e,t,r,o,n=r){const i=Dv(r),s=t[i],a=t[`${r}Start`];!a||!s||tr(e,o+Re(a),o+Re(s),{op:`browser.${n}`,name:t.name,attributes:{[Ee]:"auto.ui.browser.metrics",...r==="redirect"&&t.redirectCount!=null?{"http.redirect_count":t.redirectCount}:{}}})}function Dv(e){return e==="secureConnection"?"connectEnd":e==="fetch"?"domainLookupStart":`${e}End`}function Fv(e,t,r){const o=r+Re(t.requestStart),n=r+Re(t.responseEnd),i=r+Re(t.responseStart);t.responseEnd&&(tr(e,o,n,{op:"browser.request",name:t.name,attributes:{[Ee]:"auto.ui.browser.metrics"}}),tr(e,i,n,{op:"browser.response",name:t.name,attributes:{[Ee]:"auto.ui.browser.metrics"}}))}function jv(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={[Ee]:"auto.resource.browser.metrics"},l=gr(r);l.protocol&&(c["url.scheme"]=l.protocol.split(":").pop()),l.host&&(c["server.address"]=l.host),c["url.same_origin"]=r.includes(G.location.origin),zv(t,c,[["responseStatus","http.response.status_code"],["transferSize","http.response_transfer_size"],["encodedBodySize","http.response_content_length"],["decodedBodySize","http.decoded_response_content_length"],["renderBlockingStatus","resource.render_blocking_status"],["deliveryType","http.response_delivery_type"]]);const d={...c,...hf(t)},u=i+o,m=u+n;tr(e,u,m,{name:r.replace(G.location.origin,""),op:a,attributes:d})}function Hv(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),qi(r.rtt)&&(pt["connection.rtt"]={value:r.rtt,unit:"millisecond"})),qi(t.deviceMemory)&&e.setAttribute("deviceMemory",`${t.deviceMemory} GB`),qi(t.hardwareConcurrency)&&e.setAttribute("hardwareConcurrency",String(t.hardwareConcurrency))}function Uv(e,t){Ge&&t.recordLcpOnPageloadSpan&&(Ge.element&&e.setAttribute("lcp.element",Ze(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)),Xn?.sources&&t.recordClsOnPageloadSpan&&Xn.sources.forEach((r,o)=>e.setAttribute(`cls.source.${o+1}`,Ze(r.node)))}function zv(e,t,r){r.forEach(([o,n])=>{const i=e[o];i!=null&&(typeof i=="number"&&i<Cv||typeof i=="string")&&(t[n]=i)})}function Wv(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 qv(){return Jo()&&tt()?Er("element",Vv):()=>{}}const Vv=({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={[Ee]:"auto.ui.browser.elementtiming",[Ft]:"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};T0({name:`element[${i.identifier}]`,attributes:m,startTime:l,onlyIfParent:!0},p=>{p.end(l+u)})})},Yv=1e3;let Sl,Is,Bs;function gf(e){rr("dom",e),or("dom",Gv)}function Gv(){if(!G.document)return;const e=at.bind(null,"dom"),t=wl(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=wl(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 Kv(e){if(e.type!==Is)return!1;try{if(!e.target||e.target._sentryId!==Bs)return!1}catch{}return!0}function Xv(e,t){return e!=="keypress"?!1:t?.tagName?!(t.tagName==="INPUT"||t.tagName==="TEXTAREA"||t.isContentEditable):!0}function wl(e,t=!1){return r=>{if(!r||r._sentryCaptured)return;const o=Jv(r);if(Xv(r.type,o))return;et(r,"_sentryCaptured",!0),o&&!o._sentryId&&et(o,"_sentryId",nt());const n=r.type==="keypress"?"input":r.type;Kv(r)||(e({event:r,name:n,global:t}),Is=r.type,Bs=o?o._sentryId:void 0),clearTimeout(Sl),Sl=G.setTimeout(()=>{Bs=void 0,Is=void 0},Yv)}}function Jv(e){try{return e.target}catch{return null}}let fn;function yi(e){const t="history";rr(t,e),or(t,Qv)}function Qv(){if(G.addEventListener("popstate",()=>{const t=G.location.href,r=fn;if(fn=t,r===t)return;at("history",{from:r,to:t})}),!ky())return;function e(t){return function(...r){const o=r.length>2?r[2]:void 0;if(o){const n=fn,i=Zv(String(o));if(fn=i,n===i)return t.apply(this,r);at("history",{from:n,to:i})}return t.apply(this,r)}}Ke(G.history,"pushState",e),Ke(G.history,"replaceState",e)}function Zv(e){try{return new URL(e,G.location.origin).toString()}catch{return e}}const An={};function bf(e){const t=An[e];if(t)return t;let r=G[e];if(ws(r))return An[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){wr&&x.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,n)}return r&&(An[e]=r.bind(G))}function ek(e){An[e]=void 0}function Qo(...e){return bf("setTimeout")(...e)}const dr="__sentry_xhr_v3__";function yf(e){rr("xhr",e),or("xhr",tk)}function tk(){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=Mt(o[0])?o[0].toUpperCase():void 0,a=rk(o[1]);if(!s||!a)return t.apply(r,o);r[dr]={method:s,url:a,request_headers:{}},s==="POST"&&a.match(/sentry_key/)&&(r.__sentry_own_request__=!0);const c=()=>{const l=r[dr];if(l&&r.readyState===4){try{l.status_code=r.status}catch{}const d={endTimestamp:Ie()*1e3,startTimestamp:i,xhr:r,virtualError:n};at("xhr",d)}};return"onreadystatechange"in r&&typeof r.onreadystatechange=="function"?r.onreadystatechange=new Proxy(r.onreadystatechange,{apply(l,d,u){return c(),l.apply(d,u)}}):r.addEventListener("readystatechange",c),r.setRequestHeader=new Proxy(r.setRequestHeader,{apply(l,d,u){const[m,p]=u,f=d[dr];return f&&Mt(m)&&Mt(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[dr];if(!n)return t.apply(r,o);o[0]!==void 0&&(n.body=o[0]);const i={startTimestamp:Ie()*1e3,xhr:r};return at("xhr",i),t.apply(r,o)}})}function rk(e){if(Mt(e))return e;try{return e.toString()}catch{}}const ok=Symbol.for("sentry__originalRequestBody");function vf(e){return new URLSearchParams(e).toString()}function kf(e,t=x){try{if(typeof e=="string")return[e];if(e instanceof URLSearchParams)return[e.toString()];if(e instanceof FormData)return[vf(e)];if(!e)return[void 0]}catch(r){return wr&&t.error(r,"Failed to serialize body",e),[void 0,"BODY_PARSE_ERROR"]}return wr&&t.log("Skipping network body because of body type",e),[void 0,"UNPARSEABLE_BODY_TYPE"]}function _f(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][ok];return r!==void 0?r:void 0}}function Sf(e){let t;try{t=e.getAllResponseHeaders()}catch(r){return wr&&x.error(r,"Failed to get xhr response headers",e),{}}return t?t.split(`\r
`).reduce((r,o)=>{const[n,i]=o.split(": ");return i&&(r[n.toLowerCase()]=i),r},{}):{}}const Vi=[],Mn=new Map,Ar=new Map,nk=60;function ik(){if(Jo()&&tt()){const t=sk();return()=>{t()}}return()=>{}}const As={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 sk(){return df(ak)}const ak=({metric:e})=>{if(e.value==null)return;const t=Re(e.value);if(t>nk)return;const r=e.entries.find(f=>f.duration===e.value&&As[f.name]);if(!r)return;const{interactionId:o}=r,n=As[r.name],i=Re(tt()+r.startTime),s=je(),a=s?Fe(s):void 0,c=o!=null?Mn.get(o):void 0,l=c?.span||a,d=l?oe(l).description:fe().getScopeData().transactionName,u=c?.elementName||Ze(r.target),m={[Ee]:"auto.http.browser.inp",[Ft]:`ui.interaction.${n}`,[ao]:r.duration},p=Ba({name:u,transaction:d,attributes:m,startTime:i});p&&(p.addEvent("inp",{[Wo]:"millisecond",[qo]:e.value}),p.end(i+t))};function ck(){const e=Object.keys(As);Es()&&e.forEach(n=>{G.addEventListener(n,t,{capture:!0,passive:!0})});function t(n){const i=n.target;if(!i)return;const s=Ze(i),a=Math.round(n.timeStamp);if(Ar.set(a,s),Ar.size>50){const c=Ar.keys().next().value;c!==void 0&&Ar.delete(c)}}function r(n){const i=Math.round(n.startTime);let s=Ar.get(i);if(!s)for(let a=-5;a<=5;a++){const c=Ar.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(!bv(a))return;const c=a.interactionId;if(c==null||Mn.has(c))return;const l=a.target?Ze(a.target):r(a);if(Vi.length>10){const d=Vi.shift();Mn.delete(d)}Vi.push(c),Mn.set(c,{span:s,elementName:l})})};Er("event",o),Er("first-input",o)}const lk=40;function dk(e,t=bf("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 ek("fetch"),c}finally{r-=s,o--}}return kb(e,n,va(e.bufferSize||lk))}const lt=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,uk=30,fk=50;function Ms(e,t,r,o){const n={filename:e,function:t==="<anonymous>"?_r:t,in_app:!0};return r!==void 0&&(n.lineno=r),o!==void 0&&(n.colno=o),n}const pk=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,mk=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,hk=/\((\S*)(?::(\d+))(?::(\d+))\)/,gk=/at (.+?) ?\(data:(.+?),/,bk=e=>{const t=e.match(gk);if(t)return{filename:`<data:${t[2]}>`,function:t[1]};const r=pk.exec(e);if(r){const[,n,i,s]=r;return Ms(n,_r,+i,+s)}const o=mk.exec(e);if(o){if(o[2]&&o[2].indexOf("eval")===0){const a=hk.exec(o[2]);a&&(o[2]=a[1],o[3]=a[2],o[4]=a[3])}const[i,s]=wf(o[1]||_r,o[2]);return Ms(s,i,o[3]?+o[3]:void 0,o[4]?+o[4]:void 0)}},yk=[uk,bk],vk=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,kk=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,_k=e=>{const t=vk.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){const i=kk.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]||_r;return[n,o]=wf(n,o),Ms(o,n,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}},Sk=[fk,_k],wk=[yk,Sk],Ek=Vd(...wk),wf=(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]:_r,r?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]},pn=1024,Ck="Breadcrumbs",xk=((e={})=>{const t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:Ck,setup(r){t.console&&iy(Bk(r)),t.dom&&gf(Ik(r,t.dom)),t.xhr&&yf(Ak(r)),t.fetch&&Xu(Mk(r)),t.history&&yi($k(r)),t.sentry&&r.on("beforeSendEvent",Rk(r))}}}),Tk=xk;function Rk(e){return function(r){te()===e&&er({category:`sentry.${r.type==="transaction"?"transaction":"event"}`,event_id:r.event_id,level:r.level,message:lr(r)},{event:r})}}function Ik(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>pn&&(lt&&x.warn(`\`dom.maxStringLength\` cannot exceed ${pn}, but a value of ${a} was configured. Sentry will use ${pn} instead.`),a=pn),typeof s=="string"&&(s=[s]);try{const l=o.event,d=Ok(l)?l.target:l;n=Ze(d,{keyAttrs:s,maxStringLength:a}),i=Zd(d)}catch{n="<unknown>"}if(n.length===0)return;const c={category:`ui.${o.name}`,message:n};i&&(c.data={"ui.component_name":i}),er(c,{event:o.event,name:o.name,global:o.global})}}function Bk(e){return function(r){if(te()!==e)return;const o={category:"console",data:{arguments:r.args,logger:"console"},level:Vu(r.level),message:Oc(r.args," ")};if(r.level==="assert")if(r.args[0]===!1)o.message=`Assertion failed: ${Oc(r.args.slice(1)," ")||"console.assert"}`,o.data.arguments=r.args.slice(1);else return;er(o,{input:r.args,level:r.level})}}function Ak(e){return function(r){if(te()!==e)return;const{startTimestamp:o,endTimestamp:n}=r,i=r.xhr[dr];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:Ku(c)};e.emit("beforeOutgoingRequestBreadcrumb",m,u),er(m,u)}}function Mk(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),er(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:Ku(s.status_code)};e.emit("beforeOutgoingRequestBreadcrumb",c,a),er(c,a)}}}function $k(e){return function(r){if(te()!==e)return;let o=r.from,n=r.to;const i=gr(ce.location.href);let s=o?gr(o):void 0;const a=gr(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),er({category:"navigation",data:{from:o,to:n}})}}function Ok(e){return!!e&&!!e.target}const Lk=["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"],Nk="BrowserApiErrors",Pk=((e={})=>{const t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...e};return{name:Nk,setupOnce(){t.setTimeout&&Ke(ce,"setTimeout",El),t.setInterval&&Ke(ce,"setInterval",El),t.requestAnimationFrame&&Ke(ce,"requestAnimationFrame",Fk),t.XMLHttpRequest&&"XMLHttpRequest"in ce&&Ke(XMLHttpRequest.prototype,"send",jk);const r=t.eventTarget;r&&(Array.isArray(r)?r:Lk).forEach(n=>Hk(n,t))}}}),Dk=Pk;function El(e){return function(...t){const r=t[0];return t[0]=Xr(r,{mechanism:{handled:!1,type:`auto.browser.browserapierrors.${Nt(e)}`}}),e.apply(this,t)}}function Fk(e){return function(t){return e.apply(this,[Xr(t,{mechanism:{data:{handler:Nt(e)},handled:!1,type:"auto.browser.browserapierrors.requestAnimationFrame"}})])}}function jk(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:Nt(i)},handled:!1,type:`auto.browser.browserapierrors.xhr.${n}`}},a=aa(i);return a&&(s.mechanism.data.handler=Nt(a)),Xr(i,s)})}),e.apply(this,t)}}function Hk(e,t){const o=ce[e]?.prototype;o?.hasOwnProperty?.("addEventListener")&&(Ke(o,"addEventListener",function(n){return function(i,s,a){try{Uk(s)&&(s.handleEvent=Xr(s.handleEvent,{mechanism:{data:{handler:Nt(s),target:e},handled:!1,type:"auto.browser.browserapierrors.handleEvent"}}))}catch{}return t.unregisterOriginalCallbacks&&zk(this,i,s),n.apply(this,[i,Xr(s,{mechanism:{data:{handler:Nt(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 Uk(e){return typeof e.handleEvent=="function"}function zk(e,t,r){e&&typeof e=="object"&&"removeEventListener"in e&&typeof e.removeEventListener=="function"&&e.removeEventListener(t,r)}const Wk=()=>({name:"BrowserSession",setupOnce(){if(typeof ce.document>"u"){lt&&x.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}tl({ignoreDuration:!0}),rl(),yi(({from:e,to:t})=>{e!==void 0&&e!==t&&(tl({ignoreDuration:!0}),rl())})}}),qk="GlobalHandlers",Vk=((e={})=>{const t={onerror:!0,onunhandledrejection:!0,...e};return{name:qk,setupOnce(){Error.stackTraceLimit=50},setup(r){t.onerror&&(Gk(r),Cl("onerror")),t.onunhandledrejection&&(Kk(r),Cl("onunhandledrejection"))}}}),Yk=Vk;function Gk(e){Gd(t=>{const{stackParser:r,attachStacktrace:o}=Ef();if(te()!==e||Qu())return;const{msg:n,url:i,line:s,column:a,error:c}=t,l=Qk(Ca(r,c||n,void 0,o,!1),i,s,a);l.level="error",Ru(l,{originalException:c,mechanism:{handled:!1,type:"auto.browser.global_handlers.onerror"}})})}function Kk(e){Kd(t=>{const{stackParser:r,attachStacktrace:o}=Ef();if(te()!==e||Qu())return;const n=Xk(t),i=qr(n)?Jk(n):Ca(r,n,void 0,o,!0);i.level="error",Ru(i,{originalException:n,mechanism:{handled:!1,type:"auto.browser.global_handlers.onunhandledrejection"}})})}function Xk(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 Jk(e){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(e)}`}]}}}function Qk(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=Zk(t)??io();return c.length===0&&c.push({colno:l,filename:u,function:_r,in_app:!0,lineno:d}),e}function Cl(e){lt&&x.log(`Global Handler attached: ${e}`)}function Ef(){return te()?.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}function Zk(e){if(!(!Mt(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 e_=()=>({name:"HttpContext",preprocessEvent(e){if(!ce.navigator&&!ce.location&&!ce.document)return;const t=Sa(),r={...t.headers,...e.request?.headers};e.request={...t,...e.request,headers:r}}}),t_="cause",r_=5,o_="LinkedErrors",n_=((e={})=>{const t=e.limit||r_,r=e.key||t_;return{name:o_,preprocessEvent(o,n,i){const s=i.getOptions();ny(wa,s.stackParser,r,t,o,n)}}}),i_=n_;function s_(){return a_()?(lt&&Ut(()=>{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 a_(){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 Cf(e){return[Xb(),Vb(),Dk(),Tk(),Yk(),i_(),ly(),e_(),Wk()]}function c_(e={}){const t=!e.skipBrowserExtensionCheck&&s_();let r=e.defaultIntegrations==null?Cf():e.defaultIntegrations;const o={...e,enabled:t?!1:e.enabled,stackParser:Jh(e.stackParser||Ek),integrations:lb({integrations:e.integrations,defaultIntegrations:r}),transport:e.transport||dk};return Ab(Wy,o)}const ve=ee,Aa="sentryReplaySession",l_="replay_event",Ma="Unable to send Replay",d_=3e5,u_=9e5,f_=5e3,p_=5500,m_=6e4,h_=5e3,g_=3,xl=15e4,mn=5e3,b_=3e3,y_=300,$a=2e7,v_=4999,k_=5e4,Tl=36e5;var __=Object.defineProperty,S_=(e,t,r)=>t in e?__(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Rl=(e,t,r)=>S_(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 w_(e){return e.nodeType===e.ELEMENT_NODE}function wo(e){return e?.host?.shadowRoot===e}function Eo(e){return Object.prototype.toString.call(e)==="[object ShadowRoot]"}function E_(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 C_(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 Jn(e){try{const t=e.rules||e.cssRules;return t?E_(Array.from(t,xf).join("")):null}catch{return null}}function x_(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 xf(e){let t;if(R_(e))try{t=Jn(e.styleSheet)||C_(e)}catch{}else if(I_(e)){let r=e.cssText;const o=e.selectorText.includes(":"),n=typeof e.style.all=="string"&&e.style.all;if(n&&(r=x_(e)),o&&(r=T_(r)),o||n)return r}return t||e.cssText}function T_(e){const t=/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm;return e.replace(t,"$1\\$2")}function R_(e){return"styleSheet"in e}function I_(e){return"selectorText"in e}class Tf{constructor(){Rl(this,"idNodeMap",new Map),Rl(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 B_(){return new Tf}function vi({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 $s(e){return e.toUpperCase()}const Il="__rrweb_original__";function A_(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=Il in i?i[Il]: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 Oa(e){const t=e.type;return e.hasAttribute("data-rr-is-password")?"password":t?Jr(t):null}function Qn(e,t,r){return t==="INPUT"&&(r==="radio"||r==="checkbox")?e.getAttribute("value")||"":e.value}function Rf(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 Bl={};function If(e){const t=Bl[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 Bl[e]=o.bind(window)}function Os(...e){return If("setTimeout")(...e)}function Bf(...e){return If("clearTimeout")(...e)}function Af(e){try{return e.contentDocument}catch{}}let M_=1;const $_=new RegExp("[^a-z0-9-_:]"),$o=-2;function La(){return M_++}function O_(e){if(e instanceof HTMLFormElement)return"form";const t=Jr(e.tagName);return $_.test(t)?"div":t}function L_(e){let t="";return e.indexOf("//")>-1?t=e.split("/").slice(0,3).join("/"):t=e.split("/")[0],t=t.split("?")[0],t}let Mr,Al;const N_=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,P_=/^(?:[a-z+]+:)?\/\//i,D_=/^www\..*/i,F_=/^(data:)([^,]*),(.*)/i;function j_(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 Zn(e,t){return(e||"").replace(N_,(r,o,n,i,s,a)=>{const c=n||s||a,l=o||i||"";if(!c)return r;if(P_.test(c)||D_.test(c))return`url(${l}${c}${l})`;if(F_.test(c))return`url(${l}${c}${l})`;if(c[0]==="/")return`url(${l}${L_(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 H_=/^[^ \t\n\r\u000c]+/,U_=/^[, \t\n\r\u000c]+/;function z_(e,t){if(t.trim()==="")return t;let r=0;function o(i){let s;const a=i.exec(t.substring(r));return a?(s=a[0],r+=s.length,s):""}const n=[];for(;o(U_),!(r>=t.length);){let i=o(H_);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 Ml=new WeakMap;function Pr(e,t){return!t||t.trim()===""?t:ki(e,t)}function W_(e){return!!(e.tagName==="svg"||e.ownerSVGElement)}function ki(e,t){let r=Ml.get(e);if(r||(r=e.createElement("a"),Ml.set(e,r)),!t)t="";else if(t.startsWith("blob:")||t.startsWith("data:"))return t;return r.setAttribute("href",t),r.href}function Mf(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 z_(e,o);if(r==="style"){let a=Zn(o,ki(e));return s&&s.size>0&&(a=j_(a,s)),a}else if(t==="object"&&r==="data")return Pr(e,o);return typeof i=="function"?i(r,o,n):o}function $f(e,t,r){return(e==="video"||e==="audio")&&t==="autoplay"}function q_(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 V_(e,t){for(let r=e.classList.length;r--;){const o=e.classList[r];if(t.test(o))return!0}return!1}function ur(e,t,r=1/0,o=0){return!e||e.nodeType!==e.ELEMENT_NODE||o>r?-1:t(e)?o:ur(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(V_(o,e))return!0}return!!(t&&o.matches(t))}catch{return!1}}}function Qr(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=ur(s,Dr(o,n)),c<0)return!0;a=ur(s,Dr(t,r),c>=0?c:1/0)}else{if(a=ur(s,Dr(t,r)),a<0)return!1;c=ur(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 Y_(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=Os(()=>{n||(t(),n=!0)},r);e.addEventListener("load",()=>{Bf(a),n=!0,t()});return}const s="about:blank";if(o.location.href!==s||e.src===s||e.src==="")return Os(t,0),e.addEventListener("load",t);e.addEventListener("load",t)}function G_(e,t,r){let o=!1,n;try{n=e.sheet}catch{return}if(n)return;const i=Os(()=>{o||(t(),o=!0)},r);e.addEventListener("load",()=>{Bf(i),o=!0,t()})}function K_(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:h,maskInputFn:g,dataURLOptions:b={},inlineImages:_,recordCanvas:S,keepIframeSrcFn:w,newlyAddedElement:I=!1,ignoreCSSAttributes:B}=t,v=X_(r,o);switch(e.nodeType){case e.DOCUMENT_NODE:return e.compatMode!=="CSS1Compat"?{type:Me.Document,childNodes:[],compatMode:e.compatMode}:{type:Me.Document,childNodes:[]};case e.DOCUMENT_TYPE_NODE:return{type:Me.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:v};case e.ELEMENT_NODE:return Q_(e,{doc:r,blockClass:n,blockSelector:i,unblockSelector:s,inlineStylesheet:p,maskAttributeFn:c,maskInputOptions:f,maskInputFn:g,dataURLOptions:b,inlineImages:_,recordCanvas:S,keepIframeSrcFn:w,newlyAddedElement:I,rootId:v,maskTextClass:l,unmaskTextClass:d,maskTextSelector:u,unmaskTextSelector:m,ignoreCSSAttributes:B});case e.TEXT_NODE:return J_(e,{doc:r,maskAllText:a,maskTextClass:l,unmaskTextClass:d,maskTextSelector:u,unmaskTextSelector:m,maskTextFn:h,maskInputOptions:f,maskInputFn:g,rootId:v});case e.CDATA_SECTION_NODE:return{type:Me.CDATA,textContent:"",rootId:v};case e.COMMENT_NODE:return{type:Me.Comment,textContent:e.textContent||"",rootId:v};default:return!1}}function X_(e,t){if(!t.hasNode(e))return;const r=t.getId(e);return r===1?void 0:r}function J_(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,h=u==="TEXTAREA"?!0:void 0;if(p&&m){try{e.nextSibling||e.previousSibling||e.parentNode.sheet?.cssRules&&(m=Jn(e.parentNode.sheet))}catch(b){console.warn(`Cannot get CSS styles from text's parentNode. Error: ${b}`,e)}m=Zn(m,ki(t.doc))}f&&(m="SCRIPT_PLACEHOLDER");const g=Qr(e,o,i,n,s,r);if(!p&&!f&&!h&&m&&g&&(m=a?a(m,e.parentElement):m.replace(/[\S]/g,"*")),h&&m&&(c.textarea||g)&&(m=l?l(m,e.parentNode):m.replace(/[\S]/g,"*")),u==="OPTION"&&m){const b=vi({type:null,tagName:u,maskInputOptions:c});m=Mo({isMasked:Qr(e,o,i,n,s,b),element:e,value:m,maskInputFn:l})}return{type:Me.Text,textContent:m||"",isStyle:p,rootId:d}}function Q_(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:h,maskTextClass:g,unmaskTextClass:b,maskTextSelector:_,unmaskTextSelector:S,ignoreCSSAttributes:w}=t,I=q_(e,o,n,i),B=O_(e);let v={};const R=e.attributes.length;for(let T=0;T<R;T++){const A=e.attributes[T];A.name&&!$f(B,A.name,A.value)&&(v[A.name]=Mf(r,B,Jr(A.name),A.value,e,c,w))}if(B==="link"&&s){const T=Array.from(r.styleSheets).find(D=>D.href===e.href);let A=null;T&&(A=Jn(T)),A&&(v.rel=null,v.href=null,v.crossorigin=null,v._cssText=Zn(A,T.href))}if(B==="style"&&e.sheet&&!(e.innerText||e.textContent||"").trim().length){const T=Jn(e.sheet);T&&(v._cssText=Zn(T,ki(r)))}if(B==="input"||B==="textarea"||B==="select"||B==="option"){const T=e,A=Oa(T),D=Qn(T,$s(B),A),P=T.checked;if(A!=="submit"&&A!=="button"&&D){const L=Qr(T,g,_,b,S,vi({type:A,tagName:$s(B),maskInputOptions:a}));v.value=Mo({isMasked:L,element:T,value:D,maskInputFn:l})}P&&(v.checked=P)}if(B==="option"&&(e.selected&&!a.select?v.selected=!0:delete v.selected),B==="canvas"&&m){if(e.__context==="2d")A_(e)||(v.rr_dataURL=e.toDataURL(d.type,d.quality));else if(!("__context"in e)){const T=e.toDataURL(d.type,d.quality),A=r.createElement("canvas");A.width=e.width,A.height=e.height;const D=A.toDataURL(d.type,d.quality);T!==D&&(v.rr_dataURL=T)}}if(B==="img"&&u){Mr||(Mr=r.createElement("canvas"),Al=Mr.getContext("2d"));const T=e,A=T.currentSrc||T.getAttribute("src")||"<unknown-src>",D=T.crossOrigin,P=()=>{T.removeEventListener("load",P);try{Mr.width=T.naturalWidth,Mr.height=T.naturalHeight,Al.drawImage(T,0,0),v.rr_dataURL=Mr.toDataURL(d.type,d.quality)}catch(L){if(T.crossOrigin!=="anonymous"){T.crossOrigin="anonymous",T.complete&&T.naturalWidth!==0?P():T.addEventListener("load",P);return}else console.warn(`Cannot inline img src=${A}! Error: ${L}`)}T.crossOrigin==="anonymous"&&(D?v.crossOrigin=D:T.removeAttribute("crossorigin"))};T.complete&&T.naturalWidth!==0?P():T.addEventListener("load",P)}if((B==="audio"||B==="video")&&(v.rr_mediaState=e.paused?"paused":"played",v.rr_mediaCurrentTime=e.currentTime),f||(e.scrollLeft&&(v.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(v.rr_scrollTop=e.scrollTop)),I){const{width:T,height:A}=e.getBoundingClientRect();v={class:v.class,rr_width:`${T}px`,rr_height:`${A}px`}}B==="iframe"&&!p(v.src)&&(!I&&!Af(e)&&(v.rr_src=v.src),delete v.src);let J;try{customElements.get(B)&&(J=!0)}catch{}return{type:Me.Element,tagName:B,attributes:v,childNodes:[],isSVG:W_(e)||void 0,needBlock:I,rootId:h,isCustom:J}}function ye(e){return e==null?"":e.toLowerCase()}function Z_(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"&&Rf(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:h,maskTextFn:g,maskInputFn:b,slimDOMOptions:_,dataURLOptions:S={},inlineImages:w=!1,recordCanvas:I=!1,onSerialize:B,onIframeLoad:v,iframeLoadTimeout:R=5e3,onBlockedImageLoad:J,onStylesheetLoad:T,stylesheetLoadTimeout:A=5e3,keepIframeSrcFn:D=()=>!1,newlyAddedElement:P=!1,ignoreCSSAttributes:L}=t;let{preserveWhiteSpace:Q=!0}=t;const F=K_(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:h,maskTextFn:g,maskInputFn:b,dataURLOptions:S,inlineImages:w,recordCanvas:I,keepIframeSrcFn:D,newlyAddedElement:P,ignoreCSSAttributes:L});if(!F)return console.warn(e,"not serialized"),null;let U;o.hasNode(e)?U=o.getId(e):Z_(F,_)||!Q&&F.type===Me.Text&&!F.isStyle&&!F.textContent.replace(/^\s+|\s+$/gm,"").length?U=$o:U=La();const E=Object.assign(F,{id:U});if(o.add(e,E),U===$o)return null;B&&B(e);let W=!m;if(E.type===Me.Element){W=W&&!E.needBlock;const $=e.shadowRoot;$&&Eo($)&&(E.isShadowHost=!0)}if((E.type===Me.Document||E.type===Me.Element)&&W){_.headWhitespace&&E.type===Me.Element&&E.tagName==="head"&&(Q=!1);const $={doc:r,mirror:o,blockClass:n,blockSelector:i,maskAllText:a,unblockSelector:s,maskTextClass:c,unmaskTextClass:l,maskTextSelector:d,unmaskTextSelector:u,skipChild:m,inlineStylesheet:p,maskInputOptions:f,maskAttributeFn:h,maskTextFn:g,maskInputFn:b,slimDOMOptions:_,dataURLOptions:S,inlineImages:w,recordCanvas:I,preserveWhiteSpace:Q,onSerialize:B,onIframeLoad:v,iframeLoadTimeout:R,onBlockedImageLoad:J,onStylesheetLoad:T,stylesheetLoadTimeout:A,keepIframeSrcFn:D,ignoreCSSAttributes:L},q=e.childNodes?Array.from(e.childNodes):[];for(const V of q){const ue=Fr(V,$);ue&&E.childNodes.push(ue)}if(w_(e)&&e.shadowRoot)for(const V of Array.from(e.shadowRoot.childNodes)){const ue=Fr(V,$);ue&&(Eo(e.shadowRoot)&&(ue.isShadow=!0),E.childNodes.push(ue))}}if(e.parentNode&&wo(e.parentNode)&&Eo(e.parentNode)&&(E.isShadow=!0),E.type===Me.Element&&E.tagName==="iframe"&&!E.needBlock&&Y_(e,()=>{const $=Af(e);if($&&v){const q=Fr($,{doc:$,mirror:o,blockClass:n,blockSelector:i,unblockSelector:s,maskAllText:a,maskTextClass:c,unmaskTextClass:l,maskTextSelector:d,unmaskTextSelector:u,skipChild:!1,inlineStylesheet:p,maskInputOptions:f,maskAttributeFn:h,maskTextFn:g,maskInputFn:b,slimDOMOptions:_,dataURLOptions:S,inlineImages:w,recordCanvas:I,preserveWhiteSpace:Q,onSerialize:B,onIframeLoad:v,iframeLoadTimeout:R,onStylesheetLoad:T,stylesheetLoadTimeout:A,keepIframeSrcFn:D,ignoreCSSAttributes:L});q&&v(e,q)}},R),E.type===Me.Element&&E.tagName==="img"&&!e.complete&&E.needBlock){const $=e,q=()=>{if($.isConnected&&!$.complete&&J)try{const V=$.getBoundingClientRect();V.width>0&&V.height>0&&J($,E,V)}catch{}$.removeEventListener("load",q)};$.isConnected&&$.addEventListener("load",q)}return E.type===Me.Element&&E.tagName==="link"&&typeof E.attributes.rel=="string"&&(E.attributes.rel==="stylesheet"||E.attributes.rel==="preload"&&typeof E.attributes.href=="string"&&Rf(E.attributes.href)==="css")&&G_(e,()=>{if(T){const $=Fr(e,{doc:r,mirror:o,blockClass:n,blockSelector:i,unblockSelector:s,maskAllText:a,maskTextClass:c,unmaskTextClass:l,maskTextSelector:d,unmaskTextSelector:u,skipChild:!1,inlineStylesheet:p,maskInputOptions:f,maskAttributeFn:h,maskTextFn:g,maskInputFn:b,slimDOMOptions:_,dataURLOptions:S,inlineImages:w,recordCanvas:I,preserveWhiteSpace:Q,onSerialize:B,onIframeLoad:v,iframeLoadTimeout:R,onStylesheetLoad:T,stylesheetLoadTimeout:A,keepIframeSrcFn:D,ignoreCSSAttributes:L});$&&T(e,$)}},A),E.type===Me.Element&&delete E.needBlock,E}function eS(e,t){const{mirror:r=new Tf,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:h,maskTextFn:g,maskInputFn:b,slimDOM:_=!1,dataURLOptions:S,preserveWhiteSpace:w,onSerialize:I,onIframeLoad:B,iframeLoadTimeout:v,onBlockedImageLoad:R,onStylesheetLoad:J,stylesheetLoadTimeout:T,keepIframeSrcFn:A=()=>!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:h,maskTextFn:g,maskInputFn:b,slimDOMOptions:_===!0||_==="all"?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:_==="all",headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:_===!1?{}:_,dataURLOptions:S,inlineImages:m,recordCanvas:p,preserveWhiteSpace:w,onSerialize:I,onIframeLoad:B,iframeLoadTimeout:v,onBlockedImageLoad:R,onStylesheetLoad:J,stylesheetLoadTimeout:T,keepIframeSrcFn:A,newlyAddedElement:!1,ignoreCSSAttributes:D})}function Ve(e,t,r=document){const o={capture:!0,passive:!0};return r.addEventListener(e,t,o),()=>r.removeEventListener(e,t,o)}const $r=`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 $l={map:{},getId(){return console.error($r),-1},getNode(){return console.error($r),null},removeNodeFromMap(){console.error($r)},has(){return console.error($r),!1},reset(){console.error($r)}};typeof window<"u"&&window.Proxy&&window.Reflect&&($l=new Proxy($l,{get(e,t,r){return t==="map"&&console.error($r),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&&(aS(o),o=null),n=s,e.apply(c,i)):!o&&r.trailing!==!1&&(o=_i(()=>{n=r.leading===!1?0:Date.now(),o=null,e.apply(c,i)},a))}}function Of(e,t,r,o,n=window){const i=n.Object.getOwnPropertyDescriptor(e,t);return n.Object.defineProperty(e,t,o?r:{set(s){_i(()=>{r.set.call(this,s)},0),i&&i.set&&i.set.call(this,s)}}),()=>Of(e,t,i||{},!0)}function Na(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 ei=Date.now;/[1-9][0-9]{12}/.test(Date.now().toString())||(ei=()=>new Date().getTime());function Lf(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 Nf(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function Pf(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function Df(e){if(!e)return null;try{return e.nodeType===e.ELEMENT_NODE?e:e.parentElement}catch{return null}}function ot(e,t,r,o,n){if(!e)return!1;const i=Df(e);if(!i)return!1;const s=Dr(t,r);if(!n){const l=o&&i.matches(o);return s(i)&&!l}const a=ur(i,s);let c=-1;return a<0?!1:(o&&(c=ur(i,Dr(null,o))),a>-1&&c<0?!0:a<c)}function tS(e,t){return t.getId(e)!==-1}function Yi(e,t){return t.getId(e)===$o}function Ff(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?Ff(e.parentNode,t):!0:!0}function Ls(e){return!!e.changedTouches}function rS(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 jf(e,t){return!!(e.nodeName==="IFRAME"&&t.getMeta(e))}function Hf(e,t){return!!(e.nodeName==="LINK"&&e.nodeType===e.ELEMENT_NODE&&e.getAttribute&&e.getAttribute("rel")==="stylesheet"&&t.getMeta(e))}function Ns(e){return!!e?.shadowRoot}class oS{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 Uf(e){let t=null;return e.getRootNode?.()?.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&e.getRootNode().host&&(t=e.getRootNode().host),t}function nS(e){let t=e,r;for(;r=Uf(t);)t=r;return t}function iS(e){const t=e.ownerDocument;if(!t)return!1;const r=nS(e);return t.contains(r)}function zf(e){const t=e.ownerDocument;return t?t.contains(e)||iS(e):!1}const Ol={};function Pa(e){const t=Ol[e];if(t)return t;const r=window.document;let o=window[e];if(r&&typeof r.createElement=="function")try{const n=r.createElement("iframe");n.hidden=!0,r.head.appendChild(n);const i=n.contentWindow;i&&i[e]&&(o=i[e]),r.head.removeChild(n)}catch{}return Ol[e]=o.bind(window)}function sS(...e){return Pa("requestAnimationFrame")(...e)}function _i(...e){return Pa("setTimeout")(...e)}function aS(...e){return Pa("clearTimeout")(...e)}var X=(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))(X||{}),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||{}),qe=(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))(qe||{}),It=(e=>(e[e.Mouse=0]="Mouse",e[e.Pen=1]="Pen",e[e.Touch=2]="Touch",e))(It||{}),Or=(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))(Or||{});function Da(e){try{return e.contentDocument}catch{}}function cS(e){try{return e.contentWindow}catch{}}function Ll(e){return"__ln"in e}class lS{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&&Ll(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&&Ll(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 Nl=(e,t)=>`${e}@${t}`;class dS{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 lS,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||!zf(c))return;const l=wo(c.parentNode)?this.mirror.getId(Uf(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=>{jf(m,this.mirror)&&!ot(m,this.blockClass,this.blockSelector,this.unblockSelector,!1)&&this.iframeManager.addIframe(m),Hf(m,this.mirror)&&this.stylesheetManager.trackLinkElement(m),Ns(c)&&this.shadowDomManager.addShadowRoot(c.shadowRoot,this.doc)},onIframeLoad:(m,p)=>{ot(m,this.blockClass,this.blockSelector,this.unblockSelector,!1)||(this.iframeManager.attachIframe(m,p),m.contentWindow&&this.canvasManager.addWindow(m.contentWindow),this.shadowDomManager.observeAttachShadow(m))},onStylesheetLoad:(m,p)=>{this.stylesheetManager.attachLinkElement(m,p)},onBlockedImageLoad:(m,p,{width:f,height:h})=>{this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:p.id,attributes:{style:{width:`${f}px`,height:`${h}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)Pl(this.removes,c,this.mirror)&&!this.movedSet.has(c.parentNode)||i(c);for(const c of this.addedSet)!Dl(this.droppedSet,c)&&!Pl(this.removes,c,this.mirror)||Dl(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(!Yi(t.target,this.mirror))switch(t.type){case"characterData":{const r=t.target.textContent;!ot(t.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)&&r!==t.oldValue&&this.texts.push({value:Qr(t.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,this.maskAllText)&&r?this.maskTextFn?this.maskTextFn(r,Df(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=Oa(r),a=r.tagName;n=Qn(r,a,s);const c=vi({maskInputOptions:this.maskInputOptions,tagName:a,type:s}),l=Qr(t.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,c);n=Mo({isMasked:l,element:r,value:n,maskInputFn:this.maskInputFn})}if(ot(t.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||n===t.oldValue)return;let i=this.attributeMap.get(t.target);if(r.tagName==="IFRAME"&&o==="src"&&!this.keepIframeSrcFn(n))if(!Da(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"),!$f(r.tagName,o)&&(i.attributes[o]=Mf(this.doc,Jr(r.tagName),Jr(o),n,r,this.maskAttributeFn),o==="style")){if(!this.unattachedDoc)try{this.unattachedDoc=document.implementation.createHTMLDocument()}catch{this.unattachedDoc=this.doc}const s=this.unattachedDoc.createElement("span");t.oldValue&&s.setAttribute("style",t.oldValue);for(const a of Array.from(r.style)){const c=r.style.getPropertyValue(a),l=r.style.getPropertyPriority(a);c!==s.style.getPropertyValue(a)||l!==s.style.getPropertyPriority(a)?l===""?i.styleDiff[a]=c:i.styleDiff[a]=[c,l]:i._unchangedStyles[a]=[c,l]}for(const a of Array.from(s.style))r.style.getPropertyValue(a)===""&&(i.styleDiff[a]=!1)}break}case"childList":{if(ot(t.target,this.blockClass,this.blockSelector,this.unblockSelector,!0))return;t.addedNodes.forEach(r=>this.genAdds(r,t.target)),t.removedNodes.forEach(r=>{const o=this.mirror.getId(r),n=wo(t.target)?this.mirror.getId(t.target.host):this.mirror.getId(t.target);ot(t.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||Yi(r,this.mirror)||!tS(r,this.mirror)||(this.addedSet.has(r)?(Ps(this.addedSet,r),this.droppedSet.add(r)):this.addedSet.has(t.target)&&o===-1||Ff(t.target,this.mirror)||(this.movedSet.has(r)&&this.movedMap[Nl(o,n)]?Ps(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(Yi(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[Nl(this.mirror.getId(t),o)]=!0)}else this.addedSet.add(t),this.droppedSet.delete(t);ot(t,this.blockClass,this.blockSelector,this.unblockSelector,!1)||(t.childNodes&&t.childNodes.forEach(o=>this.genAdds(o)),Ns(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 Ps(e,t){e.delete(t),t.childNodes?.forEach(r=>Ps(e,r))}function Pl(e,t,r){return e.length===0?!1:uS(e,t,r)}function uS(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 Dl(e,t){return e.size===0?!1:Wf(e,t)}function Wf(e,t){const{parentNode:r}=t;return r?e.has(r)?!0:Wf(e,r):!1}let Co;function fS(e){Co=e}function pS(){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 Zo(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 dS;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 mS({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=Zo(u),{clientX:p,clientY:f}=Ls(u)?u.changedTouches[0]:u;a||(a=ei()),s.push({x:p,y:f,id:o.getId(m),timeOffset:ei()-a}),c(typeof DragEvent<"u"&&u instanceof DragEvent?Y.Drag:u instanceof MouseEvent?Y.MouseMove:Y.TouchMove)}),n,{trailing:!1})),d=[Ve("mousemove",l,r),Ve("touchmove",l,r),Ve("drag",l,r)];return se(()=>{d.forEach(u=>u())})}function hS({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=Zo(m);if(ot(p,o,n,i,!0))return;let f=null,h=u;if("pointerType"in m){switch(m.pointerType){case"mouse":f=It.Mouse;break;case"touch":f=It.Touch;break;case"pen":f=It.Pen;break}f===It.Touch?qe[u]===qe.MouseDown?h="TouchStart":qe[u]===qe.MouseUp&&(h="TouchEnd"):It.Pen}else Ls(m)&&(f=It.Touch);f!==null?(l=f,(h.startsWith("Touch")&&f===It.Touch||h.startsWith("Mouse")&&f===It.Mouse)&&(f=null)):qe[u]===qe.Click&&(f=l,l=null);const g=Ls(m)?m.changedTouches[0]:m;if(!g)return;const b=r.getId(p),{clientX:_,clientY:S}=g;se(e)({type:qe[h],id:b,x:_,y:S,...f!==null&&{pointerType:f}})};return Object.keys(qe).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(qe[u]){case qe.MouseDown:case qe.MouseUp:m=m.replace("mouse","pointer");break;case qe.TouchStart:case qe.TouchEnd:return}c.push(Ve(m,p,t))}),se(()=>{c.forEach(u=>u())})}function Vf({scrollCb:e,doc:t,mirror:r,blockClass:o,blockSelector:n,unblockSelector:i,sampling:s}){const a=se(Oo(se(c=>{const l=Zo(c);if(!l||ot(l,o,n,i,!0))return;const d=r.getId(l);if(l===t&&t.defaultView){const u=Lf(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 Ve("scroll",a,t)}function gS({viewportResizeCb:e},{win:t}){let r=-1,o=-1;const n=se(Oo(se(()=>{const i=Nf(),s=Pf();(r!==i||o!==s)&&(e({width:Number(s),height:Number(i)}),r=i,o=s)}),200));return Ve("resize",n,t)}const bS=["INPUT","TEXTAREA","SELECT"],Fl=new WeakMap;function yS({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:h}){function g(v){let R=Zo(v);const J=v.isTrusted,T=R&&$s(R.tagName);if(T==="OPTION"&&(R=R.parentElement),!R||!T||bS.indexOf(T)<0||ot(R,o,n,i,!0))return;const A=R;if(A.classList.contains(s)||a&&A.matches(a))return;const D=Oa(R);let P=Qn(A,T,D),L=!1;const Q=vi({maskInputOptions:c,tagName:T,type:D}),F=Qr(R,m,f,p,h,Q);(D==="radio"||D==="checkbox")&&(L=R.checked),P=Mo({isMasked:F,element:R,value:P,maskInputFn:l}),b(R,u?{text:P,isChecked:L,userTriggered:J}:{text:P,isChecked:L});const U=R.name;D==="radio"&&U&&L&&t.querySelectorAll(`input[type="radio"][name="${U}"]`).forEach(E=>{if(E!==R){const W=Mo({isMasked:F,element:E,value:Qn(E,T,D),maskInputFn:l});b(E,u?{text:W,isChecked:!L,userTriggered:!1}:{text:W,isChecked:!L})}})}function b(v,R){const J=Fl.get(v);if(!J||J.text!==R.text||J.isChecked!==R.isChecked){Fl.set(v,R);const T=r.getId(v);se(e)({...R,id:T})}}const S=(d.input==="last"?["change"]:["input","change"]).map(v=>Ve(v,se(g),t)),w=t.defaultView;if(!w)return()=>{S.forEach(v=>v())};const I=w.Object.getOwnPropertyDescriptor(w.HTMLInputElement.prototype,"value"),B=[[w.HTMLInputElement.prototype,"value"],[w.HTMLInputElement.prototype,"checked"],[w.HTMLSelectElement.prototype,"value"],[w.HTMLTextAreaElement.prototype,"value"],[w.HTMLSelectElement.prototype,"selectedIndex"],[w.HTMLOptionElement.prototype,"selected"]];return I&&I.set&&S.push(...B.map(v=>Of(v[0],v[1],{set(){se(g)({target:this,isTrusted:!1})}},!1,w))),se(()=>{S.forEach(v=>v())})}function ti(e){const t=[];function r(o,n){if(hn("CSSGroupingRule")&&o.parentRule instanceof CSSGroupingRule||hn("CSSMediaRule")&&o.parentRule instanceof CSSMediaRule||hn("CSSSupportsRule")&&o.parentRule instanceof CSSSupportsRule||hn("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 qt(e,t,r){let o,n;return e?(e.ownerNode?o=t.getId(e.ownerNode):n=r.getId(e),{styleId:n,id:o}):{}}function vS({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:h,styleId:g}=qt(u,t,r.styleMirror);return(h&&h!==-1||g&&g!==-1)&&e({id:h,styleId:g,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:h}=qt(u,t,r.styleMirror);return(f&&f!==-1||h&&h!==-1)&&e({id:f,styleId:h,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:h}=qt(u,t,r.styleMirror);return(f&&f!==-1||h&&h!==-1)&&e({id:f,styleId:h,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:h}=qt(u,t,r.styleMirror);return(f&&f!==-1||h&&h!==-1)&&e({id:f,styleId:h,replaceSync:p}),d.apply(u,m)})}));const c={};gn("CSSGroupingRule")?c.CSSGroupingRule=o.CSSGroupingRule:(gn("CSSMediaRule")&&(c.CSSMediaRule=o.CSSMediaRule),gn("CSSConditionRule")&&(c.CSSConditionRule=o.CSSConditionRule),gn("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[h,g]=f,{id:b,styleId:_}=qt(p.parentStyleSheet,t,r.styleMirror);return(b&&b!==-1||_&&_!==-1)&&e({id:b,styleId:_,adds:[{rule:h,index:[...ti(p),g||0]}]}),m.apply(p,f)})}),u.prototype.deleteRule=new Proxy(l[d].deleteRule,{apply:se((m,p,f)=>{const[h]=f,{id:g,styleId:b}=qt(p.parentStyleSheet,t,r.styleMirror);return(g&&g!==-1||b&&b!==-1)&&e({id:g,styleId:b,removes:[{index:[...ti(p),h]}]}),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 Yf({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 kS({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}=qt(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:ti(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}=qt(c.parentRule?.parentStyleSheet,t,o.styleMirror);return(u&&u!==-1||m&&m!==-1)&&e({id:u,styleId:m,remove:{property:d},index:ti(c.parentRule)}),a.apply(c,l)})}),se(()=>{n.CSSStyleDeclaration.prototype.setProperty=i,n.CSSStyleDeclaration.prototype.removeProperty=s})}function _S({mediaInteractionCb:e,blockClass:t,blockSelector:r,unblockSelector:o,mirror:n,sampling:i,doc:s}){const a=se(l=>Oo(se(d=>{const u=Zo(d);if(!u||ot(u,t,r,o,!0))return;const{currentTime:m,volume:p,muted:f,playbackRate:h}=u;e({type:l,id:n.getId(u),currentTime:m,volume:p,muted:f,playbackRate:h})}),i.media||500)),c=[Ve("play",a(Or.Play),s),Ve("pause",a(Or.Pause),s),Ve("seeked",a(Or.Seeked),s),Ve("volumechange",a(Or.VolumeChange),s),Ve("ratechange",a(Or.RateChange),s)];return se(()=>{c.forEach(l=>l())})}function SS({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=Na(t.fonts,"add",function(a){return function(c){return _i(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 wS(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:h,endContainer:g,endOffset:b}=p;ot(f,o,n,i,!0)||ot(g,o,n,i,!0)||d.push({start:r.getId(f),startOffset:h,end:r.getId(g),endOffset:b})}s({ranges:d})});return c(),Ve("selectionchange",c)}function ES({doc:e,customElementCb:t}){const r=e.defaultView;return!r||!r.customElements?()=>{}:Na(r.customElements,"define",function(n){return function(i,s,a){try{t({define:{name:i}})}catch{}return n.apply(this,[i,s,a])}})}function CS(e,t={}){const r=e.doc.defaultView;if(!r)return()=>{};let o;e.recordDOM&&(o=qf(e,e.doc));const n=mS(e),i=hS(e),s=Vf(e),a=gS(e,{win:r}),c=yS(e),l=_S(e);let d=()=>{},u=()=>{},m=()=>{},p=()=>{};e.recordDOM&&(d=vS(e,{win:r}),u=Yf(e,e.doc),m=kS(e,{win:r}),e.collectFonts&&(p=SS(e)));const f=wS(e),h=ES(e),g=[];for(const b of e.plugins)g.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(),h(),g.forEach(b=>b())})}function hn(e){return typeof window[e]<"u"}function gn(e){return!!(typeof window[e]<"u"&&window[e].prototype&&"insertRule"in window[e].prototype&&"deleteRule"in window[e].prototype)}class Ds{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 xS{constructor(){this.crossOriginIframeMirror=new Ds(La),this.crossOriginIframeRootIdMap=new WeakMap}addIframe(){}addLoadListener(){}attachIframe(){}}class TS{constructor(t){this.iframes=new WeakMap,this.crossOriginIframeMap=new WeakMap,this.crossOriginIframeMirror=new Ds(La),this.crossOriginIframeRootIdMap=new WeakMap,this.mutationCb=t.mutationCb,this.wrappedEmit=t.wrappedEmit,this.stylesheetManager=t.stylesheetManager,this.recordCrossOriginIframes=t.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new Ds(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=Da(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 X.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:X.IncrementalSnapshot,data:{source:Y.Mutation,adds:[{parentId:this.mirror.getId(t),nextId:null,node:r.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}}}case X.Meta:case X.Load:case X.DomContentLoaded:return!1;case X.Plugin:return r;case X.Custom:return this.replaceIds(r.data.payload,t,["id","parentId","previousId","nextId"]),r;case X.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 RS{init(){}addShadowRoot(){}observeAttachShadow(){}reset(){}}class IS{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(Vf({...this.bypassOptions,scrollCb:this.scrollCb,doc:t,mirror:this.mirror})),_i(()=>{t.adoptedStyleSheets&&t.adoptedStyleSheets.length>0&&this.bypassOptions.stylesheetManager.adoptStyleSheets(t.adoptedStyleSheets,this.mirror.getId(t.host)),this.restoreHandlers.push(Yf({mirror:this.mirror,stylesheetManager:this.bypassOptions.stylesheetManager},t))},0)}observeAttachShadow(t){const r=Da(t),o=cS(t);!r||!o||this.patchAttachShadow(o.Element,r)}patchAttachShadow(t,r){const o=this;this.restoreHandlers.push(Na(t.prototype,"attachShadow",function(n){return function(i){const s=n.call(this,i);return this.shadowRoot&&zf(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 jl="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",BS=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var bn=0;bn<jl.length;bn++)BS[jl.charCodeAt(bn)]=bn;class Hl{reset(){}freeze(){}unfreeze(){}lock(){}unlock(){}snapshot(){}addWindow(){}addShadowRoot(){}resetShadowRoots(){}}class AS{constructor(t){this.trackedLinkElements=new WeakSet,this.styleMirror=new oS,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:xf(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 MS{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,sS(()=>{this.nodeMap=new WeakMap,this.active=!1})),this.nodeMap.set(t,(this.nodeMap.get(t)||new Set).add(r))}destroy(){}}let xe,ri;try{if(Array.from([1],e=>e*2)[0]!==2){const e=document.createElement("iframe");document.body.appendChild(e),Array.from=e.contentWindow?.Array.from||Array.from,document.body.removeChild(e)}}catch(e){console.debug("Unable to override Array.from",e)}const ut=B_();function Lt(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:h,maskInputOptions:g,slimDOMOptions:b,maskAttributeFn:_,maskInputFn:S,maskTextFn:w,maxCanvasSize:I=null,packFn:B,sampling:v={},dataURLOptions:R={},mousemoveWait:J,recordDOM:T=!0,recordCanvas:A=!1,recordCrossOriginIframes:D=!1,recordAfter:P=e.recordAfter==="DOMContentLoaded"?e.recordAfter:"load",userTriggeredOnInput:L=!1,collectFonts:Q=!1,inlineImages:F=!1,plugins:U,keepIframeSrcFn:E=()=>!1,ignoreCSSAttributes:W=new Set([]),errorHandler:$,onMutation:q,getCanvasManager:V}=e;fS($);const ue=D?window.parent===window:!0;let Ce=!1;if(!ue)try{window.parent.document&&(Ce=!1)}catch{Ce=!0}if(ue&&!t)throw new Error("emit function is required");if(!ue&&!Ce)return()=>{};J!==void 0&&v.mousemove===void 0&&(v.mousemove=J),ut.reset();const Ne=h===!0?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,radio:!0,checkbox:!0}:g!==void 0?g:{},ke=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||{};rS();let _e,pe=0;const $e=ne=>{for(const dt of U||[])dt.eventProcessor&&(ne=dt.eventProcessor(ne));return B&&!Ce&&(ne=B(ne)),ne};xe=(ne,dt)=>{const re=ne;if(re.timestamp=ei(),jr[0]?.isFrozen()&&re.type!==X.FullSnapshot&&!(re.type===X.IncrementalSnapshot&&re.data.source===Y.Mutation)&&jr.forEach(De=>De.unfreeze()),ue)t?.($e(re),dt);else if(Ce){const De={type:"rrweb",event:$e(re),origin:window.location.origin,isCheckout:dt};window.parent.postMessage(De,"*")}if(re.type===X.FullSnapshot)_e=re,pe=0;else if(re.type===X.IncrementalSnapshot){if(re.data.source===Y.Mutation&&re.data.isAttachIframe)return;pe++;const De=o&&pe>=o,de=r&&_e&&re.timestamp-_e.timestamp>r;(De||de)&&Rt(!0)}};const rt=ne=>{xe({type:X.IncrementalSnapshot,data:{source:Y.Mutation,...ne}})},bt=ne=>xe({type:X.IncrementalSnapshot,data:{source:Y.Scroll,...ne}}),sr=ne=>xe({type:X.IncrementalSnapshot,data:{source:Y.CanvasMutation,...ne}}),zt=ne=>xe({type:X.IncrementalSnapshot,data:{source:Y.AdoptedStyleSheet,...ne}}),Pe=new AS({mutationCb:rt,adoptedStyleSheetCb:zt}),Ye=typeof __RRWEB_EXCLUDE_IFRAME__=="boolean"&&__RRWEB_EXCLUDE_IFRAME__?new xS:new TS({mirror:ut,mutationCb:rt,stylesheetManager:Pe,recordCrossOriginIframes:D,wrappedEmit:xe});for(const ne of U||[])ne.getMirror&&ne.getMirror({nodeMirror:ut,crossOriginIframeMirror:Ye.crossOriginIframeMirror,crossOriginIframeStyleMirror:Ye.crossOriginIframeStyleMirror});const it=new MS,Rr=OS(V,{mirror:ut,win:window,mutationCb:ne=>xe({type:X.IncrementalSnapshot,data:{source:Y.CanvasMutation,...ne}}),recordCanvas:A,blockClass:n,blockSelector:i,unblockSelector:s,maxCanvasSize:I,sampling:v.canvas,dataURLOptions:R,errorHandler:$}),Ir=typeof __RRWEB_EXCLUDE_SHADOW_DOM__=="boolean"&&__RRWEB_EXCLUDE_SHADOW_DOM__?new RS:new IS({mutationCb:rt,scrollCb:bt,bypassOptions:{onMutation:q,blockClass:n,blockSelector:i,unblockSelector:s,maskAllText:l,maskTextClass:d,unmaskTextClass:u,maskTextSelector:m,unmaskTextSelector:p,inlineStylesheet:f,maskInputOptions:Ne,dataURLOptions:R,maskAttributeFn:_,maskTextFn:w,maskInputFn:S,recordCanvas:A,inlineImages:F,sampling:v,slimDOMOptions:ke,iframeManager:Ye,stylesheetManager:Pe,canvasManager:Rr,keepIframeSrcFn:E,processedNodeManager:it,ignoreCSSAttributes:W},mirror:ut}),Rt=(ne=!1)=>{if(!T)return;xe({type:X.Meta,data:{href:window.location.href,width:Pf(),height:Nf()}},ne),Pe.reset(),Ir.init(),jr.forEach(re=>re.lock());const dt=eS(document,{mirror:ut,blockClass:n,blockSelector:i,unblockSelector:s,maskAllText:l,maskTextClass:d,unmaskTextClass:u,maskTextSelector:m,unmaskTextSelector:p,inlineStylesheet:f,maskAllInputs:Ne,maskAttributeFn:_,maskInputFn:S,maskTextFn:w,slimDOM:ke,dataURLOptions:R,recordCanvas:A,inlineImages:F,onSerialize:re=>{jf(re,ut)&&Ye.addIframe(re),Hf(re,ut)&&Pe.trackLinkElement(re),Ns(re)&&Ir.addShadowRoot(re.shadowRoot,document)},onIframeLoad:(re,De)=>{Ye.attachIframe(re,De),re.contentWindow&&Rr.addWindow(re.contentWindow),Ir.observeAttachShadow(re)},onStylesheetLoad:(re,De)=>{Pe.attachLinkElement(re,De)},onBlockedImageLoad:(re,De,{width:de,height:ho})=>{rt({adds:[],removes:[],texts:[],attributes:[{id:De.id,attributes:{style:{width:`${de}px`,height:`${ho}px`}}}]})},keepIframeSrcFn:E,ignoreCSSAttributes:W});if(!dt)return console.warn("Failed to snapshot the document");xe({type:X.FullSnapshot,data:{node:dt,initialOffset:Lf(window)}}),jr.forEach(re=>re.unlock()),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&Pe.adoptStyleSheets(document.adoptedStyleSheets,ut.getId(document))};ri=Rt;try{const ne=[],dt=De=>se(CS)({onMutation:q,mutationCb:rt,mousemoveCb:(de,ho)=>xe({type:X.IncrementalSnapshot,data:{source:ho,positions:de}}),mouseInteractionCb:de=>xe({type:X.IncrementalSnapshot,data:{source:Y.MouseInteraction,...de}}),scrollCb:bt,viewportResizeCb:de=>xe({type:X.IncrementalSnapshot,data:{source:Y.ViewportResize,...de}}),inputCb:de=>xe({type:X.IncrementalSnapshot,data:{source:Y.Input,...de}}),mediaInteractionCb:de=>xe({type:X.IncrementalSnapshot,data:{source:Y.MediaInteraction,...de}}),styleSheetRuleCb:de=>xe({type:X.IncrementalSnapshot,data:{source:Y.StyleSheetRule,...de}}),styleDeclarationCb:de=>xe({type:X.IncrementalSnapshot,data:{source:Y.StyleDeclaration,...de}}),canvasMutationCb:sr,fontCb:de=>xe({type:X.IncrementalSnapshot,data:{source:Y.Font,...de}}),selectionCb:de=>{xe({type:X.IncrementalSnapshot,data:{source:Y.Selection,...de}})},customElementCb:de=>{xe({type:X.IncrementalSnapshot,data:{source:Y.CustomElement,...de}})},blockClass:n,ignoreClass:a,ignoreSelector:c,maskAllText:l,maskTextClass:d,unmaskTextClass:u,maskTextSelector:m,unmaskTextSelector:p,maskInputOptions:Ne,inlineStylesheet:f,sampling:v,recordDOM:T,recordCanvas:A,inlineImages:F,userTriggeredOnInput:L,collectFonts:Q,doc:De,maskAttributeFn:_,maskInputFn:S,maskTextFn:w,keepIframeSrcFn:E,blockSelector:i,unblockSelector:s,slimDOMOptions:ke,dataURLOptions:R,mirror:ut,iframeManager:Ye,stylesheetManager:Pe,shadowDomManager:Ir,processedNodeManager:it,canvasManager:Rr,ignoreCSSAttributes:W,plugins:U?.filter(de=>de.observer)?.map(de=>({observer:de.observer,options:de.options,callback:ho=>xe({type:X.Plugin,data:{plugin:de.name,payload:ho}})}))||[]},{});Ye.addLoadListener(De=>{try{ne.push(dt(De.contentDocument))}catch(de){console.warn(de)}});const re=()=>{Rt(),ne.push(dt(document))};return document.readyState==="interactive"||document.readyState==="complete"?re():(ne.push(Ve("DOMContentLoaded",()=>{xe({type:X.DomContentLoaded,data:{}}),P==="DOMContentLoaded"&&re()})),ne.push(Ve("load",()=>{xe({type:X.Load,data:{}}),P==="load"&&re()},window))),()=>{ne.forEach(De=>De()),it.destroy(),ri=void 0,pS()}}catch(ne){console.warn(ne)}}function $S(e){if(!ri)throw new Error("please take full snapshot after start recording");ri(e)}Lt.mirror=ut;Lt.takeFullSnapshot=$S;function OS(e,t){try{return e?e(t):new Hl}catch{return console.warn("Unable to initialize CanvasManager"),new Hl}}var Ul;(function(e){e[e.NotStarted=0]="NotStarted",e[e.Running=1]="Running",e[e.Stopped=2]="Stopped"})(Ul||(Ul={}));const LS=3,NS=5;function Fa(e){return e>9999999999?e:e*1e3}function Gi(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:X.Custom,timestamp:(t.timestamp||0)*1e3,data:{tag:"breadcrumb",payload:ft(t,10,1e3)}}),t.category==="console")))}const PS="button,a";function Gf(e){return e.closest(PS)||e}function Kf(e){const t=Xf(e);return!t||!(t instanceof Element)?t:Gf(t)}function Xf(e){return DS(e)?e.target:e}function DS(e){return typeof e=="object"&&!!e&&"target"in e}let Vt;function FS(e){return Vt||(Vt=[],jS()),Vt.push(e),()=>{const t=Vt?Vt.indexOf(e):-1;t>-1&&Vt.splice(t,1)}}function jS(){Ke(ve,"open",function(e){return function(...t){if(Vt)try{Vt.forEach(r=>r())}catch{}return e.apply(ve,t)}})}const HS=new Set([Y.Mutation,Y.StyleSheetRule,Y.StyleDeclaration,Y.AdoptedStyleSheet,Y.CanvasMutation,Y.Selection,Y.MediaInteraction]);function US(e,t,r){e.handleClick(t,r)}class zS{constructor(t,r,o=en){this._lastMutation=0,this._lastScroll=0,this._clicks=[],this._timeout=r.timeout/1e3,this._threshold=r.threshold/1e3,this._scrollTimeout=r.scrollTimeout/1e3,this._replay=t,this._ignoreSelector=r.ignoreSelector,this._addBreadcrumbEvent=o}addListeners(){const t=FS(()=>{this._lastMutation=zl()});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(qS(r,this._ignoreSelector)||!VS(t))return;const o={timestamp:Gi(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=Gi(t)}registerScroll(t=Date.now()){this._lastScroll=Gi(t)}registerClick(t){const r=Gf(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=zl();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=Qo(()=>this._checkClicks(),1e3)}}const WS=["A","BUTTON","INPUT"];function qS(e,t){return!!(!WS.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 VS(e){return!!(e.data&&typeof e.data.nodeId=="number"&&e.timestamp)}function zl(){return Date.now()/1e3}function YS(e,t){try{if(!GS(t))return;const{source:r}=t.data;if(HS.has(r)&&e.registerMutation(t.timestamp),r===Y.Scroll&&e.registerScroll(t.timestamp),KS(t)){const{type:o,id:n}=t.data,i=Lt.mirror.getNode(n);i instanceof HTMLElement&&o===qe.Click&&e.registerClick(i)}}catch{}}function GS(e){return e.type===LS}function KS(e){return e.data.source===Y.MouseInteraction}function _t(e){return{timestamp:Date.now()/1e3,type:"default",...e}}var ja=(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))(ja||{});const XS=new Set(["id","class","aria-label","role","name","alt","title","data-test-id","data-testid","disabled","aria-disabled","data-sentry-component"]);function JS(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(XS.has(r)){let o=r;(r==="data-testid"||r==="data-test-id")&&(o="testId"),t[o]=e[r]}return t}const QS=e=>t=>{if(!e.isEnabled())return;const r=ZS(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&&US(e.clickDetector,r,Kf(t.event)),en(e,r)};function Jf(e,t){const r=Lt.mirror.getId(e),o=r&&Lt.mirror.getNode(r),n=o&&Lt.mirror.getMeta(o),i=n&&tw(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===ja.Text&&s.textContent).filter(Boolean).map(s=>s.trim()).join(""),attributes:JS(i.attributes)}}:{}}}function ZS(e){const{target:t,message:r}=ew(e);return _t({category:`ui.${e.name}`,...Jf(t,r)})}function ew(e){const t=e.name==="click";let r,o=null;try{o=t?Kf(e.event):Xf(e.event),r=Ze(o,{maxStringLength:200})||"<unknown>"}catch{r="<unknown>"}return{target:o,message:r}}function tw(e){return e.type===ja.Element}function rw(e,t){if(!e.isEnabled())return;e.updateUserActivity();const r=ow(t);r&&en(e,r)}function ow(e){const{metaKey:t,shiftKey:r,ctrlKey:o,altKey:n,key:i,target:s}=e;if(!s||nw(s)||!i)return null;const a=t||o||n,c=i.length===1;if(!a&&c)return null;const l=Ze(s,{maxStringLength:200})||"<unknown>",d=Jf(s,l);return _t({category:"ui.keyDown",message:l,data:{...d.data,metaKey:t,shiftKey:r,ctrlKey:o,altKey:n,key:i}})}function nw(e){return e.tagName==="INPUT"||e.tagName==="TEXTAREA"||e.isContentEditable}const iw={resource:dw,paint:cw,navigation:lw};function Ki(e,t){return({metric:r})=>{t.replayPerformanceEntries.push(e(r))}}function sw(e){return e.map(aw).filter(Boolean)}function aw(e){const t=iw[e.entryType];return t?t(e):null}function Zr(e){return((tt()||ve.performance.timeOrigin)+e)/1e3}function cw(e){const{duration:t,entryType:r,name:o,startTime:n}=e,i=Zr(n);return{type:r,name:o,start:i,end:i+t,data:void 0}}function lw(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:h}=e;return n===0?null:{type:`${t}.${h}`,start:Zr(p),end:Zr(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 dw(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:Zr(i),end:Zr(n),name:o,data:{size:l,statusCode:c,decodedBodySize:s,encodedBodySize:a}}}function uw(e){const t=e.entries[e.entries.length-1],r=t?.element?[t.element]:void 0;return Ha(e,"largest-contentful-paint",r)}function fw(e){return e.sources!==void 0}function pw(e){const t=[],r=[];for(const o of e.entries)if(fw(o)){const n=[];for(const i of o.sources)if(i.node){r.push(i.node);const s=Lt.mirror.getId(i.node);s&&n.push(s)}t.push({value:o.value,nodeIds:n.length?n:void 0})}return Ha(e,"cumulative-layout-shift",r,t)}function mw(e){const t=e.entries[e.entries.length-1],r=t?.target?[t.target]:void 0;return Ha(e,"interaction-to-next-paint",r)}function Ha(e,t,r,o){const n=e.value,i=e.rating,s=Zr(n);return{type:"web-vital",name:t,start:s,end:s,data:{value:n,size:n,rating:i,nodeIds:r?r.map(a=>Lt.mirror.getId(a)):void 0,attributions:o}}}function hw(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(Er(n,r))}),o.push(Ia(Ki(uw,e)),Ra(Ki(pw,e)),df(Ki(mw,e))),()=>{o.forEach(n=>n())}}const j=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,gw='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 bw(){const e=new Blob([gw]);return URL.createObjectURL(e)}const Wl=["log","warn","error"],$n="[Replay] ";function Xi(e,t="info"){er({category:"console",data:{logger:"replay"},level:t,message:`${$n}${e}`},{level:t})}function yw(){let e=!1,t=!1;const r={exception:()=>{},infoTick:()=>{},setConfig:o=>{e=!!o.captureExceptions,t=!!o.traceInternals}};return j?(Wl.forEach(o=>{r[o]=(...n)=>{x[o]($n,...n),t&&Xi(n.join(""),Vu(o))}}),r.exception=(o,...n)=>{n.length&&r.error&&r.error(...n),x.error($n,o),e?hi(o,{mechanism:{handled:!0,type:"auto.function.replay.debug"}}):t&&Xi(o,"error")},r.infoTick=(...o)=>{x.log($n,...o),t&&setTimeout(()=>Xi(o[0]),0)}):Wl.forEach(o=>{r[o]=()=>{}}),r}const H=yw();class Ua extends Error{constructor(){super(`Event buffer exceeded maximum size of ${$a}.`)}}class Qf{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>$a)throw new Ua;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?Fa(t):null}}class vw{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 kw{constructor(t){this._worker=new vw(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=Fa(t.timestamp);(!this._earliestTimestamp||r<this._earliestTimestamp)&&(this._earliestTimestamp=r);const o=JSON.stringify(t);return this._totalSize+=o.length,this._totalSize>$a?Promise.reject(new Ua):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 _w{constructor(t){this._fallback=new Qf,this._compression=new kw(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 Sw({useCompression:e,workerUrl:t}){if(e&&window.Worker){const r=ww(t);if(r)return r}return j&&H.log("Using simple buffer"),new Qf}function ww(e){try{const t=e||Ew();if(!t)return;j&&H.log(`Using compression worker${e?` from ${e}`:""}`);const r=new Worker(t);return new _w(r)}catch(t){j&&H.exception(t,"Failed to create compression worker")}}function Ew(){return typeof __SENTRY_EXCLUDE_REPLAY_WORKER__>"u"||!__SENTRY_EXCLUDE_REPLAY_WORKER__?bw():""}function za(){try{return"sessionStorage"in ve&&!!ve.sessionStorage}catch{return!1}}function Cw(e){xw(),e.session=void 0}function xw(){if(za())try{ve.sessionStorage.removeItem(Aa)}catch{}}function Zf(e){return e===void 0?!1:Math.random()<e}function Si(e){if(za())try{ve.sessionStorage.setItem(Aa,JSON.stringify(e))}catch{}}function ep(e){const t=Date.now(),r=e.id||nt(),o=e.started||t,n=e.lastActivity||t,i=e.segmentId||0,s=e.sampled,a=e.previousSessionId,c=e.dirty||!1;return{id:r,started:o,lastActivity:n,segmentId:i,sampled:s,previousSessionId:a,dirty:c}}function Tw(e,t){return Zf(e)?"session":t?"buffer":!1}function ql({sessionSampleRate:e,allowBuffering:t,stickySession:r=!1},{previousSessionId:o}={}){const n=Tw(e,t),i=ep({sampled:n,previousSessionId:o});return r&&Si(i),i}function Rw(){if(!za())return null;try{const e=ve.sessionStorage.getItem(Aa);if(!e)return null;const t=JSON.parse(e);return j&&H.infoTick("Loading existing session"),ep(t)}catch{return null}}function Fs(e,t,r=+new Date){return e===null||t===void 0||t<0?!0:t===0?!1:e+t<=r}function tp(e,{maxReplayDuration:t,sessionIdleExpire:r,targetTime:o=Date.now()}){return Fs(e.started,t,o)||Fs(e.lastActivity,r,o)}function rp(e,{sessionIdleExpire:t,maxReplayDuration:r}){return!(!tp(e,{sessionIdleExpire:t,maxReplayDuration:r})||e.sampled==="buffer"&&e.segmentId===0)}function Ji({sessionIdleExpire:e,maxReplayDuration:t,previousSessionId:r},o){const n=o.stickySession&&Rw();return n?rp(n,{sessionIdleExpire:e,maxReplayDuration:t})?(j&&H.infoTick("Session in sessionStorage is expired, creating new one..."),ql(o,{previousSessionId:n.id})):n:(j&&H.infoTick("Creating new session"),ql(o,{previousSessionId:r}))}function Iw(e){return e.type===X.Custom}function Wa(e,t,r){return np(e,t)?(op(e,t,r),!0):!1}function Bw(e,t,r){return np(e,t)?op(e,t,r):Promise.resolve(null)}async function op(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=Aw(t,i.beforeAddRecordingEvent);return s?await o.addEvent(s):void 0}catch(i){const s=i&&i instanceof Ua,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 np(e,t){if(!e.eventBuffer||e.isPaused()||!e.isEnabled())return!1;const r=Fa(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 Aw(e,t){try{if(typeof t=="function"&&Iw(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 qa(e){return!e.type}function js(e){return e.type==="transaction"}function Mw(e){return e.type==="replay_event"}function Vl(e){return e.type==="feedback"}function $w(e){return(t,r)=>{if(!e.isEnabled()||!qa(t)&&!js(t))return;const o=r.statusCode;if(!(!o||o<200||o>=300)){if(js(t)){Ow(e,t);return}Lw(e,t)}}}function Ow(e,t){const r=e.getContext();t.contexts?.trace?.trace_id&&r.traceIds.size<100&&r.traceIds.add(t.contexts.trace.trace_id)}function Lw(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)||Qo(async()=>{try{await e.sendBufferedReplayOrFlush()}catch(n){e.handleException(n)}})}function Nw(e){return t=>{!e.isEnabled()||!qa(t)||Pw(e,t)}}function Pw(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=_t({category:"replay.hydrate-error",data:{url:io()}});en(e,o)}}function Dw(e){const t=te();t&&t.on("beforeAddBreadcrumb",r=>Fw(e,r))}function Fw(e,t){if(!e.isEnabled()||!ip(t))return;const r=jw(t);r&&en(e,r)}function jw(e){return!ip(e)||["fetch","xhr","sentry.event","sentry.transaction"].includes(e.category)||e.category.startsWith("ui.")?null:e.category==="console"?Hw(e):_t(e)}function Hw(e){const t=e.data?.arguments;if(!Array.isArray(t)||t.length===0)return _t(e);let r=!1;const o=t.map(n=>{if(!n)return n;if(typeof n=="string")return n.length>mn?(r=!0,`${n.slice(0,mn)}…`):n;if(typeof n=="object")try{const i=ft(n,7);return JSON.stringify(i).length>mn?(r=!0,`${JSON.stringify(i,null,2).slice(0,mn)}…`):i}catch{}return n});return _t({...e,data:{...e.data,arguments:o,...r?{_meta:{warnings:["CONSOLE_ARG_TRUNCATED"]}}:{}}})}function ip(e){return!!e.category}function Uw(e,t){return e.type||!e.exception?.values?.length?!1:!!t.originalException?.__rrweb__}function sp(){const e=fe().getPropagationContext().dsc;e&&delete e.replay_id;const t=je();if(t){const r=jt(t);delete r.replay_id}}function zw(e,t){e.triggerUserActivity(),e.addUpdate(()=>t.timestamp?(e.throttledAddEvent({type:X.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 Ww(e,t){return e.recordingMode!=="buffer"||t.message===Ma||!t.exception||t.type?!1:Zf(e.getOptions().errorSampleRate)}function qw(e){return Object.assign((t,r)=>{if(!e.isEnabled()||e.isPaused())return t;if(Mw(t))return delete t.breadcrumbs,t;if(!qa(t)&&!js(t)&&!Vl(t))return t;if(!e.checkAndHandleExpiredSession())return sp(),t;if(Vl(t))return e.flush(),t.contexts.feedback.replay_id=e.getSessionId(),zw(e,t),t;if(Uw(t,r)&&!e.getOptions()._experiments.captureExceptions)return j&&H.log("Ignoring error from rrweb internals",t),null;const n=Ww(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&&Si(s)}return t},{id:"Replay"})}function wi(e,t){return t.map(({type:r,start:o,end:n,name:i,data:s})=>{const a=e.throttledAddEvent({type:X.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 Vw(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 Yw(e){return t=>{if(!e.isEnabled())return;const r=Vw(t);r!==null&&(e.getContext().urls.push(r.name),e.triggerUserActivity(),e.addUpdate(()=>(wi(e,[r]),!1)))}}function Gw(e,t){return j&&e.getOptions()._experiments.traceInternals?!1:Nb(t,te())}function ap(e,t){e.isEnabled()&&t!==null&&(Gw(e,t.name)||e.addUpdate(()=>(wi(e,[t]),!0)))}function Ei(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=vf(e);return t.encode(r).length}if(e instanceof Blob)return e.size;if(e instanceof ArrayBuffer)return e.byteLength}catch{}}function cp(e){if(!e)return;const t=parseInt(e,10);return isNaN(t)?void 0:t}function oi(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 lp(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 Xt(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}=Kw(r);return o.body=n,i?.length&&(o._meta={warnings:i}),o}function Hs(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 Kw(e){if(!e||typeof e!="string")return{body:e};const t=e.length>xl,r=Xw(e);if(t){const o=e.slice(0,xl);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 Xw(e){const t=e[0],r=e[e.length-1];return t==="["&&r==="]"||t==="{"&&r==="}"}function ni(e,t){const r=Jw(e);return $t(r,t)}function Jw(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 Qw(e,t,r){try{const o=await eE(e,t,r),n=lp("resource.fetch",o);ap(r.replay,n)}catch(o){j&&H.exception(o,"Failed to capture fetch breadcrumb")}}function Zw(e,t){const{input:r,response:o}=t,n=r?_f(r):void 0,i=Ei(n),s=o?cp(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 eE(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=ni(s,r.networkDetailAllowUrls)&&!ni(s,r.networkDetailDenyUrls),m=u?tE(r,t.input,l):Lo(l),p=await rE(u,r,t.response,d);return{startTimestamp:n,endTimestamp:i,url:s,method:a,statusCode:c,request:m,response:p}}function tE({networkCaptureBodies:e,networkRequestHeaders:t},r,o){const n=r?iE(r,t):{};if(!e)return Xt(n,o,void 0);const i=_f(r),[s,a]=kf(i,H),c=Xt(n,o,s);return a?oi(c,a):c}async function rE(e,{networkCaptureBodies:t,networkResponseHeaders:r},o,n){if(!e&&n!==void 0)return Lo(n);const i=o?dp(o.headers,r):{};if(!o||!t&&n!==void 0)return Xt(i,n,void 0);const[s,a]=await nE(o),c=oE(s,{networkCaptureBodies:t,responseBodySize:n,captureDetails:e,headers:i});return a?oi(c,a):c}function oE(e,{networkCaptureBodies:t,responseBodySize:r,captureDetails:o,headers:n}){try{const i=e?.length&&r===void 0?Ei(e):r;return o?t?Xt(n,i,e):Xt(n,i,void 0):Lo(i)}catch(i){return j&&H.exception(i,"Failed to serialize response body"),Xt(n,r,void 0)}}async function nE(e){const t=sE(e);if(!t)return[void 0,"BODY_PARSE_ERROR"];try{return[await aE(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 dp(e,t){const r={};return t.forEach(o=>{e.get(o)&&(r[o]=e.get(o))}),r}function iE(e,t){return e.length===1&&typeof e[0]!="string"?Yl(e[0],t):e.length===2?Yl(e[1],t):{}}function Yl(e,t){if(!e)return{};const r=e.headers;return r?r instanceof Headers?dp(r,t):Array.isArray(r)?{}:Hs(r,t):{}}function sE(e){try{return e.clone()}catch(t){j&&H.exception(t,"Failed to clone response body")}}function aE(e){return new Promise((t,r)=>{const o=Qo(()=>r(new Error("Timeout while trying to read response body")),500);cE(e).then(n=>t(n),n=>r(n)).finally(()=>clearTimeout(o))})}async function cE(e){return await e.text()}async function lE(e,t,r){try{const o=uE(e,t,r),n=lp("resource.xhr",o);ap(r.replay,n)}catch(o){j&&H.exception(o,"Failed to capture xhr breadcrumb")}}function dE(e,t){const{xhr:r,input:o}=t;if(!r)return;const n=Ei(o),i=r.getResponseHeader("content-length")?cp(r.getResponseHeader("content-length")):mE(r.response,r.responseType);n!==void 0&&(e.data.request_body_size=n),i!==void 0&&(e.data.response_body_size=i)}function uE(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||!ni(c,r.networkDetailAllowUrls)||ni(c,r.networkDetailDenyUrls)){const B=Lo(u),v=Lo(m);return{startTimestamp:n,endTimestamp:i,url:c,method:l,statusCode:d,request:B,response:v}}const p=a[dr],f=p?Hs(p.request_headers,r.networkRequestHeaders):{},h=Hs(Sf(a),r.networkResponseHeaders),[g,b]=r.networkCaptureBodies?kf(s,H):[void 0],[_,S]=r.networkCaptureBodies?fE(a):[void 0],w=Xt(f,u,g),I=Xt(h,m,_);return{startTimestamp:n,endTimestamp:i,url:c,method:l,statusCode:d,request:b?oi(w,b):w,response:S?oi(I,S):I}}function fE(e){const t=[];try{return[e.responseText]}catch(r){t.push(r)}try{return pE(e.response,e.responseType)}catch(r){t.push(r)}return j&&H.warn("Failed to get xhr response body",...t),[void 0]}function pE(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 mE(e,t){try{const r=t==="json"&&e&&typeof e=="object"?JSON.stringify(e):e;return Ei(r)}catch{return}}function hE(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)=>gE(a,c,l))}catch{}}function gE(e,t,r){if(t.data)try{bE(t)&&vE(r)&&(dE(t,r),lE(t,r,e)),yE(t)&&kE(r)&&(Zw(t,r),Qw(t,r,e))}catch(o){j&&H.exception(o,"Error when enriching network breadcrumb")}}function bE(e){return e.category==="xhr"}function yE(e){return e.category==="fetch"}function vE(e){return e?.xhr}function kE(e){return e?.response}function _E(e){const t=te();gf(QS(e)),yi(Yw(e)),Dw(e),hE(e);const r=qw(e);rb(r),t&&(t.on("beforeSendEvent",Nw(e)),t.on("afterSendEvent",$w(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 SE(e){try{return Promise.all(wi(e,[wE(ve.performance.memory)]))}catch{return[]}}function wE(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 EE(e,t,r){return Ub(e,t,{...r,setTimeoutImpl:Qo})}const yn=ee.navigator;function CE(){return/iPhone|iPad|iPod/i.test(yn?.userAgent??"")||/Macintosh/i.test(yn?.userAgent??"")&&yn?.maxTouchPoints&&yn?.maxTouchPoints>1?{sampling:{mousemove:!1}}:{}}function xE(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&&YS(e.clickDetector,r),e.addUpdate(()=>{if(e.recordingMode==="buffer"&&n&&e.setInitialState(),!Wa(e,r,n))return!0;if(!n)return!1;const i=e.session;if(RE(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&&Si(i))}return i?.previousSessionId||e.recordingMode==="session"&&e.flush(),!0})}}function TE(e){const t=e.getOptions();return{type:X.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 RE(e,t){!t||!e.session||e.session.segmentId!==0||Wa(e,TE(e),!1)}function IE(e){if(!e)return null;try{return e.nodeType===e.ELEMENT_NODE?e:e.parentElement}catch{return null}}function BE(e,t,r,o){return ir(_u(e,ma(e),o,r),[[{type:"replay_event"},e],[{type:"replay_recording",length:typeof t=="string"?new TextEncoder().encode(t).length:t.length},t]])}function AE({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 ME({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 Tu(e.getOptions(),o,i,t,e,xt());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 $E({recordingData:e,replayId:t,segmentId:r,eventContext:o,timestamp:n,session:i}){const s=AE({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 h={type:l_,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},g=await ME({scope:m,client:u,replayId:t,event:h});if(!g)return u.recordDroppedEvent("event_processor","replay"),j&&H.log("An event processor returned `null`, will not send event."),Promise.resolve({});delete g.sdkProcessingMetadata;const b=BE(g,s,f,u.getOptions().tunnel);let _;try{_=await p.send(b)}catch(w){const I=new Error(Ma);try{I.cause=w}catch{}throw I}if(typeof _.statusCode=="number"&&(_.statusCode<200||_.statusCode>=300))throw new up(_.statusCode);const S=Pu({},_);if(Nu(S,"replay"))throw new Va(S);return _}class up extends Error{constructor(t){super(`Transport returned status code ${t}`)}}class Va extends Error{constructor(t){super("Rate limit hit"),this.rateLimits=t}}async function fp(e,t={count:0,interval:h_}){const{recordingData:r,onError:o}=e;if(r.length)try{return await $E(e),!0}catch(n){if(n instanceof up||n instanceof Va)throw n;if(eb("Replays",{_retryCount:t.count}),o&&o(n),t.count>=g_){const i=new Error(`${Ma} - max retries exceeded`);try{i.cause=n}catch{}throw i}return t.interval*=++t.count,new Promise((i,s)=>{Qo(async()=>{try{await fp(e,t),i(!0)}catch(a){s(a)}},t.interval)})}}const pp="__THROTTLED",OE="__SKIPPED";function LE(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?OE:pp}s=!1;const l=o.get(c)||0;return o.set(c,l+1),e(...a)}}class NE{constructor({options:t,recordingOptions:r}){this.eventBuffer=null,this.performanceEntries=[],this.replayPerformanceEntries=[],this.recordingMode="session",this.timeouts={sessionIdlePause:d_,sessionIdleExpire:u_},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=EE(()=>this._flush(),this._options.flushMinDelay,{maxWait:this._options.flushMaxDelay}),this._throttledAddEvent=LE((s,a)=>Bw(this,s,a),300,5);const{slowClickTimeout:o,slowClickIgnoreSelectors:n}=this.getOptions(),i=o?{threshold:Math.min(b_,o),timeout:o,scrollTimeout:y_,ignoreSelector:n?n.join(","):""}:void 0;if(i&&(this.clickDetector=new zS(this,i)),j){const s=t._experiments;H.setConfig({captureExceptions:!!s.captureExceptions,traceInternals:!!s.traceInternals})}this._handleVisibilityChange=()=>{ve.document.visibilityState==="visible"?this._doChangeToForegroundTasks():this._doChangeToBackgroundTasks()},this._handleWindowBlur=()=>{const s=_t({category:"ui.blur"});this._doChangeToBackgroundTasks(s)},this._handleWindowFocus=()=>{const s=_t({category:"ui.focus"});this._doChangeToForegroundTasks(s)},this._handleKeyboardEvent=s=>{rw(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=Ji({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=Ji({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=Lt({...this._recordingOptions,...this.recordingMode==="buffer"?{checkoutEveryNms:m_}:this._options._experiments.continuousCheckout&&{checkoutEveryNms:Math.max(36e4,this._options._experiments.continuousCheckout)},emit:xE(this),...CE(),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}`:""}`),sp(),this._removeListeners(),this.stopRecording(),this._debouncedFlush.cancel(),t&&await this._flush({force:!0}),this.eventBuffer?.destroy(),this.eventBuffer=null,Cw(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&&Fs(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===pp){const n=_t({category:"replay.throttled"});this.addUpdate(()=>!Wa(this,{type:NS,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=Sw({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=Ji({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 rp(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||(_E(this),this._hasInitializedCoreListeners=!0)}catch(t){this.handleException(t)}this._performanceCleanupCallback=hw(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||tp(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:X.Custom,timestamp:t.timestamp||0,data:{tag:"breadcrumb",payload:t}})})}_addPerformanceEntries(){let t=sw(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(wi(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 SE(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 fp({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 Va?"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&&Si(this.session)}_onMutationHandler(t){const{ignoreMutations:r}=this._options._experiments;if(r?.length&&t.some(a=>{const c=IE(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=_t({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 PE({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 DE({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 Gl='img,image,svg,video,object,picture,embed,map,audio,link[rel="icon"],link[rel="apple-touch-icon"]',FE=["content-length","content-type","accept"],jE=Symbol.for("sentry__originalRequestBody");let Kl=!1,Xl=!1;function HE(){if(typeof Request>"u"||Xl)return;const e=Request;try{const t=function(r,o){const n=new e(r,o);return o?.body!=null&&(n[jE]=o.body),n};t.prototype=e.prototype,ee.Request=t,Xl=!0}catch{}}const UE=(e=>new zE(e));class zE{constructor({flushMinDelay:t=f_,flushMaxDelay:r=p_,minReplayDuration:o=v_,maxReplayDuration:n=Tl,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:h=[],networkDetailAllowUrls:g=[],networkDetailDenyUrls:b=[],networkCaptureBodies:_=!0,networkRequestHeaders:S=[],networkResponseHeaders:w=[],mask:I=[],maskAttributes:B=["title","placeholder","aria-label"],unmask:v=[],block:R=[],unblock:J=[],ignore:T=[],maskFn:A,beforeAddRecordingEvent:D,beforeErrorSampling:P,onError:L,attachRawBodyFromRequest:Q=!1}={}){this.name="Replay";const F=PE({mask:I,unmask:v,block:R,unblock:J,ignore:T});if(this._recordingOptions={maskAllInputs:d,maskAllText:l,maskInputOptions:{password:!0},maskTextFn:A,maskInputFn:A,maskAttributeFn:(U,E,W)=>DE({maskAttributes:B,maskAllText:l,privacyOptions:F,key:U,value:E,el:W}),...F,slimDOMOptions:"all",inlineStylesheet:!0,inlineImages:!1,collectFonts:!0,errorHandler:U=>{try{U.__rrweb__=!0}catch{}},recordCrossOriginIframes:!!c.recordCrossOriginIframes},this._initialOptions={flushMinDelay:t,flushMaxDelay:r,minReplayDuration:Math.min(o,k_),maxReplayDuration:Math.min(n,Tl),stickySession:i,useCompression:s,workerUrl:a,blockAllMedia:u,maskAllInputs:d,maskAllText:l,mutationBreadcrumbLimit:m,mutationLimit:p,slowClickTimeout:f,slowClickIgnoreSelectors:h,networkDetailAllowUrls:g,networkDetailDenyUrls:b,networkCaptureBodies:_,networkRequestHeaders:Jl(S),networkResponseHeaders:Jl(w),beforeAddRecordingEvent:D,beforeErrorSampling:P,onError:L,attachRawBodyFromRequest:Q,_experiments:c},this._initialOptions.blockAllMedia&&(this._recordingOptions.blockSelector=this._recordingOptions.blockSelector?`${this._recordingOptions.blockSelector},${Gl}`:Gl,this._recordingOptions.ignoreCSSAttributes=new Set(["background-image"])),this._isInitialized&&Es())throw new Error("Multiple Sentry Session Replay instances are not supported");this._isInitialized=!0}get _isInitialized(){return Kl}set _isInitialized(t){Kl=t}afterAllSetup(t){!Es()||this._replay||(this._initialOptions.attachRawBodyFromRequest&&HE(),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=WE(this._initialOptions,t);this._replay=new NE({options:r,recordingOptions:this._recordingOptions})}_maybeLoadFromReplayCanvasIntegration(t){try{const r=t.getIntegrationByName("ReplayCanvas");if(!r)return;this._replay._canvas=r.getOptions()}catch{}}}function WE(e,t){const r=t.getOptions(),o={sessionSampleRate:0,errorSampleRate:0,...e},n=Sr(r.replaysSessionSampleRate),i=Sr(r.replaysOnErrorSampleRate);return n==null&&i==null&&Ut(()=>{console.warn("Replay is disabled because neither `replaysSessionSampleRate` nor `replaysOnErrorSampleRate` are set.")}),n!=null&&(o.sessionSampleRate=n),i!=null&&(o.errorSampleRate=i),o}function Jl(e){return[...FE,...e.map(t=>t.toLowerCase())]}function qE(e){return e.split(",").some(t=>t.trim().startsWith("sentry-"))}function mp(e){try{return new URL(e,ce.location.origin).href}catch{return}}function VE(e){return e.entryType==="resource"&&"initiatorType"in e&&typeof e.nextHopProtocol=="string"&&(e.initiatorType==="fetch"||e.initiatorType==="xmlhttprequest")}function hp(e){try{return new Headers(e)}catch{return}}const Ql=new WeakMap,Qi=new Map,gp={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,trackFetchStreamPerformance:!1};function YE(e,t){const{traceFetch:r,traceXHR:o,trackFetchStreamPerformance:n,shouldCreateSpanForRequest:i,enableHTTPTimings:s,tracePropagationTargets:a,onRequestSpanStart:c,onRequestSpanEnd:l}={...gp,...t},d=typeof i=="function"?i:f=>!0,u=f=>GE(f,a),m={},p=e.getOptions().propagateTraceparent;r&&(e.addEventProcessor(f=>(f.type==="transaction"&&f.spans&&f.spans.forEach(h=>{if(h.op==="http.client"){const g=Qi.get(h.span_id);g&&(h.timestamp=g/1e3,Qi.delete(h.span_id))}}),f)),n&&wy(f=>{if(f.response){const h=Ql.get(f.response);h&&f.endTimestamp&&Qi.set(h,f.endTimestamp)}}),Xu(f=>{const h=py(f,d,u,m,{propagateTraceparent:p,onRequestSpanEnd:l});if(f.response&&f.fetchData.__span&&Ql.set(f.response,f.fetchData.__span),h){const g=mp(f.fetchData.url),b=g?gr(g).host:void 0;h.setAttributes({"http.url":g,"server.address":b}),s&&Zl(h),c?.(h,{headers:f.headers})}})),o&&yf(f=>{const h=KE(f,d,u,m,p,l);h&&(s&&Zl(h),c?.(h,{headers:hp(f.xhr.__sentry_xhr_v3__?.request_headers)}))})}function Zl(e){const{url:t}=oe(e).data;if(!t||typeof t!="string")return;const r=Er("resource",({entries:o})=>{o.forEach(n=>{VE(n)&&n.name.endsWith(t)&&(e.setAttributes(hf(n)),setTimeout(r))})})}function GE(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?$t(o.toString(),t)||i&&$t(o.pathname,t):i}else{const o=!!e.match(/^\/(?!\/)/);return t?$t(e,t):o}}function KE(e,t,r,o,n,i){const s=e.xhr,a=s?.[dr];if(!s||s.__sentry_own_request__||!a)return;const{url:c,method:l}=a,d=ct()&&t(c);if(e.endTimestamp&&d){const b=s.__sentry_xhr_span_id__;if(!b)return;const _=o[b];_&&a.status_code!==void 0&&(iu(_,a.status_code),_.end(),i?.(_,{headers:hp(Sf(s)),error:e.error}),delete o[b]);return}const u=mp(c),m=gr(u||c),p=Lb(c),f=!!je(),h=d&&f?Zt({name:`${l} ${p}`,attributes:{url:c,type:"xhr","http.method":l,"http.url":u,"server.address":m?.host,[Ee]:"auto.http.browser",[Ft]:"http.client",...m?.search&&{"http.query":m?.search},...m?.hash&&{"http.fragment":m?.hash}}}):new Qt;s.__sentry_xhr_span_id__=h.spanContext().spanId,o[s.__sentry_xhr_span_id__]=h,r(c)&&XE(s,ct()&&f?h:void 0,n);const g=te();return g&&g.emit("beforeOutgoingRequestSpan",h,e),h}function XE(e,t,r){const{"sentry-trace":o,baggage:n,traceparent:i}=qu({span:t,propagateTraceparent:r});o&&JE(e,o,n,i)}function JE(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||!qE(i))&&e.setRequestHeader("baggage",r)}}catch{}}function QE(){ce.document?ce.document.addEventListener("visibilitychange",()=>{const e=je();if(!e)return;const t=Fe(e);if(ce.document.hidden&&t){const r="cancelled",{op:o,status:n}=oe(t);lt&&x.log(`[Tracing] Transaction: ${r} -> since tab moved to the background, op: ${o}`),n||t.setStatus({code:Le,message:r}),t.setAttribute("sentry.cancellation_reason","document.hidden"),t.end()}}):lt&&x.warn("[Tracing] Could not set up background tab detection due to lack of global document")}const ZE=3600,bp="sentry_previous_trace",eC="sentry.previous_trace";function tC(e,{linkPreviousTrace:t,consistentTraceSampling:r}){const o=t==="session-storage";let n=o?nC():void 0;e.on("spanStart",s=>{if(Fe(s)!==s)return;const a=fe().getPropagationContext();n=rC(n,s,a),o&&oC(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(Us(n.spanContext))},sampleRand:n.sampleRand}),s.parentSampled=Us(n.spanContext),s.parentSampleRate=n.sampleRate,s.spanAttributes={...s.spanAttributes,[nu]:n.sampleRate}})}function rC(e,t,r){const o=oe(t);function n(){try{return Number(r.dsc?.sample_rate)??Number(o.data?.[ca])}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<=ZE&&(lt&&x.log(`Adding previous_trace \`${JSON.stringify(s)}\` link to span \`${JSON.stringify({op:o.op,...t.spanContext()})}\``),t.addLink({context:s,attributes:{[Cg]:"previous_trace"}}),t.setAttribute(eC,`${s.traceId}-${s.spanId}-${Us(s)?1:0}`)),i)}function oC(e){try{ce.sessionStorage.setItem(bp,JSON.stringify(e))}catch(t){lt&&x.warn("Could not store previous trace in sessionStorage",t)}}function nC(){try{const e=ce.sessionStorage?.getItem(bp);return JSON.parse(e)}catch{return}}function Us(e){return e.traceFlags===1}const iC="BrowserTracing",sC={...Tn,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:{},...gp},ed=((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:h,traceXHR:g,trackFetchStreamPerformance:b,shouldCreateSpanForRequest:_,enableHTTPTimings:S,ignoreResourceSpans:w,ignorePerformanceApiSpans:I,instrumentPageLoad:B,instrumentNavigation:v,detectRedirects:R,linkPreviousTrace:J,consistentTraceSampling:T,enableReportPageLoaded:A,onRequestSpanStart:D,onRequestSpanEnd:P}={...sC,...e};let L,Q,F;function U(E,W,$=!0){const q=W.op==="pageload",V=W.name,ue=d?d(W):W,Ce=ue.attributes||{};if(V!==ue.name&&(Ce[Xe]="custom",ue.attributes=Ce),!$){const _e=Tr();Zt({...ue,startTime:_e}).end(_e);return}t.name=ue.name,t.source=Ce[Xe];const Ne=xu(ue,{idleTimeout:u,finalTimeout:m,childSpanTimeout:p,disableAutoFinish:q,beforeSpanEnd:_e=>{L?.(),$v(_e,{recordClsOnPageloadSpan:!c,recordLcpOnPageloadSpan:!l,ignoreResourceSpans:w,ignorePerformanceApiSpans:I}),rd(E,void 0);const pe=fe(),$e=pe.getPropagationContext();pe.setPropagationContext({...$e,traceId:Ne.spanContext().traceId,sampled:nr(Ne),dsc:jt(_e)}),q&&(F=void 0)},trimIdleSpanEndTimestamp:!A});q&&A&&(F=Ne),rd(E,Ne);function ke(){r&&["interactive","complete"].includes(r.readyState)&&E.emit("idleSpanEnableAutoFinish",Ne)}q&&!A&&r&&(r.addEventListener("readystatechange",()=>{ke()}),ke())}return{name:iC,setup(E){if(e0(),L=xv({recordClsStandaloneSpans:c||!1,recordLcpStandaloneSpans:l||!1,client:E}),o&&ik(),n&&qv(),s&&ee.PerformanceObserver&&PerformanceObserver.supportedEntryTypes&&PerformanceObserver.supportedEntryTypes.includes("long-animation-frame")?Rv():i&&Tv(),a&&Iv(),R&&r){const $=()=>{Q=Ie()};addEventListener("click",$,{capture:!0}),addEventListener("keydown",$,{capture:!0,passive:!0})}function W(){const $=No(E);$&&!oe($).timestamp&&(lt&&x.log(`[Tracing] Finishing current active span with op: ${oe($).op}`),$.setAttribute(Io,"cancelled"),$.end())}E.on("startNavigationSpan",($,q)=>{if(te()!==E)return;if(q?.isRedirect){lt&&x.warn("[Tracing] Detected redirect, navigation span will not be the root span, but a child span."),U(E,{op:"navigation.redirect",...$},!1);return}Q=void 0,W(),xt().setPropagationContext({traceId:Dt(),sampleRand:Math.random(),propagationSpanId:ct()?void 0:Ot()});const V=fe();V.setPropagationContext({traceId:Dt(),sampleRand:Math.random(),propagationSpanId:ct()?void 0:Ot()}),V.setSDKProcessingMetadata({normalizedRequest:void 0}),U(E,{op:"navigation",...$,parentSpan:null,forceTransaction:!0})}),E.on("startPageLoadSpan",($,q={})=>{if(te()!==E)return;W();const V=q.sentryTrace||td("sentry-trace"),ue=q.baggage||td("baggage"),Ce=qg(V,ue),Ne=fe();Ne.setPropagationContext(Ce),ct()||(Ne.getPropagationContext().propagationSpanId=Ot()),Ne.setSDKProcessingMetadata({normalizedRequest:Sa()}),U(E,{op:"pageload",...$})}),E.on("endPageloadSpan",()=>{A&&F&&(F.setAttribute(Io,"reportPageLoaded"),F.end())})},afterAllSetup(E){let W=io();if(J!=="off"&&tC(E,{linkPreviousTrace:J,consistentTraceSampling:T}),ce.location){if(B){const $=tt();aC(E,{name:ce.location.pathname,startTime:$?$/1e3:void 0,attributes:{[Xe]:"url",[Ee]:"auto.pageload.browser"}})}v&&yi(({to:$,from:q})=>{if(q===void 0&&W?.indexOf($)!==-1){W=void 0;return}W=void 0;const V=_a($),ue=No(E),Ce=ue&&R&&lC(ue,Q);yp(E,{name:V?.pathname||ce.location.pathname,attributes:{[Xe]:"url",[Ee]:"auto.navigation.browser"}},{url:$,isRedirect:Ce})})}f&&QE(),a&&cC(E,u,m,p,t),o&&ck(),YE(E,{traceFetch:h,traceXHR:g,trackFetchStreamPerformance:b,tracePropagationTargets:E.getOptions().tracePropagationTargets,shouldCreateSpanForRequest:_,enableHTTPTimings:S,onRequestSpanStart:D,onRequestSpanEnd:P})}}});function aC(e,t,r){e.emit("startPageLoadSpan",t,r),fe().setTransactionName(t.name);const o=No(e);return o&&e.emit("afterStartPageLoadSpan",o),o}function yp(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:{...Sa(),url:o}}),No(e)}function td(e){return ce.document?.querySelector(`meta[name=${e}]`)?.getAttribute("content")||void 0}function cC(e,t,r,o,n){const i=ce.document;let s;const a=()=>{const c="ui.action.click",l=No(e);if(l){const d=oe(l).op;if(["navigation","pageload"].includes(d)){lt&&x.warn(`[Tracing] Did not create ${c} span because a pageload or navigation span is in progress.`);return}}if(s&&(s.setAttribute(Io,"interactionInterrupted"),s.end(),s=void 0),!n.name){lt&&x.warn(`[Tracing] Did not create ${c} transaction because _latestRouteName is missing.`);return}s=xu({name:n.name,op:c,attributes:{[Xe]:n.source||"url"}},{idleTimeout:t,finalTimeout:r,childSpanTimeout:o})};i&&addEventListener("click",a,{capture:!0})}const vp="_sentry_idleSpan";function No(e){return e[vp]}function rd(e,t){et(e,vp,t)}const od=1.5;function lC(e,t){const r=oe(e),o=Tr(),n=r.start_timestamp;return!(o-n>od||t&&o-t<=od)}const kp=["activate","mount"],_p=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,dC=/(?:^|[-_])(\w)/g,uC=e=>e.replace(dC,t=>t.toUpperCase()).replace(/[-_]/g,""),fC="<Root>",Zi="<Anonymous>",pC=(e,t)=>e.repeat(t),xo=(e,t)=>{if(!e)return Zi;if(e.$root===e)return fC;if(!e.$options)return Zi;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?`<${uC(o)}>`:Zi)+(n&&t!==!1?` at ${n}`:"")},mC=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?"---> ":pC(" ",5+i*2))+(Array.isArray(n)?`${xo(n[0])}... (${n[1]} recursive calls)`:xo(n))}`).join(`
`)}`}return`
(found in ${xo(e)})`},hC=(e,t)=>{const{errorHandler:r}=e.config;e.config.errorHandler=(o,n,i)=>{const s=xo(n,!1),a=n?mC(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(()=>{hi(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}},nd="ui.vue",gC={activate:["activated","deactivated"],create:["beforeCreate","created"],unmount:["beforeUnmount","unmounted"],destroy:["beforeDestroy","destroyed"],mount:["beforeMount","mounted"],update:["beforeUpdate","updated"]};function es(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 bC(e,t){function r(n){return n.replace(/^<([^\s]*)>(?: at [^\s]*)?$/,"$1")}return e.some(n=>r(t)===r(n))}const yC=(e={})=>{const t=(e.hooks||[]).concat(kp).filter((n,i,s)=>s.indexOf(n)===i),r={},o=e.timeout||2e3;for(const n of t){const i=gC[n];if(!i){_p&&x.warn(`Unknown hook: ${n}`);continue}for(const s of i)r[s]=function(){const a=this.$root===this;a&&(this.$_sentryRootComponentSpan=this.$_sentryRootComponentSpan||Zt({name:"Application Render",op:`${nd}.render`,attributes:{[Ee]:"auto.ui.vue"},onlyIfParent:!0}),es(this,Ie(),o));const c=xo(this,!1);if(!(a||(Array.isArray(e.trackComponents)?bC(e.trackComponents,c):e.trackComponents))){es(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]=Zt({name:`Vue ${c}`,op:`${nd}.${n}`,attributes:{[Ee]:"auto.ui.vue"},onlyIfParent:!0})}}else{const m=this.$_sentryComponentSpans[n];if(!m)return;m.end(),es(this,Ie(),o)}}}return r},vC=ee,kC={Vue:vC.Vue,attachProps:!0,attachErrorHandler:!0,tracingOptions:{hooks:kp,timeout:2e3,trackComponents:!1}},_C="Vue",SC=(e={})=>({name:_C,setup(t){const r={...kC,...t.getOptions(),...e};if(!r.Vue&&!r.app){Ut(()=>{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=>id(n,r)):r.Vue&&id(r.Vue,r)}}),id=(e,t)=>{_p&&e._instance?.isMounted===!0&&Ut(()=>{console.warn("[@sentry/vue]: Misconfigured SDK. Vue app is already mounted. Make sure to call `app.mount()` after `Sentry.init()`.")}),t.attachErrorHandler&&hC(e,t),ct(t)&&e.mixin(yC(t.tracingOptions))};function wC(e={}){const t={defaultIntegrations:[...Cf(),SC()],...e};return Wu(t,"vue"),c_(t)}function EC(e,t,r){let o=!1;e.onError(n=>hi(n,{mechanism:{handled:!1}})),e.beforeEach((n,i,s)=>{const a=o?void 0:CC(),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,[Ee]:"auto.pageload.vue"}),o=!0),t.instrumentNavigation&&!a&&r({name:l,op:"navigation",attributes:{...c,[Ee]:"auto.navigation.vue",[Xe]:d}}),s&&s()})}function CC(){const e=je(),t=e&&Fe(e);return t&&oe(t).op==="pageload"?t:void 0}function xC(e={}){if(!e.router)return ed(e);const t=ed({...e,instrumentNavigation:!1}),{router:r,instrumentNavigation:o=!0,instrumentPageLoad:n=!0,routeLabel:i="name"}=e;return{...t,afterAllSetup(s){t.afterAllSetup(s),EC(r,{routeLabel:i,instrumentNavigation:o,instrumentPageLoad:n},c=>{yp(s,c)})}}}const TC={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"}}},RC={admin:"Admin",user:"Bruker"},IC={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"}},BC={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"}},AC={couldNotFindPage:"Kunne ikke finne siden!",home:"Hjem",showItems:"Vis objekter",itemNotFound:"Objektet finnes ikke eller så er den solgt.",otherItems:"Andre objekter"},MC={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"}},$C={menu:{myPage:"Min side",savedSearches:"Lagrede søk",myBidsAndPurchases:"Mine kjøp og bud",myCompanies:"Mine bedrifter",newCompany:"Ny bedrift",mySettings:"Mine innstillinger",new:"ny!",admin:"Admin",logout:"Logg ut",register:"Registrer",login:"Logg inn"},login:{title:"Logg inn på din konto",email:"E-post",yourEmail:"Din e-post",password:"Passord",yourPassword:"Ditt passord",rememberMe:"Husk meg",login:"Logg inn",forgotPassword:"Glemt passord?",noAccount:"Har du ikke en konto?",register:"Registrer deg"},register:{title:"Registrering av ny brukerkonto",firstAndLastName:"For- og etternavn",phoneNumber:"Telefonnummer",yourPhoneNumber:"Ditt telefonnummer",streetAddress:"Gateadresse",address:"Adresse",address2:"Adresse 2",zipCode:"Postkode",city:"Poststed / by",loginDetails:"Innloggingsdetaljer",yourEmail:"Din e-post",yourPassword:"Ditt passord",continue:"Fortsett..."},company:{title:"Ny bedrift",users:"Brukere",organizationNumber:"Organisasjonsnummer",companyName:"Firmanavn",column:{username:"Brukernavn",action:"Handling"},removeUserFromCompany:"Fjern bruker fra bedrift",addUserToCompany:"Legg til ny bruker",emailAddress:"E-postaddresse",roleUser:"Bruker",roleAdmin:"Admin",addUser:"Legg til bruker",companyAdded:"Bedrift opprettet",companyAddError:"En feil oppsto. Kunne ikke opprette bedrift.",cantDeleteYourself:"Du kan ikke slette deg selv."},profile:{title:"Min profil",description:"Hold profilen din oppdatert for beste opplevelse på Stadssalg!",notVerifiedWarning:"Du har enda ikke verifisert din e-post eller telefonnummer, så du vil ikke kunne få lagt inn bud før dette er gjennomført.",verifyEmail:"Verifiser din e-post",checkYourEmail:"Du har fått e-post! Bekreft e-posten din og oppdater denne siden.",checkYourEmailSpam:"Husk å sjekk spam-mappa i innboksen din.",section:{profile:"Profil",myCompanies:"Mine bedrifter",companies:"Mine bedrifter",shortcuts:"Snarveier"},firstAndLastName:"For- og etternavn",address:"Adresse",address1:"Adresse 1",address2:"Adresse 2",zipCode:"Postkode",city:"Poststed / by",email:"E-post",emailNotVerified:"E-posten din er ikke verifisert.",phoneNumber:"Telefonnummer",changePassword:"Jeg ønsker å endre passord",changeMyPassword:"Jeg ønsker å endre passord",dontChangeMyPassword:"Jeg ønsker ikke å endre passord likevel",newPassword:"Nytt passord",newPasswordRepeat:"Bekreft passord",confirmPassword:"Bekreft passord",currentPassword:"Nåværende passord",currentPasswordPlaceholder:"Skriv inn ditt nåværende passord",savePassword:"Lagre passord",country:"Land",companyUsers:"Brukere i bedriften",noCompanies:"Du har ingen bedrifter tilknyttet din profil.",logout:"Logg ut",updateProfile:"Oppdater profil",myCompanies:"Mine bedrifter",addCompany:"Legg til ny bedrift",myBids:"Mine bud",myBidsAndPurchases:"Mine kjøp og bud",changeEmail:"Endre e-post",newEmail:"Ny e-post",updateEmail:"Oppdater e-post",mySettings:"Mine innstillinger",new:"ny!",savedSearches:"Lagrede søk",customerService:"Kundeservice",youGotAnEmail:"Du har fått e-post! Bekreft e-posten din og oppdater denne siden.",emailVerified:"E-posten din er verifisert",profileUpdated:"Profilen din er oppdatert",emailUpdated:"E-posten din er oppdatert",passwordUpdated:"Passordet ditt er oppdatert"},bids:{title:"Mine kjøp og bud",purchases:"Mine kjøp",purchasesCount:"kjøp",activeBids:"Aktive bud",bidsCount:"bud",statusWon:"Vunnet",statusActive:"Aktivt bud",statusLabel:"Status",currentStatus:"Nåværende status",pickupDeadline:"Hentefrist",viewListing:"Se annonse",searchPlaceholder:"Søk her",showOnlyWon:"Vis kun kjøp",showOnlyCompanies:"Vis kun firma",showOnlyActive:"Vis kun aktive auksjoner",column:{bidId:"Bud ID",objectId:"Objekt ID",bidder:"Budgiver",company:"Bedrift",email:"E-post",phone:"Telefon",location:"Lokasjon",noAddress:"Ingen adresse oppført. Kontakt selger for mer informasjon.",processingTimeIs:"Behandlingstid er",processingTimeContact:"Vi kontakter deg når objektet er klart for henting.",noActiveBids:"Du har ingen aktive bud nå. Kanskje du må ta en titt i våre",noActiveBidsLink:"auksjoner",object:"Objekt",date:"Dato",bid:"Bud",auctionStatus:"Auksjonsstatus",auctionStatusActive:"Aktiv",auctionStatusEnded:"Avsluttet",bidWinner:"Budvinner"},status:{paymentReceived:"Betaling mottatt",paymentReceivedPending:"Betaling ikke mottatt",contractSigningStatus:"Kontrakt signert",contractSigningStatusPending:"Kontrakt ikke signert",checkedOut:"Utmeldt",checkedOutPending:"Ikke utmeldt",waitingForContract:"Venter på signert kontrakt",waitingForPayment:"Venter på innbetaling",processing:"Behandles av Stadssalg",readyForPickup:"Klar for henting",delivered:"Hentet",generatingContract:"Kontrakt genereres av Stadssalg",generatingInvoice:"Faktura genereres av Stadssalg",processingDescription:"Vi jobber med kjøpet ditt og tar kontakt hvis vi trenger mer informasjon. Du trenger ikke kontakte oss angående dette, da vi behandler alle kjøp så raskt som mulig.",step:{contractReady:"Kontrakt klar",signed:"Signert",invoiceReady:"Faktura klar",paid:"Betalt",pickup:"Klar for henting",delivered:"Hentet"}}},filters:{title:"Lagrede søk",noTitle:"Ingen tittel",column:{title:"Tittel",filters:"Søkefilter",quantity:"Antall",quantityTooltip:"Oppdateres hver morgen.",notification:"Varsel",actions:"Handlinger"},fields:{q:"Søkeord",category:"Kategori",subCategory:"Underkategori",readyForSaleOnly:"Klar for salg",readyForSaleTodayOnly:"Kun for i dag",sortBy:"Sorter etter",agent:"Oppdragsgiver",location:"Lokasjon"},noSavedSearches:"Du har ingen lagrede søk. Du kan lagre dine søk ved å klikke på 'Lagre søk' inne på ",auctions:"Auksjoner",deleteSavedSearch:"Slett lagret søk",deleteSavedSearchConfirm:"Er du sikker på at du vil slette dette søket?",deleteSavedSearchSuccess:"Det lagrede søket ble slettet"},settings:{readyForSaleNotificationDescription:"Varsel om auksjonsstart.<br /> Gjelder kun objekter du har lagt inn bud på.",readyForSaleNotificationSMS:"Motta varsel på SMS",readyForSaleNotificationEmail:"Motta varsel på e-post",overbidNotificationDescription:"Varsel hvis du blir overbydd.<br />Gjelder kun på objekter som er klare for salg og hvor du leder budrunden.",overbidNotificationSMS:"Motta varsel på SMS",overbidNotificationEmail:"Motta varsel på e-post",overbidNotificationMyCompanies:"Varsle overbud fra mine firma",defaultBidderProfile:"Forhåndsutfylt budgiverprofil.",defaultBidderProfilePlaceholder:"Legg inn bud på vegne av",newsletterAuctionsDescription:"Hold deg oppdatert med vårt nyhetsbrev!<br /><br />Hver dag sender vi ut en oversikt over auksjonene som skal megles i dag.",newsletterAuctions:"Motta dagens auksjoner på e-post",resetSettings:"Nullstill alle innstillinger",resetSettingsConfirm:"Er du sikker på at du vil nullstille alle innstillinger?",saved:"Innstillinger lagret"}},OC={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"}}},LC={about:{},toa:{}},NC={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."},PC={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."}},DC={general:TC,role:RC,app:IC,item:BC,error:AC,items:MC,user:$C,home:OC,info:LC,maintenance:NC,helpCenter:PC},FC={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"}}},jC={admin:"Admin",user:"User"},HC={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"}},UC={missingEmail:"Your email address is missing.",missingPhoneNumber:"Your phone number is missing.",exclusive:"Exclusive sale object for approved dealers.",sms:"SMS",email:"Email",couldNotLoadItem:"We were unable to load this item.",tip:"Tip",iFoundThis:"I found this on",shareOnFacebook:"Share on Facebook",shareOnTwitter:"Share on Twitter",youWonThisItem:"Congratulations, you have won this item!",seeMoreInfo:"See more info below",seeMoreInfoLink:"My purchases and bids",itemNotReadyForSale:"The item is not ready for sale yet, but bids can be placed.",getNotificationOn:"You will receive a notification on",getNotificationOnWhen:"when the item is ready for sale.",getNotificationNone:"You will not receive a notification when the item is ready for sale.",manageYourNotifications:"Manage your notifications",readyForSale:"Ready for sale",technicalData:{"Antall aksler":"Number of axles",Batteristørrelse:"Battery size",Drift:"Drive","EU-kontroll":"EU inspection",Farge:"Color",Kjøretøygruppe:"Vehicle group","Maksvekt tilh. m. brems":"Maximum trailer weight with brakes",Motorstørrelse:"Engine size",Servicehefte:"Service history",Understellsnummer:"Chassis number","Antall aksler med drift":"Number of driven axles",Drivstoff:"Fuel",Effekt:"Power",Girkasse:"Gearbox","Km-stand":"Mileage",Merkenavn:"Brand name","Siste service":"Last service date",Registreringsår:"Year of registration",Seter:"Seats",Bruktimport:"Used import","EU-godkjent":"EU approved",Egenvekt:"Curb weight",Karosseritype:"Body type","Maks nyttelast":"Maximum payload",Modell:"Model","Registrert første gang i Norge":"First registered in Norway","Tillatt totalvekt":"Permitted total weight",values:{Ja:"Yes",Nei:"No",Automat:"Automatic",Rød:"Red",Hvit:"White",Svart:"Black",Grå:"Gray",Blå:"Blue",Grønn:"Green",Gul:"Yellow",Sølv:"Silver",Beige:"Beige",Brun:"Brown",Oransje:"Orange",Lilla:"Purple",Rosa:"Pink",Annet:"Other",Bensin:"Gasoline",Diesel:"Diesel",Hybrid:"Hybrid",Elektrisitet:"Electricity",Elektrisk:"Electric"}},equipment:"Equipment",expenses:"Expenses",expensesTotal:"Total expenses",noExpenses:"No expenses registered",documents:"Important documents",noDocuments:"The object does not have any documents",map:"Map",highestBid:"Highest bid",youAreCurrentlyLeading:"You are currently leading the bidding!",yourBid:"Your bid",minBid:"Minimum bid",minBidIncrement:"Minimum bid increment",vat:"VAT",vatIncluded:"VAT applies",vatNone:"VAT-free",adminCommission:"Admin fee",ofBidAmount:"of bid amount",min:"min",max:"max",giveBid:"Place bid",verifyEmailToBid:"Verify your email address to place a bid.",addValidPhoneNumberToBid:"Add a valid phone number to your profile to place a bid.",loginToBid:"You are not logged in, so you cannot place a bid.",openMyProfile:"Open my profile",login:"Login",giveBidBehalf:"Place bid on behalf of",changeBidderProfile:"Change default bidder profile",youAreDeniedToBid:"You are banned from bidding.",minBidUpdated:"The minimum bid has been updated because a new higher bid has been placed.",terms:"terms",makeBid:"Place bid!",bindingBidQuestion:"Do you want to place a binding bid on",overview:"Overview",norwegianKroner:"Norwegian kroner",bidCorrectQuestion:"Is your bid correct?",youCantChangeBid:"You cannot change it afterwards.",bidError:"An error occurred. Bid not accepted.",year:"Model year",mileage:"Mileage",transmission:"Transmission",fuelType:"Fuel type",location:"Location",disclaimerPartOne:"The car is not sold with a 5-year warranty.",disclaimerPartTwo:"Errors in the advertisement are reserved. The car is sold by a dealer, which means that as a buyer you have a 5-year warranty against hidden defects. This warranty applies if the car is in worse condition than you as a buyer have reason to expect, based on the car's age, mileage, and the information provided by the seller. The warranty is valid from the time of delivery of the car.",disclaimerReadMore:"Read more about the warranty on our help center.",description:"Description",information:"Information",publicDataDisclaimer:"Some of this data is retrieved from public records, so errors are reserved.",bidList:"Bid List",openBidList:"Open Bid List",bidListPlaceholder:"Here you will be able to see all bids placed on this item.",noBidsYet:"No bids have been placed on this item yet.",bidListTable:{bidder:"Bidder",amount:"Amount",date:"Date"}},zC={couldNotFindPage:"Could not find the page!",home:"Home",showItems:"Show items",itemNotFound:"The item does not exist or has been sold.",otherItems:"Other items"},WC={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"}},qC={menu:{myPage:"My page",savedSearches:"Saved searches",myBidsAndPurchases:"My purchases and bids",myCompanies:"My companies",newCompany:"New company",mySettings:"My settings",new:"new!",admin:"Admin",logout:"Log out",register:"Register",login:"Log in"},login:{title:"Log into your account",email:"Email",yourEmail:"Your email",password:"Password",yourPassword:"Your password",rememberMe:"Remember me",login:"Log in",forgotPassword:"Forgot password?",noAccount:"Don't have an account?",register:"Register"},register:{title:"Create an account",firstAndLastName:"First and last name",phoneNumber:"Phone number",yourPhoneNumber:"Your phone number",streetAddress:"Street address",address:"Address",address2:"Address 2",zipCode:"Zip code",city:"City",loginDetails:"Login details",yourEmail:"Your email",yourPassword:"Your password",continue:"Continue..."},company:{title:"New company",users:"Users",organizationNumber:"Organization number",companyName:"Company name",column:{username:"Username",action:"Action"},removeUserFromCompany:"Remove user from company",addUserToCompany:"Add new user",emailAddress:"Email address",roleUser:"User",roleAdmin:"Admin",addUser:"Add user",companyAdded:"Company created",companyAddError:"An error occurred. Could not create company.",cantDeleteYourself:"You cannot delete yourself."},profile:{title:"My Profile",description:"Keep your profile updated for the best experience on Stadssalg!",notVerifiedWarning:"You have not yet verified your email or phone number, so you will not be able to place bids until this is completed.",verifyEmail:"Verify your email",checkYourEmail:"You've got mail! Confirm your email and refresh this page.",checkYourEmailSpam:"Remember to check the spam folder in your inbox.",section:{profile:"Profile",myCompanies:"My Companies",companies:"My Companies",shortcuts:"Quick Links"},firstAndLastName:"First and Last Name",address:"Address",address1:"Address 1",address2:"Address 2",zipCode:"Zip Code",city:"City",email:"Email",emailNotVerified:"Your email is not verified.",phoneNumber:"Phone Number",changePassword:"I want to change my password",changeMyPassword:"I want to change my password",dontChangeMyPassword:"I don't want to change my password after all",newPassword:"New Password",newPasswordRepeat:"Confirm Password",confirmPassword:"Confirm Password",currentPassword:"Current Password",currentPasswordPlaceholder:"Enter your current password",savePassword:"Save Password",country:"Country",companyUsers:"Company Users",noCompanies:"You have no companies linked to your profile.",logout:"Log out",updateProfile:"Update Profile",myCompanies:"My Companies",addCompany:"Add New Company",myBids:"My Bids",myBidsAndPurchases:"My Purchases and Bids",changeEmail:"Change Email",newEmail:"New Email",updateEmail:"Update Email",mySettings:"My Settings",new:"new!",savedSearches:"Saved Searches",customerService:"Customer Service",youGotAnEmail:"You've got mail! Confirm your email and refresh this page.",emailVerified:"Your email is verified",profileUpdated:"Your profile has been updated",emailUpdated:"Your email has been updated",passwordUpdated:"Your password has been updated"},bids:{title:"My Purchases and Bids",purchases:"My Purchases",purchasesCount:"purchases",activeBids:"Active Bids",bidsCount:"bids",statusWon:"Won",statusActive:"Active bid",statusLabel:"Status",currentStatus:"Current status",pickupDeadline:"Pickup deadline",viewListing:"View listing",searchPlaceholder:"Search here",showOnlyWon:"Show only purchases",showOnlyCompanies:"Show only companies",showOnlyActive:"Show only active auctions",column:{bidId:"Bid ID",objectId:"Object ID",bidder:"Bidder",company:"Company",email:"Email",phone:"Phone",location:"Location",noAddress:"No address listed. Contact the seller for more information.",processingTimeIs:"Processing time is",processingTimeContact:"We will contact you when the item is ready for pickup.",noActiveBids:"You currently have no active bids. Maybe take a look at our",noActiveBidsLink:"auctions",object:"Object",date:"Date",bid:"Bid",auctionStatus:"Auction status",auctionStatusActive:"Active",auctionStatusEnded:"Ended",bidWinner:"Winning bid"},status:{paymentReceived:"Payment received",paymentReceivedPending:"Payment not received",contractSigningStatus:"Contract signed",contractSigningStatusPending:"Contract not signed",checkedOut:"Checked out",checkedOutPending:"Not checked out",waitingForContract:"Waiting for signed contract",waitingForPayment:"Waiting for payment",processing:"Processing by Stadssalg",readyForPickup:"Ready for pickup",delivered:"Picked up",generatingContract:"Contract is being generated by Stadssalg",generatingInvoice:"Invoice is being generated by Stadssalg",processingDescription:"We are working on your purchase and will contact you if we need more information. There is no need to contact us regarding this, as we process all purchases as quickly as possible.",step:{contractReady:"Contract ready",signed:"Signed",invoiceReady:"Invoice ready",paid:"Paid",pickup:"Ready for pickup",delivered:"Picked up"}}},filters:{title:"Saved searches",noTitle:"No title",column:{title:"Title",filters:"Search filters",quantity:"Quantity",quantityTooltip:"Updated every morning.",notification:"Notification",actions:"Actions"},fields:{q:"Search keyword",category:"Category",subCategory:"Sub category",readyForSaleOnly:"Ready for sale",readyForSaleTodayOnly:"Ready for sale today",sortBy:"Sort by",agent:"Agent",location:"Location"},noSavedSearches:"You have no saved searches. You can save searches by clicking 'Save search' on ",auctions:"Auctions",deleteSavedSearch:"Delete saved search",deleteSavedSearchConfirm:"Are you sure you want to delete this search?",deleteSavedSearchSuccess:"The saved search was deleted"},settings:{readyForSaleNotificationDescription:"Notification of auction start.<br /> Only applies to items you have placed bids on.",readyForSaleNotificationSMS:"Receive notification via SMS",readyForSaleNotificationEmail:"Receive notification via email",overbidNotificationDescription:"Notification if you are outbid.<br />Applies only to items ready for sale where you are leading the bidding.",overbidNotificationSMS:"Receive notification via SMS",overbidNotificationEmail:"Receive notification via email",overbidNotificationMyCompanies:"Notify overbids from my companies",defaultBidderProfile:"Pre-filled bidder profile.",defaultBidderProfilePlaceholder:"Place bid on behalf of",newsletterAuctionsDescription:"Stay updated with our newsletter!<br /><br />Every day we send out an overview of the auctions taking place today.",newsletterAuctions:"Receive today's auctions via email",resetSettings:"Reset all settings",resetSettingsConfirm:"Are you sure you want to reset all settings?",saved:"Settings saved"}},VC={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"}}},YC={about:{},toa:{}},GC={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."},KC={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."}},XC={general:FC,role:jC,app:HC,item:UC,error:zC,items:WC,user:qC,home:VC,info:YC,maintenance:GC,helpCenter:KC},zs=["no","en"],JC=()=>{const e=window.location.pathname.split("/")[1];if(zs.includes(e))return e;const t=localStorage.getItem("appLanguage");return t&&zs.includes(t)?t:"no"},Sp=Xm({legacy:!1,locale:JC(),fallbackLocale:"no",messages:{no:DC,en:XC}}),sd=e=>{zs.includes(e)&&(Sp.global.locale.value=e,localStorage.setItem("appLanguage",e),document.documentElement.lang=e)},QC={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"},wp=Jm(QC),Bt=Qm(wp),XN=Zm(wp);function Ep(e,t){return function(){return e.apply(t,arguments)}}const{toString:ZC}=Object.prototype,{getPrototypeOf:Ya}=Object,{iterator:Ci,toStringTag:Cp}=Symbol,xi=(e=>t=>{const r=ZC.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),gt=e=>(e=e.toLowerCase(),t=>xi(t)===e),Ti=e=>t=>typeof t===e,{isArray:fo}=Array,eo=Ti("undefined");function tn(e){return e!==null&&!eo(e)&&e.constructor!==null&&!eo(e.constructor)&&Je(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const xp=gt("ArrayBuffer");function ex(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&xp(e.buffer),t}const tx=Ti("string"),Je=Ti("function"),Tp=Ti("number"),rn=e=>e!==null&&typeof e=="object",rx=e=>e===!0||e===!1,On=e=>{if(xi(e)!=="object")return!1;const t=Ya(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Cp in e)&&!(Ci in e)},ox=e=>{if(!rn(e)||tn(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},nx=gt("Date"),ix=gt("File"),sx=gt("Blob"),ax=gt("FileList"),cx=e=>rn(e)&&Je(e.pipe),lx=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Je(e.append)&&((t=xi(e))==="formdata"||t==="object"&&Je(e.toString)&&e.toString()==="[object FormData]"))},dx=gt("URLSearchParams"),[ux,fx,px,mx]=["ReadableStream","Request","Response","Headers"].map(gt),hx=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 Rp(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 fr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Ip=e=>!eo(e)&&e!==fr;function Ws(){const{caseless:e,skipUndefined:t}=Ip(this)&&this||{},r={},o=(n,i)=>{const s=e&&Rp(r,i)||i;On(r[s])&&On(n)?r[s]=Ws(r[s],n):On(n)?r[s]=Ws({},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 gx=(e,t,r,{allOwnKeys:o}={})=>(on(t,(n,i)=>{r&&Je(n)?e[i]=Ep(n,r):e[i]=n},{allOwnKeys:o}),e),bx=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),yx=(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)},vx=(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&&Ya(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kx=(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},_x=e=>{if(!e)return null;if(fo(e))return e;let t=e.length;if(!Tp(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},Sx=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Ya(Uint8Array)),wx=(e,t)=>{const o=(e&&e[Ci]).call(e);let n;for(;(n=o.next())&&!n.done;){const i=n.value;t.call(e,i[0],i[1])}},Ex=(e,t)=>{let r;const o=[];for(;(r=e.exec(t))!==null;)o.push(r);return o},Cx=gt("HTMLFormElement"),xx=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,o,n){return o.toUpperCase()+n}),ad=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),Tx=gt("RegExp"),Bp=(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)},Rx=e=>{Bp(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+"'")})}})},Ix=(e,t)=>{const r={},o=n=>{n.forEach(i=>{r[i]=!0})};return fo(e)?o(e):o(String(e).split(t)),r},Bx=()=>{},Ax=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function Mx(e){return!!(e&&Je(e.append)&&e[Cp]==="FormData"&&e[Ci])}const $x=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)},Ox=gt("AsyncFunction"),Lx=e=>e&&(rn(e)||Je(e))&&Je(e.then)&&Je(e.catch),Ap=((e,t)=>e?setImmediate:t?((r,o)=>(fr.addEventListener("message",({source:n,data:i})=>{n===fr&&i===r&&o.length&&o.shift()()},!1),n=>{o.push(n),fr.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",Je(fr.postMessage)),Nx=typeof queueMicrotask<"u"?queueMicrotask.bind(fr):typeof process<"u"&&process.nextTick||Ap,Px=e=>e!=null&&Je(e[Ci]),y={isArray:fo,isArrayBuffer:xp,isBuffer:tn,isFormData:lx,isArrayBufferView:ex,isString:tx,isNumber:Tp,isBoolean:rx,isObject:rn,isPlainObject:On,isEmptyObject:ox,isReadableStream:ux,isRequest:fx,isResponse:px,isHeaders:mx,isUndefined:eo,isDate:nx,isFile:ix,isBlob:sx,isRegExp:Tx,isFunction:Je,isStream:cx,isURLSearchParams:dx,isTypedArray:Sx,isFileList:ax,forEach:on,merge:Ws,extend:gx,trim:hx,stripBOM:bx,inherits:yx,toFlatObject:vx,kindOf:xi,kindOfTest:gt,endsWith:kx,toArray:_x,forEachEntry:wx,matchAll:Ex,isHTMLForm:Cx,hasOwnProperty:ad,hasOwnProp:ad,reduceDescriptors:Bp,freezeMethods:Rx,toObjectSet:Ix,toCamelCase:xx,noop:Bx,toFiniteNumber:Ax,findKey:Rp,global:fr,isContextDefined:Ip,isSpecCompliantForm:Mx,toJSONObject:$x,isAsyncFn:Ox,isThenable:Lx,setImmediate:Ap,asap:Nx,isIterable:Px};function K(e,t,r,o,n){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),o&&(this.request=o),n&&(this.response=n,this.status=n.status?n.status:null)}y.inherits(K,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:y.toJSONObject(this.config),code:this.code,status:this.status}}});const Mp=K.prototype,$p={};["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=>{$p[e]={value:e}});Object.defineProperties(K,$p);Object.defineProperty(Mp,"isAxiosError",{value:!0});K.from=(e,t,r,o,n,i)=>{const s=Object.create(Mp);y.toFlatObject(e,s,function(d){return d!==Error.prototype},l=>l!=="isAxiosError");const a=e&&e.message?e.message:"Error",c=t==null&&e?e.code:t;return K.call(s,a,c,r,o,n),e&&s.cause==null&&Object.defineProperty(s,"cause",{value:e,configurable:!0}),s.name=e&&e.name||"Error",i&&Object.assign(s,i),s};const Dx=null;function qs(e){return y.isPlainObject(e)||y.isArray(e)}function Op(e){return y.endsWith(e,"[]")?e.slice(0,-2):e}function cd(e,t,r){return e?e.concat(t).map(function(n,i){return n=Op(n),!r&&i?"["+n+"]":n}).join(r?".":""):t}function Fx(e){return y.isArray(e)&&!e.some(qs)}const jx=y.toFlatObject(y,{},null,function(t){return/^is[A-Z]/.test(t)});function Ri(e,t,r){if(!y.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=y.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(h,g){return!y.isUndefined(g[h])});const o=r.metaTokens,n=r.visitor||d,i=r.dots,s=r.indexes,c=(r.Blob||typeof Blob<"u"&&Blob)&&y.isSpecCompliantForm(t);if(!y.isFunction(n))throw new TypeError("visitor must be a function");function l(f){if(f===null)return"";if(y.isDate(f))return f.toISOString();if(y.isBoolean(f))return f.toString();if(!c&&y.isBlob(f))throw new K("Blob is not supported. Use a Buffer instead.");return y.isArrayBuffer(f)||y.isTypedArray(f)?c&&typeof Blob=="function"?new Blob([f]):Buffer.from(f):f}function d(f,h,g){let b=f;if(f&&!g&&typeof f=="object"){if(y.endsWith(h,"{}"))h=o?h:h.slice(0,-2),f=JSON.stringify(f);else if(y.isArray(f)&&Fx(f)||(y.isFileList(f)||y.endsWith(h,"[]"))&&(b=y.toArray(f)))return h=Op(h),b.forEach(function(S,w){!(y.isUndefined(S)||S===null)&&t.append(s===!0?cd([h],w,i):s===null?h:h+"[]",l(S))}),!1}return qs(f)?!0:(t.append(cd(g,h,i),l(f)),!1)}const u=[],m=Object.assign(jx,{defaultVisitor:d,convertValue:l,isVisitable:qs});function p(f,h){if(!y.isUndefined(f)){if(u.indexOf(f)!==-1)throw Error("Circular reference detected in "+h.join("."));u.push(f),y.forEach(f,function(b,_){(!(y.isUndefined(b)||b===null)&&n.call(t,b,y.isString(_)?_.trim():_,h,m))===!0&&p(b,h?h.concat(_):[_])}),u.pop()}}if(!y.isObject(e))throw new TypeError("data must be an object");return p(e),t}function ld(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(o){return t[o]})}function Ga(e,t){this._pairs=[],e&&Ri(e,this,t)}const Lp=Ga.prototype;Lp.append=function(t,r){this._pairs.push([t,r])};Lp.toString=function(t){const r=t?function(o){return t.call(this,o,ld)}:ld;return this._pairs.map(function(n){return r(n[0])+"="+r(n[1])},"").join("&")};function Hx(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Np(e,t,r){if(!t)return e;const o=r&&r.encode||Hx;y.isFunction(r)&&(r={serialize:r});const n=r&&r.serialize;let i;if(n?i=n(t,r):i=y.isURLSearchParams(t)?t.toString():new Ga(t,r).toString(o),i){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class dd{constructor(){this.handlers=[]}use(t,r,o){return this.handlers.push({fulfilled:t,rejected:r,synchronous:o?o.synchronous:!1,runWhen:o?o.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){y.forEach(this.handlers,function(o){o!==null&&t(o)})}}const Pp={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Ux=typeof URLSearchParams<"u"?URLSearchParams:Ga,zx=typeof FormData<"u"?FormData:null,Wx=typeof Blob<"u"?Blob:null,qx={isBrowser:!0,classes:{URLSearchParams:Ux,FormData:zx,Blob:Wx},protocols:["http","https","file","blob","url","data"]},Ka=typeof window<"u"&&typeof document<"u",Vs=typeof navigator=="object"&&navigator||void 0,Vx=Ka&&(!Vs||["ReactNative","NativeScript","NS"].indexOf(Vs.product)<0),Yx=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Gx=Ka&&window.location.href||"http://localhost",Kx=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Ka,hasStandardBrowserEnv:Vx,hasStandardBrowserWebWorkerEnv:Yx,navigator:Vs,origin:Gx},Symbol.toStringTag,{value:"Module"})),Ue={...Kx,...qx};function Xx(e,t){return Ri(e,new Ue.classes.URLSearchParams,{visitor:function(r,o,n,i){return Ue.isNode&&y.isBuffer(r)?(this.append(o,r.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)},...t})}function Jx(e){return y.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Qx(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 Dp(e){function t(r,o,n,i){let s=r[i++];if(s==="__proto__")return!0;const a=Number.isFinite(+s),c=i>=r.length;return s=!s&&y.isArray(n)?n.length:s,c?(y.hasOwnProp(n,s)?n[s]=[n[s],o]:n[s]=o,!a):((!n[s]||!y.isObject(n[s]))&&(n[s]=[]),t(r,o,n[s],i)&&y.isArray(n[s])&&(n[s]=Qx(n[s])),!a)}if(y.isFormData(e)&&y.isFunction(e.entries)){const r={};return y.forEachEntry(e,(o,n)=>{t(Jx(o),n,r,0)}),r}return null}function Zx(e,t,r){if(y.isString(e))try{return(t||JSON.parse)(e),y.trim(e)}catch(o){if(o.name!=="SyntaxError")throw o}return(r||JSON.stringify)(e)}const nn={transitional:Pp,adapter:["xhr","http","fetch"],transformRequest:[function(t,r){const o=r.getContentType()||"",n=o.indexOf("application/json")>-1,i=y.isObject(t);if(i&&y.isHTMLForm(t)&&(t=new FormData(t)),y.isFormData(t))return n?JSON.stringify(Dp(t)):t;if(y.isArrayBuffer(t)||y.isBuffer(t)||y.isStream(t)||y.isFile(t)||y.isBlob(t)||y.isReadableStream(t))return t;if(y.isArrayBufferView(t))return t.buffer;if(y.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(i){if(o.indexOf("application/x-www-form-urlencoded")>-1)return Xx(t,this.formSerializer).toString();if((a=y.isFileList(t))||o.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return Ri(a?{"files[]":t}:t,c&&new c,this.formSerializer)}}return i||n?(r.setContentType("application/json",!1),Zx(t)):t}],transformResponse:[function(t){const r=this.transitional||nn.transitional,o=r&&r.forcedJSONParsing,n=this.responseType==="json";if(y.isResponse(t)||y.isReadableStream(t))return t;if(t&&y.isString(t)&&(o&&!this.responseType||n)){const s=!(r&&r.silentJSONParsing)&&n;try{return JSON.parse(t,this.parseReviver)}catch(a){if(s)throw a.name==="SyntaxError"?K.from(a,K.ERR_BAD_RESPONSE,this,null,this.response):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ue.classes.FormData,Blob:Ue.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};y.forEach(["delete","get","head","post","put","patch"],e=>{nn.headers[e]={}});const eT=y.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),tT=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]&&eT[r])&&(r==="set-cookie"?t[r]?t[r].push(o):t[r]=[o]:t[r]=t[r]?t[r]+", "+o:o)}),t},ud=Symbol("internals");function vo(e){return e&&String(e).trim().toLowerCase()}function Ln(e){return e===!1||e==null?e:y.isArray(e)?e.map(Ln):String(e)}function rT(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 oT=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function ts(e,t,r,o,n){if(y.isFunction(o))return o.call(this,t,r);if(n&&(t=r),!!y.isString(t)){if(y.isString(o))return t.indexOf(o)!==-1;if(y.isRegExp(o))return o.test(t)}}function nT(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,o)=>r.toUpperCase()+o)}function iT(e,t){const r=y.toCamelCase(" "+t);["get","set","has"].forEach(o=>{Object.defineProperty(e,o+r,{value:function(n,i,s){return this[o].call(this,t,n,i,s)},configurable:!0})})}let Qe=class{constructor(t){t&&this.set(t)}set(t,r,o){const n=this;function i(a,c,l){const d=vo(c);if(!d)throw new Error("header name must be a non-empty string");const u=y.findKey(n,d);(!u||n[u]===void 0||l===!0||l===void 0&&n[u]!==!1)&&(n[u||c]=Ln(a))}const s=(a,c)=>y.forEach(a,(l,d)=>i(l,d,c));if(y.isPlainObject(t)||t instanceof this.constructor)s(t,r);else if(y.isString(t)&&(t=t.trim())&&!oT(t))s(tT(t),r);else if(y.isObject(t)&&y.isIterable(t)){let a={},c,l;for(const d of t){if(!y.isArray(d))throw TypeError("Object iterator must return a key-value pair");a[l=d[0]]=(c=a[l])?y.isArray(c)?[...c,d[1]]:[c,d[1]]:d[1]}s(a,r)}else t!=null&&i(r,t,o);return this}get(t,r){if(t=vo(t),t){const o=y.findKey(this,t);if(o){const n=this[o];if(!r)return n;if(r===!0)return rT(n);if(y.isFunction(r))return r.call(this,n,o);if(y.isRegExp(r))return r.exec(n);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=vo(t),t){const o=y.findKey(this,t);return!!(o&&this[o]!==void 0&&(!r||ts(this,this[o],o,r)))}return!1}delete(t,r){const o=this;let n=!1;function i(s){if(s=vo(s),s){const a=y.findKey(o,s);a&&(!r||ts(o,o[a],a,r))&&(delete o[a],n=!0)}}return y.isArray(t)?t.forEach(i):i(t),n}clear(t){const r=Object.keys(this);let o=r.length,n=!1;for(;o--;){const i=r[o];(!t||ts(this,this[i],i,t,!0))&&(delete this[i],n=!0)}return n}normalize(t){const r=this,o={};return y.forEach(this,(n,i)=>{const s=y.findKey(o,i);if(s){r[s]=Ln(n),delete r[i];return}const a=t?nT(i):String(i).trim();a!==i&&delete r[i],r[a]=Ln(n),o[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return y.forEach(this,(o,n)=>{o!=null&&o!==!1&&(r[n]=t&&y.isArray(o)?o.join(", "):o)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join(`
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const o=new this(t);return r.forEach(n=>o.set(n)),o}static accessor(t){const o=(this[ud]=this[ud]={accessors:{}}).accessors,n=this.prototype;function i(s){const a=vo(s);o[a]||(iT(n,s),o[a]=!0)}return y.isArray(t)?t.forEach(i):i(t),this}};Qe.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);y.reduceDescriptors(Qe.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(o){this[r]=o}}});y.freezeMethods(Qe);function rs(e,t){const r=this||nn,o=t||r,n=Qe.from(o.headers);let i=o.data;return y.forEach(e,function(a){i=a.call(r,i,n.normalize(),t?t.status:void 0)}),n.normalize(),i}function Fp(e){return!!(e&&e.__CANCEL__)}function po(e,t,r){K.call(this,e??"canceled",K.ERR_CANCELED,t,r),this.name="CanceledError"}y.inherits(po,K,{__CANCEL__:!0});function jp(e,t,r){const o=r.config.validateStatus;!r.status||!o||o(r.status)?e(r):t(new K("Request failed with status code "+r.status,[K.ERR_BAD_REQUEST,K.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function sT(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function aT(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 cT(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 ii=(e,t,r=3)=>{let o=0;const n=aT(50,250);return cT(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)},fd=(e,t)=>{const r=e!=null;return[o=>t[0]({lengthComputable:r,total:e,loaded:o}),t[1]]},pd=e=>(...t)=>y.asap(()=>e(...t)),lT=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,dT=Ue.hasStandardBrowserEnv?{write(e,t,r,o,n,i,s){if(typeof document>"u")return;const a=[`${e}=${encodeURIComponent(t)}`];y.isNumber(r)&&a.push(`expires=${new Date(r).toUTCString()}`),y.isString(o)&&a.push(`path=${o}`),y.isString(n)&&a.push(`domain=${n}`),i===!0&&a.push("secure"),y.isString(s)&&a.push(`SameSite=${s}`),document.cookie=a.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function uT(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function fT(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Hp(e,t,r){let o=!uT(t);return e&&(o||r==!1)?fT(e,t):t}const md=e=>e instanceof Qe?{...e}:e;function Cr(e,t){t=t||{};const r={};function o(l,d,u,m){return y.isPlainObject(l)&&y.isPlainObject(d)?y.merge.call({caseless:m},l,d):y.isPlainObject(d)?y.merge({},d):y.isArray(d)?d.slice():d}function n(l,d,u,m){if(y.isUndefined(d)){if(!y.isUndefined(l))return o(void 0,l,u,m)}else return o(l,d,u,m)}function i(l,d){if(!y.isUndefined(d))return o(void 0,d)}function s(l,d){if(y.isUndefined(d)){if(!y.isUndefined(l))return o(void 0,l)}else return o(void 0,d)}function a(l,d,u){if(u in t)return o(l,d);if(u in e)return o(void 0,l)}const c={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(l,d,u)=>n(md(l),md(d),u,!0)};return y.forEach(Object.keys({...e,...t}),function(d){const u=c[d]||n,m=u(e[d],t[d],d);y.isUndefined(m)&&u!==a||(r[d]=m)}),r}const Up=e=>{const t=Cr({},e);let{data:r,withXSRFToken:o,xsrfHeaderName:n,xsrfCookieName:i,headers:s,auth:a}=t;if(t.headers=s=Qe.from(s),t.url=Np(Hp(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),a&&s.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):""))),y.isFormData(r)){if(Ue.hasStandardBrowserEnv||Ue.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(y.isFunction(r.getHeaders)){const c=r.getHeaders(),l=["content-type","content-length"];Object.entries(c).forEach(([d,u])=>{l.includes(d.toLowerCase())&&s.set(d,u)})}}if(Ue.hasStandardBrowserEnv&&(o&&y.isFunction(o)&&(o=o(t)),o||o!==!1&&lT(t.url))){const c=n&&i&&dT.read(i);c&&s.set(n,c)}return t},pT=typeof XMLHttpRequest<"u",mT=pT&&function(e){return new Promise(function(r,o){const n=Up(e);let i=n.data;const s=Qe.from(n.headers).normalize();let{responseType:a,onUploadProgress:c,onDownloadProgress:l}=n,d,u,m,p,f;function h(){p&&p(),f&&f(),n.cancelToken&&n.cancelToken.unsubscribe(d),n.signal&&n.signal.removeEventListener("abort",d)}let g=new XMLHttpRequest;g.open(n.method.toUpperCase(),n.url,!0),g.timeout=n.timeout;function b(){if(!g)return;const S=Qe.from("getAllResponseHeaders"in g&&g.getAllResponseHeaders()),I={data:!a||a==="text"||a==="json"?g.responseText:g.response,status:g.status,statusText:g.statusText,headers:S,config:e,request:g};jp(function(v){r(v),h()},function(v){o(v),h()},I),g=null}"onloadend"in g?g.onloadend=b:g.onreadystatechange=function(){!g||g.readyState!==4||g.status===0&&!(g.responseURL&&g.responseURL.indexOf("file:")===0)||setTimeout(b)},g.onabort=function(){g&&(o(new K("Request aborted",K.ECONNABORTED,e,g)),g=null)},g.onerror=function(w){const I=w&&w.message?w.message:"Network Error",B=new K(I,K.ERR_NETWORK,e,g);B.event=w||null,o(B),g=null},g.ontimeout=function(){let w=n.timeout?"timeout of "+n.timeout+"ms exceeded":"timeout exceeded";const I=n.transitional||Pp;n.timeoutErrorMessage&&(w=n.timeoutErrorMessage),o(new K(w,I.clarifyTimeoutError?K.ETIMEDOUT:K.ECONNABORTED,e,g)),g=null},i===void 0&&s.setContentType(null),"setRequestHeader"in g&&y.forEach(s.toJSON(),function(w,I){g.setRequestHeader(I,w)}),y.isUndefined(n.withCredentials)||(g.withCredentials=!!n.withCredentials),a&&a!=="json"&&(g.responseType=n.responseType),l&&([m,f]=ii(l,!0),g.addEventListener("progress",m)),c&&g.upload&&([u,p]=ii(c),g.upload.addEventListener("progress",u),g.upload.addEventListener("loadend",p)),(n.cancelToken||n.signal)&&(d=S=>{g&&(o(!S||S.type?new po(null,e,g):S),g.abort(),g=null)},n.cancelToken&&n.cancelToken.subscribe(d),n.signal&&(n.signal.aborted?d():n.signal.addEventListener("abort",d)));const _=sT(n.url);if(_&&Ue.protocols.indexOf(_)===-1){o(new K("Unsupported protocol "+_+":",K.ERR_BAD_REQUEST,e));return}g.send(i||null)})},hT=(e,t)=>{const{length:r}=e=e?e.filter(Boolean):[];if(t||r){let o=new AbortController,n;const i=function(l){if(!n){n=!0,a();const d=l instanceof Error?l:this.reason;o.abort(d instanceof K?d:new po(d instanceof Error?d.message:d))}};let s=t&&setTimeout(()=>{s=null,i(new K(`timeout ${t} of ms exceeded`,K.ETIMEDOUT))},t);const a=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach(l=>{l.unsubscribe?l.unsubscribe(i):l.removeEventListener("abort",i)}),e=null)};e.forEach(l=>l.addEventListener("abort",i));const{signal:c}=o;return c.unsubscribe=()=>y.asap(a),c}},gT=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},bT=async function*(e,t){for await(const r of yT(e))yield*gT(r,t)},yT=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()}},hd=(e,t,r,o)=>{const n=bT(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})},gd=64*1024,{isFunction:vn}=y,vT=(({Request:e,Response:t})=>({Request:e,Response:t}))(y.global),{ReadableStream:bd,TextEncoder:yd}=y.global,vd=(e,...t)=>{try{return!!e(...t)}catch{return!1}},kT=e=>{e=y.merge.call({skipUndefined:!0},vT,e);const{fetch:t,Request:r,Response:o}=e,n=t?vn(t):typeof fetch=="function",i=vn(r),s=vn(o);if(!n)return!1;const a=n&&vn(bd),c=n&&(typeof yd=="function"?(f=>h=>f.encode(h))(new yd):async f=>new Uint8Array(await new r(f).arrayBuffer())),l=i&&a&&vd(()=>{let f=!1;const h=new r(Ue.origin,{body:new bd,method:"POST",get duplex(){return f=!0,"half"}}).headers.has("Content-Type");return f&&!h}),d=s&&a&&vd(()=>y.isReadableStream(new o("").body)),u={stream:d&&(f=>f.body)};n&&["text","arrayBuffer","blob","formData","stream"].forEach(f=>{!u[f]&&(u[f]=(h,g)=>{let b=h&&h[f];if(b)return b.call(h);throw new K(`Response type '${f}' is not supported`,K.ERR_NOT_SUPPORT,g)})});const m=async f=>{if(f==null)return 0;if(y.isBlob(f))return f.size;if(y.isSpecCompliantForm(f))return(await new r(Ue.origin,{method:"POST",body:f}).arrayBuffer()).byteLength;if(y.isArrayBufferView(f)||y.isArrayBuffer(f))return f.byteLength;if(y.isURLSearchParams(f)&&(f=f+""),y.isString(f))return(await c(f)).byteLength},p=async(f,h)=>{const g=y.toFiniteNumber(f.getContentLength());return g??m(h)};return async f=>{let{url:h,method:g,data:b,signal:_,cancelToken:S,timeout:w,onDownloadProgress:I,onUploadProgress:B,responseType:v,headers:R,withCredentials:J="same-origin",fetchOptions:T}=Up(f),A=t||fetch;v=v?(v+"").toLowerCase():"text";let D=hT([_,S&&S.toAbortSignal()],w),P=null;const L=D&&D.unsubscribe&&(()=>{D.unsubscribe()});let Q;try{if(B&&l&&g!=="get"&&g!=="head"&&(Q=await p(R,b))!==0){let q=new r(h,{method:"POST",body:b,duplex:"half"}),V;if(y.isFormData(b)&&(V=q.headers.get("content-type"))&&R.setContentType(V),q.body){const[ue,Ce]=fd(Q,ii(pd(B)));b=hd(q.body,gd,ue,Ce)}}y.isString(J)||(J=J?"include":"omit");const F=i&&"credentials"in r.prototype,U={...T,signal:D,method:g.toUpperCase(),headers:R.normalize().toJSON(),body:b,duplex:"half",credentials:F?J:void 0};P=i&&new r(h,U);let E=await(i?A(P,T):A(h,U));const W=d&&(v==="stream"||v==="response");if(d&&(I||W&&L)){const q={};["status","statusText","headers"].forEach(Ne=>{q[Ne]=E[Ne]});const V=y.toFiniteNumber(E.headers.get("content-length")),[ue,Ce]=I&&fd(V,ii(pd(I),!0))||[];E=new o(hd(E.body,gd,ue,()=>{Ce&&Ce(),L&&L()}),q)}v=v||"text";let $=await u[y.findKey(u,v)||"text"](E,f);return!W&&L&&L(),await new Promise((q,V)=>{jp(q,V,{data:$,headers:Qe.from(E.headers),status:E.status,statusText:E.statusText,config:f,request:P})})}catch(F){throw L&&L(),F&&F.name==="TypeError"&&/Load failed|fetch/i.test(F.message)?Object.assign(new K("Network Error",K.ERR_NETWORK,f,P),{cause:F.cause||F}):K.from(F,F&&F.code,f,P)}}},_T=new Map,zp=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=_T;for(;a--;)c=i[a],l=d.get(c),l===void 0&&d.set(c,l=a?new Map:kT(t)),d=l;return l};zp();const Xa={http:Dx,xhr:mT,fetch:{get:zp}};y.forEach(Xa,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const kd=e=>`- ${e}`,ST=e=>y.isFunction(e)||e===null||e===!1;function wT(e,t){e=y.isArray(e)?e:[e];const{length:r}=e;let o,n;const i={};for(let s=0;s<r;s++){o=e[s];let a;if(n=o,!ST(o)&&(n=Xa[(a=String(o)).toLowerCase()],n===void 0))throw new K(`Unknown adapter '${a}'`);if(n&&(y.isFunction(n)||(n=n.get(t))))break;i[a||"#"+s]=n}if(!n){const s=Object.entries(i).map(([c,l])=>`adapter ${c} `+(l===!1?"is not supported by the environment":"is not available in the build"));let a=r?s.length>1?`since :
`+s.map(kd).join(`
`):" "+kd(s[0]):"as no adapter specified";throw new K("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return n}const Wp={getAdapter:wT,adapters:Xa};function os(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new po(null,e)}function _d(e){return os(e),e.headers=Qe.from(e.headers),e.data=rs.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Wp.getAdapter(e.adapter||nn.adapter,e)(e).then(function(o){return os(e),o.data=rs.call(e,e.transformResponse,o),o.headers=Qe.from(o.headers),o},function(o){return Fp(o)||(os(e),o&&o.response&&(o.response.data=rs.call(e,e.transformResponse,o.response),o.response.headers=Qe.from(o.response.headers))),Promise.reject(o)})}const qp="1.13.2",Ii={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Ii[e]=function(o){return typeof o===e||"a"+(t<1?"n ":" ")+e}});const Sd={};Ii.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 K(n(s," has been removed"+(r?" in "+r:"")),K.ERR_DEPRECATED);return r&&!Sd[s]&&(Sd[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}};Ii.spelling=function(t){return(r,o)=>(console.warn(`${o} is likely a misspelling of ${t}`),!0)};function ET(e,t,r){if(typeof e!="object")throw new K("options must be an object",K.ERR_BAD_OPTION_VALUE);const o=Object.keys(e);let n=o.length;for(;n-- >0;){const i=o[n],s=t[i];if(s){const a=e[i],c=a===void 0||s(a,i,e);if(c!==!0)throw new K("option "+i+" must be "+c,K.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new K("Unknown option "+i,K.ERR_BAD_OPTION)}}const Nn={assertOptions:ET,validators:Ii},yt=Nn.validators;let br=class{constructor(t){this.defaults=t||{},this.interceptors={request:new dd,response:new dd}}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=Cr(this.defaults,r);const{transitional:o,paramsSerializer:n,headers:i}=r;o!==void 0&&Nn.assertOptions(o,{silentJSONParsing:yt.transitional(yt.boolean),forcedJSONParsing:yt.transitional(yt.boolean),clarifyTimeoutError:yt.transitional(yt.boolean)},!1),n!=null&&(y.isFunction(n)?r.paramsSerializer={serialize:n}:Nn.assertOptions(n,{encode:yt.function,serialize:yt.function},!0)),r.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:r.allowAbsoluteUrls=!0),Nn.assertOptions(r,{baseUrl:yt.spelling("baseURL"),withXsrfToken:yt.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let s=i&&y.merge(i.common,i[r.method]);i&&y.forEach(["delete","get","head","post","put","patch","common"],f=>{delete i[f]}),r.headers=Qe.concat(s,i);const a=[];let c=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(r)===!1||(c=c&&h.synchronous,a.unshift(h.fulfilled,h.rejected))});const l=[];this.interceptors.response.forEach(function(h){l.push(h.fulfilled,h.rejected)});let d,u=0,m;if(!c){const f=[_d.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++],h=a[u++];try{p=f(p)}catch(g){h.call(this,g);break}}try{d=_d.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=Cr(this.defaults,t);const r=Hp(t.baseURL,t.url,t.allowAbsoluteUrls);return Np(r,t.params,t.paramsSerializer)}};y.forEach(["delete","get","head","options"],function(t){br.prototype[t]=function(r,o){return this.request(Cr(o||{},{method:t,url:r,data:(o||{}).data}))}});y.forEach(["post","put","patch"],function(t){function r(o){return function(i,s,a){return this.request(Cr(a||{},{method:t,headers:o?{"Content-Type":"multipart/form-data"}:{},url:i,data:s}))}}br.prototype[t]=r(),br.prototype[t+"Form"]=r(!0)});let CT=class Vp{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 Vp(function(n){t=n}),cancel:t}}};function xT(e){return function(r){return e.apply(null,r)}}function TT(e){return y.isObject(e)&&e.isAxiosError===!0}const Ys={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(Ys).forEach(([e,t])=>{Ys[t]=e});function Yp(e){const t=new br(e),r=Ep(br.prototype.request,t);return y.extend(r,br.prototype,t,{allOwnKeys:!0}),y.extend(r,t,null,{allOwnKeys:!0}),r.create=function(n){return Yp(Cr(e,n))},r}const Be=Yp(nn);Be.Axios=br;Be.CanceledError=po;Be.CancelToken=CT;Be.isCancel=Fp;Be.VERSION=qp;Be.toFormData=Ri;Be.AxiosError=K;Be.Cancel=Be.CanceledError;Be.all=function(t){return Promise.all(t)};Be.spread=xT;Be.isAxiosError=TT;Be.mergeConfig=Cr;Be.AxiosHeaders=Qe;Be.formToJSON=e=>Dp(y.isHTMLForm(e)?new FormData(e):e);Be.getAdapter=Wp.getAdapter;Be.HttpStatusCode=Ys;Be.default=Be;const{Axios:ZN,AxiosError:eP,CanceledError:tP,isCancel:rP,CancelToken:oP,VERSION:nP,all:iP,Cancel:sP,isAxiosError:aP,spread:cP,toFormData:lP,AxiosHeaders:dP,HttpStatusCode:uP,formToJSON:fP,getAdapter:pP,mergeConfig:mP}=Be,Lr=Be.create({baseURL:"https://api.stadssalg.no"});Lr.interceptors.request.use(async e=>{const t=Bt.currentUser?await Bt.currentUser.getIdToken():null;return t&&(e.headers.Authorization=`Bearer ${t}`),e},e=>Promise.reject(e));const Ja=Fm("auth",()=>{const e=vt(null),t=vt(null),r=vt(null),o=vt(!1),n=vt(!1),i=vt("init"),s=Nr(()=>!!e.value);async function a(f,h){try{const g=await eh(Bt,f,h);return await th(g.user),g}catch(g){throw r.value=g.message,g}}async function c(f,h){i.value="loggingIn";try{const g=await rh(Bt,f,h),b=await Lr.get("/profile",{params:{userId:g.user.uid}});if(b?.data?.denied){await Ai(Bt);const _=new Error("Your account has been suspended");throw _.code="auth/denied",_}return e.value=g.user,t.value=b?.data,t.value&&(t.value.subscriptions={}),i.value="loggedIn",g}catch(g){throw r.value=g.message,i.value="loggedOut",g}}async function l(f){try{await oh(Bt,f)}catch(h){throw r.value=h.message,h}}async function d(){try{await Ai(Bt),e.value=null,t.value=null,o.value=!1,i.value="loggedOut"}catch(f){r.value=f.message}}async function u(f,h){try{const g=yc.credential(e.value.email,f);await vc(e.value,g),await nh(e.value,h)}catch(g){throw r.value=g.message,g}}async function m(f,h){try{const g=yc.credential(e.value.email,f);await vc(e.value,g),await ih(e.value,h)}catch(g){throw r.value=g.message,g}}function p(){const f=setTimeout(()=>{i.value="loggedOut"},4e3);i.value="loggingIn",sh(Bt,async h=>{if(clearTimeout(f),h)try{const g=(await h.getIdTokenResult()).claims,b=(await Lr.get("/profile",{params:{userId:h.uid}})).data;if(b.denied){await Ai(Bt);return}n.value&&(await Lr.post("/profile/verify",{}),n.value=!1),e.value=h,t.value=b,t.value&&(t.value.subscriptions={}),r.value=null,o.value=g.role==="admin",i.value="loggedIn"}catch{await new Promise(b=>setTimeout(b,5e3));try{const b=(await Lr.get("/profile",{params:{userId:h.uid}})).data;n.value&&(await Lr.post("/profile/verify",{}),n.value=!1),e.value=h,t.value=b,t.value&&(t.value.subscriptions={}),r.value=null,i.value="loggedIn"}catch{i.value="loggedOut"}}else e.value=null,t.value=null,r.value=null,o.value=!1,i.value="loggedOut"})}return{user:e,userDocument:t,error:r,isUserAdmin:o,isVerifying:n,loginStatus:i,isUserAuth:s,signUpAction:a,signInAction:c,forgotPasswordAction:l,signOutAction:d,changePassword:u,updateEmail:m,authAction:p}}),kn="Stadssalg AS - ",RT=[{path:"/error",name:"Error",component:()=>Se(()=>import("./ErrorPage-3wEy96yW.js"),__vite__mapDeps([0,1,2,3,4]))},{path:"/financing/:item?",name:"Financing",component:()=>Se(()=>import("./Index-BslObik_.js"),__vite__mapDeps([5,2,6,7,3,1,4,8])),meta:{title:"Finansering og forsikring"}},{path:"/ghg",name:"Climate",component:()=>Se(()=>import("./GHG--4CadLD-.js"),__vite__mapDeps([9,2,3,4,1])),meta:{title:"Klima og miljø"}},{path:"/",name:"Home",component:()=>Se(()=>import("./Index-aDRWLC5k.js"),__vite__mapDeps([10,1,2,6,7,3,11,4,12,13,14])),meta:{title:"Stadssalg AS"}},{path:"/items",name:"Items",component:()=>Se(()=>import("./Index-C801rpVj.js"),__vite__mapDeps([15,1,2,6,7,3,11,12,13,4,16])),meta:{title:kn+"Auksjoner"}},{path:"/items/:item",name:"Item",component:()=>Se(()=>import("./Item-BDm34f-C.js"),__vite__mapDeps([17,1,2,6,7,3,11,4,18])),meta:{title:kn+"Objekt"}},{path:"/item/:item",name:"ItemDetail",component:()=>Se(()=>import("./Item-BDm34f-C.js"),__vite__mapDeps([17,1,2,6,7,3,11,4,18])),meta:{title:kn+"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:kn+"Info"},component:()=>Se(()=>import("./Index-CHpBaACn.js"),__vite__mapDeps([19,2,3,4,1]))},{path:"/en/:pathMatch(.*)*",redirect:e=>(sd("en"),`/${e.params.pathMatch?.join("/")||""}`)},{path:"/no/:pathMatch(.*)*",redirect:e=>(sd("no"),`/${e.params.pathMatch?.join("/")||""}`)},{path:"/loginWithToken/:token",name:"LoginToken",component:()=>Se(()=>import("./LoginWithToken-6ZBo9j8_.js"),__vite__mapDeps([20,2,4,3,1]))},{path:"/login",name:"Login",component:()=>Se(()=>import("./Index-C0zabQAz.js"),__vite__mapDeps([21,1,2,6,7,3,22,23,4])),meta:{disableIfLoggedIn:!0}},{path:"/register",name:"Register",component:()=>Se(()=>import("./Register-BSy76Q78.js"),__vite__mapDeps([24,2,6,7,3,1,4])),meta:{disableIfLoggedIn:!0}},{path:"/register/private",name:"RegisterPrivate",props:!0,component:()=>Se(()=>import("./Form-D4IzJT7B.js"),__vite__mapDeps([25,2,6,7,3,22,1,4])),meta:{disableIfLoggedIn:!0}},{path:"/register/company",name:"RegisterCompany",props:!0,component:()=>Se(()=>import("./Form-D4IzJT7B.js"),__vite__mapDeps([25,2,6,7,3,22,1,4])),meta:{disableIfLoggedIn:!0}},{path:"/profile",name:"Profile",component:()=>Se(()=>import("./Index-C0zabQAz.js"),__vite__mapDeps([21,1,2,6,7,3,22,23,4])),meta:{requiresAuth:!0}},{path:"/profile/favorites",name:"MyFavorites",component:()=>Se(()=>import("./MyFavorites-DXJGX6v3.js"),__vite__mapDeps([26,6,7,3,2,1,4])),meta:{requiresAuth:!0}},{path:"/profile/bids",name:"MyBids",component:()=>Se(()=>import("./MyBids-f0dTmoUS.js"),__vite__mapDeps([27,2,6,7,3,1,4,28])),meta:{requiresAuth:!0}},{path:"/profile/settings",name:"MySettings",component:()=>Se(()=>import("./MySettings-BlXH7d8X.js"),__vite__mapDeps([29,1,2,3,4,30])),meta:{requiresAuth:!0}},{path:"/profile/companies/new",name:"NewCompany",component:()=>Se(()=>import("./EditCompany-B_J9Zu1f.js"),__vite__mapDeps([31,2,6,7,3,1,4])),meta:{requiresAuth:!0}},{path:"/profile/companies/:companyId",name:"EditCompany",component:()=>Se(()=>import("./EditCompany-B_J9Zu1f.js"),__vite__mapDeps([31,2,6,7,3,1,4])),meta:{requiresAuth:!0}},{path:"/profile/saved-searches",name:"MyFilters",component:()=>Se(()=>import("./MyFilters-CePpfck2.js"),__vite__mapDeps([32,1,2,6,7,3,4])),meta:{requiresAuth:!0}},{path:"/profile/mgmt",alias:"/profil/mgmt",name:"ProfileMgmt",component:()=>Se(()=>import("./CustomEmailHandler-CnWys3pj.js"),__vite__mapDeps([33,2,4,1,23,3])),meta:{requiresAuth:!1}},{path:"/404",name:"NotFound",component:()=>Se(()=>import("./404-CrpdM-oE.js"),__vite__mapDeps([34,1,2,3,4]))},{path:"/:catchAll(.*)",redirect:"/error"}],Bi=jm({history:Hm("/"),scrollBehavior(e,t,r){return r?{...r,behavior:"smooth"}:{top:0,behavior:"smooth"}},routes:RT});Bi.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 IT(e){return new Promise(t=>{const r=["loggedIn","loggedOut"];if(r.includes(e.loginStatus)){t(e.loginStatus);return}const o=Um(()=>e.loginStatus,n=>{r.includes(n)&&(o(),t(n))})})}Bi.beforeEach(async(e,t)=>{document.title=e.meta.title||"Stadssalg";const r=Ja(),o=e.matched.some(i=>i.meta.requiresAuth),n=e.matched.some(i=>i.meta.disableIfLoggedIn);return o||n?(await IT(r),BT(e,r,o,n)):!0});function BT(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 Gp="opt-in",ko="opt-out",Qa="show--consent",Za="show--preferences",Gs="disable--interaction",si="data-category",ae="div",mt="button",ht="aria-hidden",To="btn-group",He="click",zr="data-role",ec="consentModal",tc="preferencesModal";let Kp=class{constructor(){this.t={mode:Gp,revision:0,autoShow:!0,lazyHtmlGeneration:!0,autoClearCookies:!0,manageScriptTags:!0,hideFromBots:!0,cookie:{name:"cc_cookie",expiresAfterDays:182,domain:"",path:"/",secure:!0,sameSite:"Lax"}},this.o={i:{},l:"",_:{},u:{},p:{},m:[],v:!1,h:null,C:null,S:null,M:"",D:!0,T:!1,k:!1,A:!1,N:!1,H:[],V:!1,I:!0,L:[],j:!1,F:"",P:!1,O:[],R:[],B:[],$:[],G:!1,J:!1,U:!1,q:[],K:[],W:[],X:{},Y:{},Z:{},ee:{},te:{},oe:[]},this.ne={ae:{},se:{}},this.ce={},this.re={ie:"cc:onFirstConsent",le:"cc:onConsent",de:"cc:onChange",fe:"cc:onModalShow",_e:"cc:onModalHide",ue:"cc:onModalReady"}}};const k=new Kp,Xp=(e,t)=>e.indexOf(t),le=(e,t)=>Xp(e,t)!==-1,mo=e=>Array.isArray(e),Ht=e=>typeof e=="string",ai=e=>!!e&&typeof e=="object"&&!mo(e),kt=e=>typeof e=="function",St=e=>Object.keys(e),rc=e=>Array.from(new Set(e)),ci=()=>document.activeElement,Hr=e=>e.preventDefault(),oc=(e,t)=>e.querySelectorAll(t),_n=e=>e.dispatchEvent(new Event("change")),O=e=>{const t=document.createElement(e);return e===mt&&(t.type=e),t},z=(e,t,r)=>e.setAttribute(t,r),ns=(e,t,r)=>{e.removeAttribute(r?"data-"+t:t)},Pn=(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),Jt=(e,t)=>e.classList.remove(t),At=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]=At(o)}return t},AT=()=>{const e={},{O:t,X:r,Y:o}=k.o;for(const n of t)e[n]=Dn(o[n],St(r[n]));return e},wd=(e,t)=>dispatchEvent(new CustomEvent(e,{detail:t})),we=(e,t,r,o)=>{e.addEventListener(t,r),o&&k.o.m.push({pe:e,ge:t,me:r})},Ed=()=>{const e=k.t.cookie.expiresAfterDays;return kt(e)?e(k.o.F):e},Dn=(e,t)=>{const r=e||[],o=t||[];return r.filter((n=>!le(o,n))).concat(o.filter((n=>!le(r,n))))},Jp=e=>{k.o.R=rc(e),k.o.F=(()=>{let t="custom";const{R:r,O:o,B:n}=k.o,i=r.length;return i===o.length?t="all":i===n.length&&(t="necessary"),t})()},Qp=(e,t,r,o)=>{const n="accept-",{show:i,showPreferences:s,hide:a,hidePreferences:c,acceptCategory:l}=t,d=e||document,u=S=>oc(d,`[data-cc="${S}"]`),m=(S,w)=>{Hr(S),l(w),c(),a()},p=u("show-preferencesModal"),f=u("show-consentModal"),h=u(n+"all"),g=u(n+"necessary"),b=u(n+"custom"),_=k.t.lazyHtmlGeneration;for(const S of p)z(S,"aria-haspopup","dialog"),we(S,He,(w=>{Hr(w),s()})),_&&(we(S,"mouseenter",(w=>{Hr(w),k.o.N||r(t,o)}),!0),we(S,"focus",(()=>{k.o.N||r(t,o)})));for(let S of f)z(S,"aria-haspopup","dialog"),we(S,He,(w=>{Hr(w),i(!0)}),!0);for(let S of h)we(S,He,(w=>{m(w,"all")}),!0);for(let S of b)we(S,He,(w=>{m(w)}),!0);for(let S of g)we(S,He,(w=>{m(w,[])}),!0)},wt=(e,t)=>{e&&(t&&(e.tabIndex=-1),e.focus(),t&&e.removeAttribute("tabindex"))},Zp=(e,t)=>{const r=o=>{o.target.removeEventListener("transitionend",r),o.propertyName==="opacity"&&getComputedStyle(e).opacity==="1"&&wt((n=>n===1?k.ne.be:k.ne.ve)(t))};we(e,"transitionend",r)};let Cd;const em=e=>{clearTimeout(Cd),e?be(k.ne.ye,Gs):Cd=setTimeout((()=>{Jt(k.ne.ye,Gs)}),500)},MT=["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="${MT[e]}"/></svg>`,tm=e=>{const t=k.ne,r=k.o;(o=>{const n=o===t.he,i=r.i.disablePageInteraction?t.ye:n?t.Ce:t.ye;we(i,"keydown",(s=>{if(s.key!=="Tab"||!(n?r.k&&!r.A:r.A))return;const a=ci(),c=n?r.q:r.K;c.length!==0&&(s.shiftKey?a!==c[0]&&o.contains(a)||(Hr(s),wt(c[1])):a!==c[1]&&o.contains(a)||(Hr(s),wt(c[0])))}),!0)})(e)},$T=["[href]",mt,"input","details","[tabindex]"].map((e=>e+':not([tabindex="-1"])')).join(","),rm=e=>{const{o:t,ne:r}=k,o=(n,i)=>{const s=oc(n,$T);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)},Et=(e,t,r)=>{const{de:o,le:n,ie:i,_e:s,ue:a,fe:c}=k.ce,l=k.re;if(t){const u={modalName:t};return e===l.fe?kt(c)&&c(u):e===l._e?kt(s)&&s(u):(u.modal=r,kt(a)&&a(u)),wd(e,u)}const d={cookie:k.o.p};e===l.ie?kt(i)&&i(At(d)):e===l.le?kt(n)&&n(At(d)):(d.changedCategories=k.o.L,d.changedServices=k.o.ee,kt(o)&&o(At(d))),wd(e,At(d))},Do=(e,t)=>{try{return e()}catch(r){return!t&&console.warn("CookieConsent:",r),!1}},Ks=e=>{const{Y:t,ee:r,O:o,X:n,oe:i,p:s,L:a}=k.o;for(const u of o){const m=r[u]||t[u]||[];for(const p of m){const f=n[u][p];if(!f)continue;const{onAccept:h,onReject:g}=f;!f.Se&&le(t[u],p)?(f.Se=!0,kt(h)&&h()):f.Se&&!le(t[u],p)&&(f.Se=!1,kt(g)&&g())}}if(!k.t.manageScriptTags)return;const c=i,l=e||s.categories||[],d=(u,m)=>{if(m>=u.length)return;const p=i[m];if(p.xe)return d(u,m+1);const f=p.Me,h=p.De,g=p.Te,b=le(l,h),_=!!g&&le(t[h],g);if(!g&&!p.ke&&b||!g&&p.ke&&!b&&le(a,h)||g&&!p.ke&&_||g&&p.ke&&!_&&le(r[h]||[],g)){p.xe=!0;const S=Pn(f,"type",!0);ns(f,"type",!!S),ns(f,si);let w=Pn(f,"src",!0);w&&ns(f,"src",!0);const I=O("script");I.textContent=f.innerHTML;for(const{nodeName:v}of f.attributes)z(I,v,f[v]||Pn(f,v));S&&(I.type=S),w?I.src=w:w=f.src;const B=!!w&&(!S||["text/javascript","module"].includes(S));if(B&&(I.onload=I.onerror=()=>{d(u,++m)}),f.replaceWith(I),B)return}d(u,++m)};d(c,0)},Fn="bottom",Xs="left",om="center",nc="right",is="inline",nm="wide",im="pm--",ss=["middle","top",Fn],xd=[Xs,om,nc],OT={box:{Ee:[nm,is],Ae:ss,Ne:xd,He:Fn,Ve:nc},cloud:{Ee:[is],Ae:ss,Ne:xd,He:Fn,Ve:om},bar:{Ee:[is],Ae:ss.slice(1),Ne:[],He:Fn,Ve:""}},LT={box:{Ee:[],Ae:[],Ne:[],He:"",Ve:""},bar:{Ee:[nm],Ae:[],Ne:[Xs,nc],He:"",Ve:Xs}},sm=e=>{const t=k.o.i.guiOptions,r=t&&t.consentModal,o=t&&t.preferencesModal;e===0&&Td(k.ne.he,OT,r,"cm--","box","cm"),e===1&&Td(k.ne.we,LT,o,im,"box","pm")},Td=(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],h=le(f.Ee,m)&&m,g=a&&a.split(" ")||[],b=g[0],_=o===im?g[0]:g[1],S=le(f.Ae,b)?b:f.He,w=le(f.Ne,_)?_:f.Ve,I=v=>{v&&be(e,o+v)};I(p),I(h),I(S),I(w),c&&I("flip");const B=i+"__btn--secondary";if(i==="cm"){const{Ie:v,Le:R}=k.ne;v&&(l?Jt(v,B):be(v,B)),R&&(l?Jt(R,B):be(R,B))}else{const{je:v}=k.ne;v&&(l?Jt(v,B):be(v,B))}},to=(e,t)=>{const r=k.o,o=k.ne,{hide:n,hidePreferences:i,acceptCategory:s}=e,a=w=>{s(w),i(),n()},c=r.u&&r.u.preferencesModal;if(!c)return;const l=c.title,d=c.closeIconLabel,u=c.acceptAllBtn,m=c.acceptNecessaryBtn,p=c.savePreferencesBtn,f=c.sections||[],h=u||m||p;if(o.Fe)o.Pe=O(ae),ie(o.Pe,"body");else{o.Fe=O(ae),be(o.Fe,"pm-wrapper");const w=O("div");be(w,"pm-overlay"),M(o.Fe,w),we(w,He,i),o.we=O(ae),be(o.we,"pm"),z(o.we,"role","dialog"),z(o.we,ht,!0),z(o.we,"aria-modal",!0),z(o.we,"aria-labelledby","pm__title"),we(o.ye,"keydown",(I=>{I.keyCode===27&&i()}),!0),o.Oe=O(ae),ie(o.Oe,"header"),o.Re=O("h2"),ie(o.Re,"title"),o.Re.id="pm__title",o.Be=O(mt),ie(o.Be,"close-btn"),z(o.Be,"aria-label",c.closeIconLabel||""),we(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 g=O(ae);be(g,"btns");var b=O(ae),_=O(ae);ie(b,To),ie(_,To),M(o.Je,b),M(o.Je,_),M(o.Oe,o.Re),M(o.Oe,o.Be),o.ve=O(ae),z(o.ve,"tabIndex",-1),M(o.we,o.ve),M(o.we,o.Oe),M(o.we,o.Ge),h&&M(o.we,o.Je),M(o.Fe,o.we)}let S;l&&(o.Re.innerHTML=l,d&&z(o.Be,"aria-label",d)),f.forEach(((w,I)=>{const B=w.title,v=w.description,R=w.linkedCategory,J=R&&r.P[R],T=w.cookieTable,A=T&&T.body,D=T&&T.caption,P=A&&A.length>0,L=!!J,Q=L&&r.X[R],F=ai(Q)&&St(Q)||[],U=L&&(!!v||!!P||St(Q).length>0);var E=O(ae);if(ie(E,"section"),U||v){var W=O(ae);ie(W,"section-desc-wrapper")}let $=F.length;if(U&&$>0){const ke=O(ae);ie(ke,"section-services");for(const _e of F){const pe=Q[_e],$e=pe&&pe.label||_e,rt=O(ae),bt=O(ae),sr=O(ae),zt=O(ae);ie(rt,"service"),ie(zt,"service-title"),ie(bt,"service-header"),ie(sr,"service-icon");const Pe=Rd($e,_e,J,!0,R);zt.innerHTML=$e,M(bt,sr),M(bt,zt),M(rt,bt),M(rt,Pe),M(ke,rt)}M(W,ke)}if(B){var q=O(ae),V=O(L?mt:ae);if(ie(q,"section-title-wrapper"),ie(V,"section-title"),V.innerHTML=B,M(q,V),L){const ke=O("span");ke.innerHTML=Po(2,3.5),ie(ke,"section-arrow"),M(q,ke),E.className+="--toggle";const _e=Rd(B,R,J);let pe=c.serviceCounterLabel;if($>0&&Ht(pe)){let $e=O("span");ie($e,"badge"),ie($e,"service-counter"),z($e,ht,!0),z($e,"data-servicecounter",$),pe&&(pe=pe.split("|"),pe=pe.length>1&&$>1?pe[1]:pe[0],z($e,"data-counterlabel",pe)),$e.innerHTML=$+(pe?" "+pe:""),M(V,$e)}if(U){ie(E,"section--expandable");var ue=R+"-desc";z(V,"aria-expanded",!1),z(V,"aria-controls",ue)}M(q,_e)}else z(V,"role","heading"),z(V,"aria-level","3");M(E,q)}if(v){var Ce=O("p");ie(Ce,"section-desc"),Ce.innerHTML=v,M(W,Ce)}if(U&&(z(W,ht,"true"),W.id=ue,((ke,_e,pe)=>{we(V,He,(()=>{_e.classList.contains("is-expanded")?(Jt(_e,"is-expanded"),z(pe,"aria-expanded","false"),z(ke,ht,"true")):(be(_e,"is-expanded"),z(pe,"aria-expanded","true"),z(ke,ht,"false"))}))})(W,E,V),P)){const ke=O("table"),_e=O("thead"),pe=O("tbody");if(D){const Pe=O("caption");ie(Pe,"table-caption"),Pe.innerHTML=D,ke.appendChild(Pe)}ie(ke,"section-table"),ie(_e,"table-head"),ie(pe,"table-body");const $e=T.headers,rt=St($e),bt=o.Ue.createDocumentFragment(),sr=O("tr");for(const Pe of rt){const Ye=$e[Pe],it=O("th");it.id="cc__row-"+Ye+I,z(it,"scope","col"),ie(it,"table-th"),it.innerHTML=Ye,M(bt,it)}M(sr,bt),M(_e,sr);const zt=o.Ue.createDocumentFragment();for(const Pe of A){const Ye=O("tr");ie(Ye,"table-tr");for(const it of rt){const Rr=$e[it],Ir=Pe[it],Rt=O("td"),ne=O(ae);ie(Rt,"table-td"),z(Rt,"data-column",Rr),z(Rt,"headers","cc__row-"+Rr+I),ne.insertAdjacentHTML("beforeend",Ir),M(Rt,ne),M(Ye,Rt)}M(zt,Ye)}M(pe,zt),M(ke,_e),M(ke,pe),M(W,ke)}(U||v)&&M(E,W);const Ne=o.Pe||o.Ge;L?(S||(S=O(ae),ie(S,"section-toggles")),S.appendChild(E)):S=null,M(Ne,S||E)})),u&&(o.ze||(o.ze=O(mt),ie(o.ze,"btn"),z(o.ze,zr,"all"),M(b,o.ze),we(o.ze,He,(()=>a("all")))),o.ze.innerHTML=u),m&&(o.je||(o.je=O(mt),ie(o.je,"btn"),z(o.je,zr,"necessary"),M(b,o.je),we(o.je,He,(()=>a([])))),o.je.innerHTML=m),p&&(o.qe||(o.qe=O(mt),ie(o.qe,"btn"),ie(o.qe,"btn--secondary"),z(o.qe,zr,"save"),M(_,o.qe),we(o.qe,He,(()=>a()))),o.qe.innerHTML=p),o.Pe&&(o.we.replaceChild(o.Pe,o.Ge),o.Ge=o.Pe),sm(1),r.N||(r.N=!0,Et(k.re.ue,tc,o.we),t(e),M(o.Ce,o.Fe),tm(o.we),setTimeout((()=>be(o.Fe,"cc--anim")),100)),rm(2)};function Rd(e,t,r,o,n){const i=k.o,s=k.ne,a=O("label"),c=O("input"),l=O("span"),d=O("span"),u=O("span"),m=O("span"),p=O("span");if(m.innerHTML=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,ht,"true"),o?(be(a,"toggle-service"),z(c,si,n),s.se[n][t]=c):s.ae[t]=c,o?(f=>{we(c,"change",(()=>{const h=s.se[f],g=s.ae[f];i.Z[f]=[];for(let b in h){const _=h[b];_.checked&&i.Z[f].push(_.value)}g.checked=i.Z[f].length>0}))})(n):(f=>{we(c,He,(()=>{const h=s.se[f],g=c.checked;i.Z[f]=[];for(let b in h)h[b].checked=g,g&&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 as=()=>{const e=O("span");return k.ne.Ke||(k.ne.Ke=e),e},ic=(e,t)=>{const r=k.o,o=k.ne,{hide:n,showPreferences:i,acceptCategory:s}=e,a=r.u&&r.u.consentModal;if(!a)return;const c=a.acceptAllBtn,l=a.acceptNecessaryBtn,d=a.showPreferencesBtn,u=a.closeIconLabel,m=a.footer,p=a.label,f=a.title,h=b=>{n(),s(b)};if(!o.Qe){o.Qe=O(ae),o.he=O(ae),o.We=O(ae),o.Xe=O(ae),o.Ye=O(ae),be(o.Qe,"cm-wrapper"),be(o.he,"cm"),ze(o.We,"body"),ze(o.Xe,"texts"),ze(o.Ye,"btns"),z(o.he,"role","dialog"),z(o.he,"aria-modal","true"),z(o.he,ht,"false"),z(o.he,"aria-describedby","cm__desc"),p?z(o.he,"aria-label",p):f&&z(o.he,"aria-labelledby","cm__title");const b="box",_=r.i.guiOptions,S=_&&_.consentModal,w=(S&&S.layout||b).split(" ")[0]===b;f&&u&&w&&(o.Le||(o.Le=O(mt),o.Le.innerHTML=Po(),ze(o.Le,"btn"),ze(o.Le,"btn--close"),we(o.Le,He,(()=>{h([])})),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 g=a.description;if(g&&(r.V&&(g=g.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=g),c&&(o.tt||(o.tt=O(mt),M(o.tt,as()),ze(o.tt,"btn"),z(o.tt,zr,"all"),we(o.tt,He,(()=>{h("all")}))),o.tt.firstElementChild.innerHTML=c),l&&(o.Ie||(o.Ie=O(mt),M(o.Ie,as()),ze(o.Ie,"btn"),z(o.Ie,zr,"necessary"),we(o.Ie,He,(()=>{h([])}))),o.Ie.firstElementChild.innerHTML=l),d&&(o.ot||(o.ot=O(mt),M(o.ot,as()),ze(o.ot,"btn"),ze(o.ot,"btn--secondary"),z(o.ot,zr,"show"),we(o.ot,"mouseenter",(()=>{r.N||to(e,t)})),we(o.ot,He,i)),o.ot.firstElementChild.innerHTML=d),o.nt||(o.nt=O(ae),ze(o.nt,To),c&&M(o.nt,o.tt),l&&M(o.nt,o.Ie),(c||l)&&M(o.We,o.nt),M(o.Ye,o.nt)),o.ot&&!o.st&&(o.st=O(ae),o.Ie&&o.tt?(ze(o.st,To),M(o.st,o.ot),M(o.Ye,o.st)):(M(o.nt,o.ot),ze(o.nt,To+"--uneven"))),m){if(!o.ct){let b=O(ae),_=O(ae);o.ct=O(ae),ze(b,"footer"),ze(_,"links"),ze(o.ct,"link-group"),M(_,o.ct),M(b,_),M(o.he,b)}o.ct.innerHTML=m}sm(0),r.T||(r.T=!0,Et(k.re.ue,ec,o.he),t(e),M(o.Ce,o.Qe),tm(o.he),setTimeout((()=>be(o.Qe,"cc--anim")),100)),rm(1),Qp(o.We,e,to,t)},sc=e=>{if(!Ht(e))return null;if(e in k.o._)return e;let t=e.slice(0,2);return t in k.o._?t:null},ac=()=>k.o.l||k.o.i.language.default,cc=e=>{e&&(k.o.l=e)},am=async e=>{const t=k.o;let r=sc(e)?e:ac(),o=t._[r];if(Ht(o)?o=await(async n=>{try{return await(await fetch(n)).json()}catch(i){return console.error(i),!1}})(o):kt(o)&&(o=await o()),!o)throw`Could not load translation for the '${r}' language`;return t.u=o,cc(r),!0},cm=()=>{let e=k.o.i.language.rtl,t=k.ne.Ce;e&&t&&(mo(e)||(e=[e]),le(e,k.o.l)?be(t,"cc--rtl"):Jt(t,"cc--rtl"))},yr=()=>{const e=k.ne;if(e.Ce)return;e.Ce=O(ae),e.Ce.id="cc-main",e.Ce.setAttribute("data-nosnippet",""),cm();let t=k.o.i.root;t&&Ht(t)&&(t=document.querySelector(t)),(t||e.Ue.body).appendChild(e.Ce)},lm=e=>Do((()=>localStorage.removeItem(e))),Id=(e,t)=>{if(t instanceof RegExp)return e.filter((r=>t.test(r)));{const r=Xp(e,t);return r>-1?[e[r]]:[]}},dm=e=>{const{hostname:t,protocol:r}=location,{name:o,path:n,domain:i,sameSite:s,useLocalStorage:a,secure:c}=k.t.cookie,l=e?(()=>{const p=k.o.S,f=p?new Date-p:0;return 864e5*Ed()-f})():864e5*Ed(),d=new Date;d.setTime(d.getTime()+l),k.o.p.expirationTime=d.getTime();const u=JSON.stringify(k.o.p);let m=o+"="+encodeURIComponent(u)+(l!==0?"; expires="+d.toUTCString():"")+"; Path="+n+"; SameSite="+s;le(t,".")&&(m+="; Domain="+i),c&&r==="https:"&&(m+="; Secure"),a?((p,f)=>{Do((()=>localStorage.setItem(p,f)))})(o,u):document.cookie=m,k.o.p},Js=(e,t,r)=>{if(e.length===0)return;const o=r||k.t.cookie.domain,n=t||k.t.cookie.path,i=o.slice(0,4)==="www.",s=i&&o.substring(4),a=(c,l)=>{l&&l.slice(0,1)!=="."&&(l="."+l),document.cookie=c+"=; path="+n+(l?"; domain="+l:"")+"; expires=Thu, 01 Jan 1970 00:00:01 GMT;"};for(const c of e)a(c,r),r||a(c,o),i&&a(c,s)},um=e=>{const t=e||k.t.cookie.name,r=k.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)))||""):lc(t,!0),r);var o},lc=(e,t)=>{const r=document.cookie.match("(^|;)\\s*"+e+"\\s*=\\s*([^;]+)");return r?t?r.pop():e:""},fm=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},dc=(e,t=[])=>{((r,o)=>{const{O:n,R:i,B:s,N:a,Z:c,$:l,X:d}=k.o;let u=[];if(r){mo(r)?u.push(...r):Ht(r)&&(u=r==="all"?n:[r]);for(const m of n)c[m]=le(u,m)?St(d[m]):[]}else u=[...i,...l],a&&(u=(()=>{const m=k.ne.ae;if(!m)return[];let p=[];for(let f in m)m[f].checked&&p.push(f);return p})());u=u.filter((m=>!le(n,m)||!le(o,m))),u.push(...s),Jp(u)})(e,t),(()=>{const r=k.o,{Z:o,B:n,Y:i,X:s,O:a}=r,c=a;r.te=At(i);for(const l of c){const d=s[l],u=St(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]=rc(i[l])}}})(),(()=>{const r=k.o;r.L=k.t.mode===ko&&r.D?Dn(r.$,r.R):Dn(r.R,r.p.categories);let o=r.L.length>0,n=!1;for(const c of r.O)r.ee[c]=Dn(r.Y[c],r.te[c]),r.ee[c].length>0&&(n=!0);const i=k.ne.ae;for(const c in i)i[c].checked=le(r.R,c);for(const c of r.O){const l=k.ne.se[c],d=r.Y[c];for(const u in l)l[u].checked=le(d,u)}r.C||(r.C=new Date),r.M||(r.M=("10000000-1000-4000-8000"+-1e11).replace(/[018]/g,(c=>(c^crypto.getRandomValues(new Uint8Array(1))[0]&15>>c/4).toString(16)))),r.p={categories:At(r.R),revision:k.t.revision,data:r.h,consentTimestamp:r.C.toISOString(),consentId:r.M,services:At(r.Y),languageCode:k.o.l},r.S&&(r.p.lastConsentTimestamp=r.S.toISOString());let s=!1;const a=o||n;(r.D||a)&&(r.D&&(r.D=!1,s=!0),r.S=r.S?new Date:r.C,r.p.lastConsentTimestamp=r.S.toISOString(),dm(),k.t.autoClearCookies&&(s||a)&&(c=>{const l=k.o,d=fm(),u=(m=>{const p=k.o;return(m?p.O:p.L).filter((f=>{const h=p.P[f];return!!h&&!h.readOnly&&!!h.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 h of f){const g=Id(d,h.name);Js(g,h.path,h.domain)}}for(const m of u){const p=l.P[m].autoClear,f=p&&p.cookies||[],h=le(l.L,m),g=!le(l.R,m),b=h&&g;if(c?g:b){p.reloadPage&&b&&(l.j=!0);for(const _ of f){const S=Id(d,_.name);Js(S,_.path,_.domain)}}}})(s),Ks()),s&&(Et(k.re.ie),Et(k.re.le),k.t.mode===Gp)||(a&&Et(k.re.de),r.j&&(r.j=!1,location.reload()))})()},pm=e=>{const t=k.o.D?[]:k.o.R;return le(t,e)},NT=(e,t)=>{const{O:r,X:o}=k.o;if(!(e&&t&&Ht(t)&&le(r,t)&&St(o[t]).length!==0))return!1;((n,i)=>{const s=k.o,{X:a,Z:c,N:l}=s,d=k.ne.se[i]||{},u=k.ne.ae[i]||{},m=St(a[i]);if(c[i]=[],Ht(n)){if(n==="all"){if(c[i].push(...m),l)for(let f in d)d[f].checked=!0,_n(d[f])}else if(le(m,n)&&c[i].push(n),l)for(let f in d)d[f].checked=n===f,_n(d[f])}else if(mo(n))for(let f of m){const h=le(n,f);h&&c[i].push(f),l&&(d[f].checked=h,_n(d[f]))}const p=c[i].length===0;s.R=p?s.R.filter((f=>f!==i)):rc([...s.R,i]),l&&(u.checked=!p,_n(u))})(e,t),dc()},mm=(e,t)=>{const r=k.o.D?[]:k.o.Y[t]||[];return le(r,e)},PT=e=>lc(e,!0)!=="",hm=(e,t,r)=>{let o=[];const n=i=>{if(Ht(i)){let s=lc(i);s!==""&&o.push(s)}else o.push(...fm(i))};if(mo(e))for(let i of e)n(i);else n(e);Js(o,t,r)},uc=e=>{const{ne:t,o:r}=k;if(!r.k){if(!r.T){if(!e)return;ic(Fo,yr)}r.k=!0,r.J=ci(),r.v&&em(!0),Zp(t.he,1),be(t.ye,Qa),z(t.he,ht,"false"),setTimeout((()=>{wt(k.ne.be)}),100),Et(k.re.fe,ec)}},gm=()=>{const{ne:e,o:t,re:r}=k;t.k&&(t.k=!1,t.v&&em(),wt(e.Ke,!0),Jt(e.ye,Qa),z(e.he,ht,"true"),wt(t.J),t.J=null,Et(r._e,ec))},bm=()=>{const e=k.o;e.A||(e.N||to(Fo,yr),e.A=!0,e.k?e.U=ci():e.J=ci(),Zp(k.ne.we,2),be(k.ne.ye,Za),z(k.ne.we,ht,"false"),setTimeout((()=>{wt(k.ne.ve)}),100),Et(k.re.fe,tc))},ym=()=>{const e=k.o;e.A&&(e.A=!1,(()=>{const t=fc(),r=k.o.P,o=k.ne.ae,n=k.ne.se,i=s=>le(k.o.$,s);for(const s in o){const a=!!r[s].readOnly;o[s].checked=a||(t?pm(s):i(s));for(const c in n[s])n[s][c].checked=a||(t?mm(c,s):i(s))}})(),wt(k.ne.$e,!0),Jt(k.ne.ye,Za),z(k.ne.we,ht,"true"),e.k?(wt(e.U),e.U=null):(wt(e.J),e.J=null),Et(k.re._e,tc))};var Fo={show:uc,hide:gm,showPreferences:bm,hidePreferences:ym,acceptCategory:dc};const DT=async(e,t)=>{if(!sc(e))return!1;const r=k.o;return!(e===ac()&&t!==!0||!await am(e)||(cc(e),r.T&&ic(Fo,yr),r.N&&to(Fo,yr),cm(),0))},FT=()=>{const{F:e,Y:t}=k.o,{accepted:r,rejected:o}=(()=>{const{D:n,R:i,O:s}=k.o;return{accepted:i,rejected:n?[]:s.filter((a=>!le(i,a)))}})();return At({acceptType:e,acceptedCategories:r,rejectedCategories:o,acceptedServices:t,rejectedServices:AT()})},jT=(e,t)=>{let r=document.querySelector('script[src="'+e+'"]');return new Promise((o=>{if(r)return o(!0);if(r=O("script"),ai(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)}))},HT=e=>{let t,r=e.value,o=e.mode,n=!1;const i=k.o;if(o==="update"){i.h=t=vm("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,dm(!0)),n},vm=(e,t)=>{const r=um(t);return e?r[e]:r},UT=e=>{const t=k.t,r=k.o.i;return e?t[e]||r[e]:{...t,...r,cookie:{...t.cookie}}},fc=()=>!k.o.D,km=async e=>{const{o:t,t:r,re:o}=k,n=window;if(!n._ccRun){if(n._ccRun=!0,(a=>{const{ne:c,t:l,o:d}=k,u=l,m=d,{cookie:p}=u,f=k.ce,h=a.cookie,g=a.categories,b=St(g)||[],_=navigator,S=document;c.Ue=S,c.ye=S.documentElement,p.domain=location.hostname,m.i=a,m.P=g,m.O=b,m._=a.language.translations,m.v=!!a.disablePageInteraction,f.ie=a.onFirstConsent,f.le=a.onConsent,f.de=a.onChange,f._e=a.onModalHide,f.fe=a.onModalShow,f.ue=a.onModalReady;const{mode:w,autoShow:I,lazyHtmlGeneration:B,autoClearCookies:v,revision:R,manageScriptTags:J,hideFromBots:T}=a;w===ko&&(u.mode=w),typeof v=="boolean"&&(u.autoClearCookies=v),typeof J=="boolean"&&(u.manageScriptTags=J),typeof R=="number"&&R>=0&&(u.revision=R,m.V=!0),typeof I=="boolean"&&(u.autoShow=I),typeof B=="boolean"&&(u.lazyHtmlGeneration=B),T===!1&&(u.hideFromBots=!1),u.hideFromBots===!0&&_&&(m.G=_.userAgent&&/bot|crawl|spider|slurp|teoma/i.test(_.userAgent)||_.webdriver),ai(h)&&(u.cookie={...p,...h}),u.autoClearCookies,m.V,u.manageScriptTags,(A=>{const{P:D,X:P,Y:L,Z:Q,B:F}=k.o;for(let U of A){const E=D[U],W=E.services||{},$=ai(W)&&St(W)||[];P[U]={},L[U]=[],Q[U]=[],E.readOnly&&(F.push(U),L[U]=$),k.ne.se[U]={};for(let q of $){const V=W[q];V.Se=!1,P[U][q]=V}}})(b),(()=>{if(!k.t.manageScriptTags)return;const A=k.o,D=oc(document,"script["+si+"]");for(const P of D){let L=Pn(P,si),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(A.O,L)&&(A.oe.push({Me:P,xe:!1,ke:F,De:L,Te:Q}),Q)){const U=A.X[L];U[Q]||(U[Q]={Se:!1})}}})(),cc((()=>{const A=k.o.i.language.autoDetect;if(A){const D={browser:navigator.language,document:document.documentElement.lang},P=sc(D[A]);if(P)return P}return ac()})())})(e),t.G)return;(()=>{const a=k.o,c=k.t,l=um(),{categories:d,services:u,consentId:m,consentTimestamp:p,lastConsentTimestamp:f,data:h,revision:g}=l,b=mo(d);a.p=l,a.M=m;const _=!!m&&Ht(m);a.C=p,a.C&&(a.C=new Date(p)),a.S=f,a.S&&(a.S=new Date(f)),a.h=h!==void 0?h:null,a.V&&_&&g!==c.revision&&(a.I=!1),a.D=!(_&&a.I&&a.C&&a.S&&b),c.cookie.useLocalStorage&&!a.D&&(a.D=new Date().getTime()>(l.expirationTime||0),a.D&&lm(c.cookie.name)),a.D,(()=>{const S=k.o;for(const w of S.O){const I=S.P[w];if(I.readOnly||I.enabled){S.$.push(w);const B=S.X[w]||{};for(let v in B)S.Z[w].push(v),S.i.mode===ko&&S.Y[w].push(v)}}})(),a.D?c.mode===ko&&(a.R=[...a.$]):(a.Y={...a.Y,...u},a.Z={...a.Y},Jp([...a.B,...d]))})();const s=fc();if(!await am())return!1;if(Qp(null,i=Fo,to,yr),k.o.D&&ic(i,yr),k.t.lazyHtmlGeneration||to(i,yr),r.autoShow&&!s&&uc(!0),s)return Ks(),Et(o.le);r.mode===ko&&Ks(t.$)}var i},zT=e=>{const{Ce:t,ye:r}=k.ne,{name:o,path:n,domain:i,useLocalStorage:s}=k.t.cookie;e&&(s?lm(o):hm(o,n,i));for(const{pe:c,ge:l,me:d}of k.o.m)c.removeEventListener(l,d);t&&t.remove(),r&&r.classList.remove(Gs,Za,Qa);const a=new Kp;for(const c in k)k[c]=a[c];window._ccRun=!1},WT=Object.freeze(Object.defineProperty({__proto__:null,acceptCategory:dc,acceptService:NT,acceptedCategory:pm,acceptedService:mm,eraseCookies:hm,getConfig:UT,getCookie:vm,getUserPreferences:FT,hide:gm,hidePreferences:ym,loadScript:jT,reset:zT,run:km,setCookieData:HT,setLanguage:DT,show:uc,showPreferences:bm,validConsent:fc,validCookie:PT},Symbol.toStringTag,{value:"Module"})),qT={install:(e,t)=>{e.config.globalProperties.$CookieConsent=WT;const r=()=>{km(t)};setTimeout(()=>{"requestIdleCallback"in window?requestIdleCallback(r,{timeout:2e3}):r()},3e3)}};var VT={transitionDuration:"{transition.duration}"},YT={borderWidth:"0 0 1px 0",borderColor:"{content.border.color}"},GT={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"}},KT={borderWidth:"0",borderColor:"{content.border.color}",background:"{content.background}",color:"{text.color}",padding:"0 1.125rem 1.125rem 1.125rem"},XT={root:VT,panel:YT,header:GT,content:KT},JT={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}"},QT={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},ZT={padding:"{list.padding}",gap:"{list.gap}"},e1={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}"},t1={background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},r1={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}"}},o1={borderRadius:"{border.radius.sm}"},n1={padding:"{list.option.padding}"},i1={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:JT,overlay:QT,list:ZT,option:e1,optionGroup:t1,dropdown:r1,chip:o1,emptyMessage:n1,colorScheme:i1},a1={width:"2rem",height:"2rem",fontSize:"1rem",background:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}"},c1={size:"1rem"},l1={borderColor:"{content.background}",offset:"-0.75rem"},d1={width:"3rem",height:"3rem",fontSize:"1.5rem",icon:{size:"1.5rem"},group:{offset:"-1rem"}},u1={width:"4rem",height:"4rem",fontSize:"2rem",icon:{size:"2rem"},group:{offset:"-1.5rem"}},f1={root:a1,icon:c1,group:l1,lg:d1,xl:u1},p1={borderRadius:"{border.radius.md}",padding:"0 0.5rem",fontSize:"0.75rem",fontWeight:"700",minWidth:"1.5rem",height:"1.5rem"},m1={size:"0.5rem"},h1={fontSize:"0.625rem",minWidth:"1.25rem",height:"1.25rem"},g1={fontSize:"0.875rem",minWidth:"1.75rem",height:"1.75rem"},b1={fontSize:"1rem",minWidth:"2rem",height:"2rem"},y1={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}"}}},v1={root:p1,dot:m1,sm:h1,lg:g1,xl:b1,colorScheme:y1},k1={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"}},_1={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}"}}}}},S1={primitive:k1,semantic:_1},w1={borderRadius:"{content.border.radius}"},E1={root:w1},C1={padding:"1rem",background:"{content.background}",gap:"0.5rem",transitionDuration:"{transition.duration}"},x1={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}"}},T1={color:"{navigation.item.icon.color}"},R1={root:C1,item:x1,separator:T1},I1={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}"},B1={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}"}}},A1={root:I1,colorScheme:B1},M1={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)"},$1={padding:"1.25rem",gap:"0.5rem"},O1={gap:"0.5rem"},L1={fontSize:"1.25rem",fontWeight:"500"},N1={color:"{text.muted.color}"},P1={root:M1,body:$1,caption:O1,title:L1,subtitle:N1},D1={transitionDuration:"{transition.duration}"},F1={gap:"0.25rem"},j1={padding:"1rem",gap:"0.5rem"},H1={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}"}},U1={light:{indicator:{background:"{surface.200}",hoverBackground:"{surface.300}",activeBackground:"{primary.color}"}},dark:{indicator:{background:"{surface.700}",hoverBackground:"{surface.600}",activeBackground:"{primary.color}"}}},z1={root:D1,content:F1,indicatorList:j1,indicator:H1,colorScheme:U1},W1={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}"}},q1={width:"2.5rem",color:"{form.field.icon.color}"},V1={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},Y1={padding:"{list.padding}",gap:"{list.gap}",mobileIndent:"1rem"},G1={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"}},K1={color:"{form.field.icon.color}"},X1={root:W1,dropdown:q1,overlay:V1,list:Y1,option:G1,clearIcon:K1},J1={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"}},Q1={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"}},Z1={root:J1,icon:Q1},eR={borderRadius:"16px",paddingX:"0.75rem",paddingY:"0.5rem",gap:"0.5rem",transitionDuration:"{transition.duration}"},tR={width:"2rem",height:"2rem"},rR={size:"1rem"},oR={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}"}},nR={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}"}}},iR={root:eR,image:tR,icon:rR,removeIcon:oR,colorScheme:nR},sR={transitionDuration:"{transition.duration}"},aR={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}"}},cR={shadow:"{overlay.popover.shadow}",borderRadius:"{overlay.popover.borderRadius}"},lR={light:{panel:{background:"{surface.800}",borderColor:"{surface.900}"},handle:{color:"{surface.0}"}},dark:{panel:{background:"{surface.900}",borderColor:"{surface.700}"},handle:{color:"{surface.0}"}}},dR={root:sR,preview:aR,panel:cR,colorScheme:lR},uR={size:"2rem",color:"{overlay.modal.color}"},fR={gap:"1rem"},pR={icon:uR,content:fR},mR={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"},hR={padding:"{overlay.popover.padding}",gap:"1rem"},gR={size:"1.5rem",color:"{overlay.popover.color}"},bR={gap:"0.5rem",padding:"0 {overlay.popover.padding} {overlay.popover.padding} {overlay.popover.padding}"},yR={root:mR,content:hR,icon:gR,footer:bR},vR={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",transitionDuration:"{transition.duration}"},kR={padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},_R={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}"}},SR={mobileIndent:"1rem"},wR={size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"},ER={borderColor:"{content.border.color}"},CR={root:vR,list:kR,item:_R,submenu:SR,submenuIcon:wR,separator:ER},xR=`
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;
}
`,TR={transitionDuration:"{transition.duration}"},RR={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"}},IR={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"}},BR={fontWeight:"600"},AR={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}"}},MR={borderColor:"{datatable.border.color}",padding:"0.75rem 1rem",sm:{padding:"0.375rem 0.5rem"},lg:{padding:"1rem 1.25rem"}},$R={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"}},OR={fontWeight:"600"},LR={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"}},NR={color:"{primary.color}"},PR={width:"0.5rem"},DR={width:"1px",color:"{primary.color}"},FR={color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",size:"0.875rem"},jR={size:"2rem"},HR={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}"}},UR={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}"}},zR={borderColor:"{datatable.border.color}",borderWidth:"0 0 1px 0"},WR={borderColor:"{datatable.border.color}",borderWidth:"0 0 1px 0"},qR={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}"}}},VR=`
.p-datatable-mask.p-overlay-mask {
--px-mask-background: light-dark(rgba(255,255,255,0.5),rgba(0,0,0,0.3));
}
`,YR={root:TR,header:RR,headerCell:IR,columnTitle:BR,row:AR,bodyCell:MR,footerCell:$R,columnFooter:OR,footer:LR,dropPoint:NR,columnResizer:PR,resizeIndicator:DR,sortIcon:FR,loadingIcon:jR,rowToggleButton:HR,filter:UR,paginatorTop:zR,paginatorBottom:WR,colorScheme:qR,css:VR},GR={borderColor:"transparent",borderWidth:"0",borderRadius:"0",padding:"0"},KR={background:"{content.background}",color:"{content.color}",borderColor:"{content.border.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem",borderRadius:"0"},XR={background:"{content.background}",color:"{content.color}",borderColor:"transparent",borderWidth:"0",padding:"0",borderRadius:"0"},JR={background:"{content.background}",color:"{content.color}",borderColor:"{content.border.color}",borderWidth:"1px 0 0 0",padding:"0.75rem 1rem",borderRadius:"0"},QR={borderColor:"{content.border.color}",borderWidth:"0 0 1px 0"},ZR={borderColor:"{content.border.color}",borderWidth:"1px 0 0 0"},eI={root:GR,header:KR,content:XR,footer:JR,paginatorTop:QR,paginatorBottom:ZR},tI={transitionDuration:"{transition.duration}"},rI={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.popover.shadow}",padding:"{overlay.popover.padding}"},oI={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",padding:"0 0 0.5rem 0"},nI={gap:"0.5rem",fontWeight:"500"},iI={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}"},aI={hoverBackground:"{content.hover.background}",color:"{content.color}",hoverColor:"{content.hover.color}",padding:"0.25rem 0.5rem",borderRadius:"{content.border.radius}"},cI={hoverBackground:"{content.hover.background}",color:"{content.color}",hoverColor:"{content.hover.color}",padding:"0.25rem 0.5rem",borderRadius:"{content.border.radius}"},lI={borderColor:"{content.border.color}",gap:"{overlay.popover.padding}"},dI={margin:"0.5rem 0 0 0"},uI={padding:"0.25rem",fontWeight:"500",color:"{content.color}"},fI={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}"}},pI={margin:"0.5rem 0 0 0"},mI={padding:"0.375rem",borderRadius:"{content.border.radius}"},hI={margin:"0.5rem 0 0 0"},gI={padding:"0.375rem",borderRadius:"{content.border.radius}"},bI={padding:"0.5rem 0 0 0",borderColor:"{content.border.color}"},yI={padding:"0.5rem 0 0 0",borderColor:"{content.border.color}",gap:"0.5rem",buttonGap:"0.25rem"},vI={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}"}}},kI={root:tI,panel:rI,header:oI,title:nI,dropdown:iI,inputIcon:sI,selectMonth:aI,selectYear:cI,group:lI,dayView:dI,weekDay:uI,date:fI,monthView:pI,month:mI,yearView:hI,year:gI,buttonbar:bI,timePicker:yI,colorScheme:vI},_I={background:"{overlay.modal.background}",borderColor:"{overlay.modal.border.color}",color:"{overlay.modal.color}",borderRadius:"{overlay.modal.border.radius}",shadow:"{overlay.modal.shadow}"},SI={padding:"{overlay.modal.padding}",gap:"0.5rem"},wI={fontSize:"1.25rem",fontWeight:"600"},EI={padding:"0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}"},CI={padding:"0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}",gap:"0.5rem"},xI={root:_I,header:SI,title:wI,content:EI,footer:CI},TI={borderColor:"{content.border.color}"},RI={background:"{content.background}",color:"{text.color}"},II={margin:"1rem 0",padding:"0 1rem",content:{padding:"0 0.5rem"}},BI={margin:"0 1rem",padding:"0.5rem 0",content:{padding:"0.5rem 0"}},AI={root:TI,content:RI,horizontal:II,vertical:BI},MI={background:"rgba(255, 255, 255, 0.1)",borderColor:"rgba(255, 255, 255, 0.2)",padding:"0.5rem",borderRadius:"{border.radius.xl}"},$I={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}"}},OI={root:MI,item:$I},LI={background:"{overlay.modal.background}",borderColor:"{overlay.modal.border.color}",color:"{overlay.modal.color}",shadow:"{overlay.modal.shadow}"},NI={padding:"{overlay.modal.padding}"},PI={fontSize:"1.5rem",fontWeight:"600"},DI={padding:"0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}"},FI={padding:"{overlay.modal.padding}"},jI={root:LI,header:NI,title:PI,content:DI,footer:FI},HI={background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}"},UI={color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}"},zI={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}"},WI={focusBackground:"{list.option.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},qI={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}"},VI={toolbar:HI,toolbarItem:UI,overlay:zI,overlayOption:WI,content:qI},YI={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}"},GI={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}"}},KI={color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}"},XI={padding:"0"},JI={root:YI,legend:GI,toggleIcon:KI,content:XI},QI={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",transitionDuration:"{transition.duration}"},ZI={background:"transparent",color:"{text.color}",padding:"1.125rem",borderColor:"unset",borderWidth:"0",borderRadius:"0",gap:"0.5rem"},e5={highlightBorderColor:"{primary.color}",padding:"0 1.125rem 1.125rem 1.125rem",gap:"1rem"},t5={padding:"1rem",gap:"1rem",borderColor:"{content.border.color}",info:{gap:"0.5rem"}},r5={gap:"0.5rem"},o5={height:"0.25rem"},n5={gap:"0.5rem"},i5={root:QI,header:ZI,content:e5,file:t5,fileList:r5,progressbar:o5,basic:n5},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"}},a5={active:{top:"-1.25rem"}},c5={input:{paddingTop:"1.5rem",paddingBottom:"{form.field.padding.y}"},active:{top:"{form.field.padding.y}"}},l5={borderRadius:"{border.radius.xs}",active:{background:"{form.field.background}",padding:"0 0.125rem"}},d5={root:s5,over:a5,in:c5,on:l5},u5={borderWidth:"1px",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",transitionDuration:"{transition.duration}"},f5={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}"}},p5={size:"1.5rem"},m5={background:"{content.background}",padding:"1rem 0.25rem"},h5={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}"}},g5={size:"1rem"},b5={background:"rgba(0, 0, 0, 0.5)",color:"{surface.100}",padding:"1rem"},y5={gap:"0.5rem",padding:"1rem"},v5={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}"}},k5={background:"rgba(0, 0, 0, 0.5)"},_5={background:"rgba(255, 255, 255, 0.4)",hoverBackground:"rgba(255, 255, 255, 0.6)",activeBackground:"rgba(255, 255, 255, 0.9)"},S5={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}"}},w5={size:"1.5rem"},E5={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}"}}},C5={root:u5,navButton:f5,navIcon:p5,thumbnailsContent:m5,thumbnailNavButton:h5,thumbnailNavButtonIcon:g5,caption:b5,indicatorList:y5,indicatorButton:v5,insetIndicatorList:k5,insetIndicatorButton:_5,closeButton:S5,closeButtonIcon:w5,colorScheme:E5},x5={color:"{form.field.icon.color}"},T5={icon:x5},R5={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"},I5={paddingTop:"1.5rem",paddingBottom:"{form.field.padding.y}"},B5={root:R5,input:I5},A5={transitionDuration:"{transition.duration}"},M5={icon:{size:"1.5rem"},mask:{background:"{mask.background}",color:"{mask.color}"}},$5={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"},O5={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}"}},L5={root:A5,preview:M5,toolbar:$5,action:O5},N5={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}"}},P5={handle:N5},D5={padding:"{form.field.padding.y} {form.field.padding.x}",borderRadius:"{content.border.radius}",gap:"0.5rem"},F5={fontWeight:"500"},j5={size:"1rem"},H5={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%)"}}},U5={root:D5,text:F5,icon:j5,colorScheme:H5},z5={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}"},W5={hoverBackground:"{content.hover.background}",hoverColor:"{content.hover.color}"},q5={root:z5,display:W5},V5={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}"},Y5={borderRadius:"{border.radius.sm}"},G5={light:{chip:{focusBackground:"{surface.200}",color:"{surface.800}"}},dark:{chip:{focusBackground:"{surface.700}",color:"{surface.0}"}}},K5={root:V5,chip:Y5,colorScheme:G5},X5={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"},J5={addon:X5},Q5={transitionDuration:"{transition.duration}"},Z5={width:"2.5rem",borderRadius:"{form.field.border.radius}",verticalPadding:"{form.field.padding.y}"},eB={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}"}}},tB={root:Q5,button:Z5,colorScheme:eB},rB={gap:"0.5rem"},oB={width:"2.5rem",sm:{width:"2rem"},lg:{width:"3rem"}},nB={root:rB,input:oB},iB={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}"}},sB={root:iB},aB={transitionDuration:"{transition.duration}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},cB={background:"{primary.color}"},lB={background:"{content.border.color}"},dB={color:"{text.muted.color}"},uB={root:aB,value:cB,range:lB,text:dB},fB={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}"},pB={padding:"{list.padding}",gap:"{list.gap}",header:{padding:"{list.header.padding}"}},mB={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}"},hB={background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},gB={color:"{list.option.color}",gutterStart:"-0.375rem",gutterEnd:"0.375rem"},bB={padding:"{list.option.padding}"},yB={light:{option:{stripedBackground:"{surface.50}"}},dark:{option:{stripedBackground:"{surface.900}"}}},vB={root:fB,list:pB,option:mB,optionGroup:hB,checkmark:gB,emptyMessage:bB,colorScheme:yB},kB={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}"},_B={borderRadius:"{content.border.radius}",padding:"{navigation.item.padding}"},SB={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}"}},wB={padding:"0",background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",shadow:"{overlay.navigation.shadow}",gap:"0.5rem"},EB={padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},CB={padding:"{navigation.submenu.label.padding}",fontWeight:"{navigation.submenu.label.font.weight}",background:"{navigation.submenu.label.background}",color:"{navigation.submenu.label.color}"},xB={size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"},TB={borderColor:"{content.border.color}"},RB={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}"}},IB={root:kB,baseItem:_B,item:SB,overlay:wB,submenu:EB,submenuLabel:CB,submenuIcon:xB,separator:TB,mobileButton:RB},BB={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",transitionDuration:"{transition.duration}"},AB={padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},MB={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}"}},$B={padding:"{navigation.submenu.label.padding}",fontWeight:"{navigation.submenu.label.font.weight}",background:"{navigation.submenu.label.background}",color:"{navigation.submenu.label.color}"},OB={borderColor:"{content.border.color}"},LB={root:BB,list:AB,item:MB,submenuLabel:$B,separator:OB},NB={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}"},PB={borderRadius:"{content.border.radius}",padding:"{navigation.item.padding}"},DB={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}"}},FB={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}"}},jB={borderColor:"{content.border.color}"},HB={borderRadius:"50%",size:"1.75rem",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",hoverBackground:"{content.hover.background}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},UB={root:NB,baseItem:PB,item:DB,submenu:FB,separator:jB,mobileButton:HB},zB={borderRadius:"{content.border.radius}",borderWidth:"1px",transitionDuration:"{transition.duration}"},WB={padding:"0.5rem 0.75rem",gap:"0.5rem",sm:{padding:"0.375rem 0.625rem"},lg:{padding:"0.625rem 0.875rem"}},qB={fontSize:"1rem",fontWeight:"500",sm:{fontSize:"0.875rem"},lg:{fontSize:"1.125rem"}},VB={size:"1.125rem",sm:{size:"1rem"},lg:{size:"1.25rem"}},YB={width:"1.75rem",height:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",offset:"{focus.ring.offset}"}},GB={size:"1rem",sm:{size:"0.875rem"},lg:{size:"1.125rem"}},KB={root:{borderWidth:"1px"}},XB={content:{padding:"0"}},JB={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}"}}}},QB={root:zB,content:WB,text:qB,icon:VB,closeButton:YB,closeIcon:GB,outlined:KB,simple:XB,colorScheme:JB},ZB={borderRadius:"{content.border.radius}",gap:"1rem"},eA={background:"{content.border.color}",size:"0.5rem"},tA={gap:"0.5rem"},rA={size:"0.5rem"},oA={size:"1rem"},nA={verticalGap:"0.5rem",horizontalGap:"1rem"},iA={root:ZB,meters:eA,label:tA,labelMarker:rA,labelIcon:oA,labelList:nA},sA={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}"}},aA={width:"2.5rem",color:"{form.field.icon.color}"},cA={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},lA={padding:"{list.padding}",gap:"{list.gap}",header:{padding:"{list.header.padding}"}},dA={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"},uA={background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},fA={color:"{form.field.icon.color}"},pA={borderRadius:"{border.radius.sm}"},mA={padding:"{list.option.padding}"},hA={root:sA,dropdown:aA,overlay:cA,list:lA,option:dA,optionGroup:uA,chip:pA,clearIcon:fA,emptyMessage:mA},gA={gap:"1.125rem"},bA={gap:"0.5rem"},yA={root:gA,controls:bA},vA={gutter:"0.75rem",transitionDuration:"{transition.duration}"},kA={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}"},_A={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}"}},SA={color:"{content.border.color}",borderRadius:"{content.border.radius}",height:"24px"},wA={root:vA,node:kA,nodeToggleButton:_A,connector:SA},EA={outline:{width:"2px",color:"{content.background}"}},CA={root:EA},xA={padding:"0.5rem 1rem",gap:"0.25rem",borderRadius:"{content.border.radius}",background:"{content.background}",color:"{content.color}",transitionDuration:"{transition.duration}"},TA={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}"}},RA={color:"{text.muted.color}"},IA={maxWidth:"2.5rem"},BA={root:xA,navButton:TA,currentPageReport:RA,jumpToPageInput:IA},AA={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}"},MA={background:"transparent",color:"{text.color}",padding:"1.125rem",borderColor:"{content.border.color}",borderWidth:"0",borderRadius:"0"},$A={padding:"0.375rem 1.125rem"},OA={fontWeight:"600"},LA={padding:"0 1.125rem 1.125rem 1.125rem"},NA={padding:"0 1.125rem 1.125rem 1.125rem"},PA={root:AA,header:MA,toggleableHeader:$A,title:OA,content:LA,footer:NA},DA={gap:"0.5rem",transitionDuration:"{transition.duration}"},FA={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}"}},jA={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}"}},HA={indent:"1rem"},UA={color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}"},zA={root:DA,panel:FA,item:jA,submenu:HA,submenuIcon:UA},WA={background:"{content.border.color}",borderRadius:"{content.border.radius}",height:".75rem"},qA={color:"{form.field.icon.color}"},VA={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}"},YA={gap:"0.5rem"},GA={light:{strength:{weakBackground:"{red.500}",mediumBackground:"{amber.500}",strongBackground:"{green.500}"}},dark:{strength:{weakBackground:"{red.400}",mediumBackground:"{amber.400}",strongBackground:"{green.400}"}}},KA={meter:WA,icon:qA,overlay:VA,content:YA,colorScheme:GA},XA={gap:"1.125rem"},JA={gap:"0.5rem"},QA={root:XA,controls:JA},ZA={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"},eM={padding:"{overlay.popover.padding}"},tM={root:ZA,content:eM},rM={background:"{content.border.color}",borderRadius:"{content.border.radius}",height:"1.25rem"},oM={background:"{primary.color}"},nM={color:"{primary.contrast.color}",fontSize:"0.75rem",fontWeight:"600"},iM={root:rM,value:oM,label:nM},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}"}}},aM={colorScheme:sM},cM={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"}},lM={size:"0.75rem",checkedColor:"{primary.contrast.color}",checkedHoverColor:"{primary.contrast.color}",disabledColor:"{form.field.disabled.color}",sm:{size:"0.5rem"},lg:{size:"1rem"}},dM={root:cM,icon:lM},uM={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}"}},fM={size:"1rem",color:"{text.muted.color}",hoverColor:"{primary.color}",activeColor:"{primary.color}"},pM={root:uM,icon:fM},mM={light:{root:{background:"rgba(0,0,0,0.1)"}},dark:{root:{background:"rgba(255,255,255,0.3)"}}},hM={colorScheme:mM},gM={transitionDuration:"{transition.duration}"},bM={size:"9px",borderRadius:"{border.radius.sm}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},yM={light:{bar:{background:"{surface.100}"}},dark:{bar:{background:"{surface.800}"}}},vM={root:gM,bar:bM,colorScheme:yM},kM={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}"}},_M={width:"2.5rem",color:"{form.field.icon.color}"},SM={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},wM={padding:"{list.padding}",gap:"{list.gap}",header:{padding:"{list.header.padding}"}},EM={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}"},CM={background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},xM={color:"{form.field.icon.color}"},TM={color:"{list.option.color}",gutterStart:"-0.375rem",gutterEnd:"0.375rem"},RM={padding:"{list.option.padding}"},IM={root:kM,dropdown:_M,overlay:SM,list:wM,option:EM,optionGroup:CM,clearIcon:xM,checkmark:TM,emptyMessage:RM},BM={borderRadius:"{form.field.border.radius}"},AM={light:{root:{invalidBorderColor:"{form.field.invalid.border.color}"}},dark:{root:{invalidBorderColor:"{form.field.invalid.border.color}"}}},MM={root:BM,colorScheme:AM},$M={borderRadius:"{content.border.radius}"},OM={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)"}}},LM={root:$M,colorScheme:OM},NM={transitionDuration:"{transition.duration}"},PM={background:"{content.border.color}",borderRadius:"{content.border.radius}",size:"3px"},DM={background:"{primary.color}"},FM={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}"}},jM={light:{handle:{content:{background:"{surface.0}"}}},dark:{handle:{content:{background:"{surface.950}"}}}},HM={root:NM,track:PM,range:DM,handle:FM,colorScheme:jM},UM={gap:"0.5rem",transitionDuration:"{transition.duration}"},zM={root:UM},WM={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)"},qM={root:WM},VM={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",transitionDuration:"{transition.duration}"},YM={background:"{content.border.color}"},GM={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}"}},KM={root:VM,gutter:YM,handle:GM},XM={transitionDuration:"{transition.duration}"},JM={background:"{content.border.color}",activeBackground:"{primary.color}",margin:"0 0 0 1.625rem",size:"2px"},QM={padding:"0.5rem",gap:"1rem"},ZM={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"},e$={color:"{text.muted.color}",activeColor:"{primary.color}",fontWeight:"500"},t$={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)"},r$={padding:"0.875rem 0.5rem 1.125rem 0.5rem"},o$={background:"{content.background}",color:"{content.color}",padding:"0",indent:"1rem"},n$={root:XM,separator:JM,step:QM,stepHeader:ZM,stepTitle:e$,stepNumber:t$,steppanels:r$,steppanel:o$},i$={transitionDuration:"{transition.duration}"},s$={background:"{content.border.color}"},a$={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"},c$={color:"{text.muted.color}",activeColor:"{primary.color}",fontWeight:"500"},l$={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)"},d$={root:i$,separator:s$,itemLink:a$,itemLabel:c$,itemNumber:l$},u$={transitionDuration:"{transition.duration}"},f$={borderWidth:"0 0 1px 0",background:"{content.background}",borderColor:"{content.border.color}"},p$={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}"}},m$={color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}"},h$={height:"1px",bottom:"-1px",background:"{primary.color}"},g$={root:u$,tablist:f$,item:p$,itemIcon:m$,activeBar:h$},b$={transitionDuration:"{transition.duration}"},y$={borderWidth:"0 0 1px 0",background:"{content.background}",borderColor:"{content.border.color}"},v$={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}"}},k$={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}"}},_$={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}"}},S$={height:"1px",bottom:"-1px",background:"{primary.color}"},w$={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%)"}}},E$={root:b$,tablist:y$,tab:v$,tabpanel:k$,navButton:_$,activeBar:S$,colorScheme:w$},C$={transitionDuration:"{transition.duration}"},x$={background:"{content.background}",borderColor:"{content.border.color}"},T$={borderColor:"{content.border.color}",activeBorderColor:"{primary.color}",color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}"},R$={background:"{content.background}",color:"{content.color}"},I$={background:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}"},B$={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%)"}}},A$={root:C$,tabList:x$,tab:T$,tabPanel:R$,navButton:I$,colorScheme:B$},M$={fontSize:"0.875rem",fontWeight:"700",padding:"0.25rem 0.5rem",gap:"0.25rem",borderRadius:"{content.border.radius}",roundedBorderRadius:"{border.radius.xl}"},$$={size:"0.75rem"},O$={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}"}}},L$={root:M$,icon:$$,colorScheme:O$},N$={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}"},P$={gap:"0.25rem"},D$={margin:"2px 0"},F$={root:N$,prompt:P$,commandResponse:D$},j$={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}"}},H$={root:j$},U$={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",transitionDuration:"{transition.duration}"},z$={padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},W$={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}"}},q$={mobileIndent:"1rem"},V$={size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"},Y$={borderColor:"{content.border.color}"},G$={root:U$,list:z$,item:W$,submenu:q$,submenuIcon:V$,separator:Y$},K$={minHeight:"5rem"},X$={eventContent:{padding:"1rem 0"}},J$={eventContent:{padding:"0 1rem"}},Q$={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)"}},Z$={color:"{content.border.color}",size:"2px"},eO={event:K$,horizontal:X$,vertical:J$,eventMarker:Q$,eventConnector:Z$},tO={width:"25rem",borderRadius:"{content.border.radius}",borderWidth:"1px",transitionDuration:"{transition.duration}"},rO={size:"1.125rem"},oO={padding:"{overlay.popover.padding}",gap:"0.5rem"},nO={gap:"0.5rem"},iO={fontWeight:"500",fontSize:"1rem"},sO={fontWeight:"500",fontSize:"0.875rem"},aO={width:"1.75rem",height:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",offset:"{focus.ring.offset}"}},cO={size:"1rem"},lO={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"}}}}},dO={root:tO,icon:rO,content:oO,text:nO,summary:iO,detail:sO,closeButton:aO,closeIcon:cO,colorScheme:lO},uO={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"}},fO={disabledColor:"{form.field.disabled.color}"},pO={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"}},mO={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}"}}},hO={root:uO,icon:fO,content:pO,colorScheme:mO},gO={width:"2.5rem",height:"1.5rem",borderRadius:"30px",gap:"0.25rem",shadow:"{form.field.shadow}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},borderWidth:"1px",borderColor:"transparent",hoverBorderColor:"transparent",checkedBorderColor:"transparent",checkedHoverBorderColor:"transparent",invalidBorderColor:"{form.field.invalid.border.color}",transitionDuration:"{form.field.transition.duration}",slideDuration:"0.2s"},bO={borderRadius:"50%",size:"1rem"},yO={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}"}}},vO={root:gO,handle:bO,colorScheme:yO},kO={background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",gap:"0.5rem",padding:"0.75rem"},_O={root:kO},SO={maxWidth:"12.5rem",gutter:"0.25rem",shadow:"{overlay.popover.shadow}",padding:"0.5rem 0.75rem",borderRadius:"{overlay.popover.border.radius}"},wO={light:{root:{background:"{surface.700}",color:"{surface.0}"}},dark:{root:{background:"{surface.700}",color:"{surface.0}"}}},EO={root:SO,colorScheme:wO},CO={background:"{content.background}",color:"{content.color}",padding:"1rem",gap:"2px",indent:"1rem",transitionDuration:"{transition.duration}"},xO={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"},TO={color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",selectedColor:"{highlight.color}"},RO={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}"}},IO={size:"2rem"},BO={margin:"0 0 0.5rem 0"},AO=`
.p-tree-mask.p-overlay-mask {
--px-mask-background: light-dark(rgba(255,255,255,0.5),rgba(0,0,0,0.3));
}
`,MO={root:CO,node:xO,nodeIcon:TO,nodeToggleButton:RO,loadingIcon:IO,filter:BO,css:AO},$O={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={width:"2.5rem",color:"{form.field.icon.color}"},LO={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},NO={padding:"{list.padding}"},PO={padding:"{list.option.padding}"},DO={borderRadius:"{border.radius.sm}"},FO={color:"{form.field.icon.color}"},jO={root:$O,dropdown:OO,overlay:LO,tree:NO,emptyMessage:PO,chip:DO,clearIcon:FO},HO={transitionDuration:"{transition.duration}"},UO={background:"{content.background}",borderColor:"{treetable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem"},zO={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}"}},WO={fontWeight:"600"},qO={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}"}},VO={borderColor:"{treetable.border.color}",padding:"0.75rem 1rem",gap:"0.5rem"},YO={background:"{content.background}",borderColor:"{treetable.border.color}",color:"{content.color}",padding:"0.75rem 1rem"},GO={fontWeight:"600"},KO={background:"{content.background}",borderColor:"{treetable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem"},XO={width:"0.5rem"},JO={width:"1px",color:"{primary.color}"},QO={color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",size:"0.875rem"},ZO={size:"2rem"},eL={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}"}},tL={borderColor:"{content.border.color}",borderWidth:"0 0 1px 0"},rL={borderColor:"{content.border.color}",borderWidth:"0 0 1px 0"},oL={light:{root:{borderColor:"{content.border.color}"},bodyCell:{selectedBorderColor:"{primary.100}"}},dark:{root:{borderColor:"{surface.800}"},bodyCell:{selectedBorderColor:"{primary.900}"}}},nL=`
.p-treetable-mask.p-overlay-mask {
--px-mask-background: light-dark(rgba(255,255,255,0.5),rgba(0,0,0,0.3));
}
`,iL={root:HO,header:UO,headerCell:zO,columnTitle:WO,row:qO,bodyCell:VO,footerCell:YO,columnFooter:GO,footer:KO,columnResizer:XO,resizeIndicator:JO,sortIcon:QO,loadingIcon:ZO,nodeToggleButton:eL,paginatorTop:tL,paginatorBottom:rL,colorScheme:oL,css:nL},sL={mask:{background:"{content.background}",color:"{text.muted.color}"},icon:{size:"2rem"}},aL={loader:sL},cL=Object.defineProperty,lL=Object.defineProperties,dL=Object.getOwnPropertyDescriptors,Bd=Object.getOwnPropertySymbols,uL=Object.prototype.hasOwnProperty,fL=Object.prototype.propertyIsEnumerable,Ad=(e,t,r)=>t in e?cL(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Md,pL=(Md=((e,t)=>{for(var r in t||(t={}))uL.call(t,r)&&Ad(e,r,t[r]);if(Bd)for(var r of Bd(t))fL.call(t,r)&&Ad(e,r,t[r]);return e})({},S1),lL(Md,dL({components:{accordion:XT,autocomplete:s1,avatar:f1,badge:v1,blockui:E1,breadcrumb:R1,button:A1,card:P1,carousel:z1,cascadeselect:X1,checkbox:Z1,chip:iR,colorpicker:dR,confirmdialog:pR,confirmpopup:yR,contextmenu:CR,datatable:YR,dataview:eI,datepicker:kI,dialog:xI,divider:AI,dock:OI,drawer:jI,editor:VI,fieldset:JI,fileupload:i5,floatlabel:d5,galleria:C5,iconfield:T5,iftalabel:B5,image:L5,imagecompare:P5,inlinemessage:U5,inplace:q5,inputchips:K5,inputgroup:J5,inputnumber:tB,inputotp:nB,inputtext:sB,knob:uB,listbox:vB,megamenu:IB,menu:LB,menubar:UB,message:QB,metergroup:iA,multiselect:hA,orderlist:yA,organizationchart:wA,overlaybadge:CA,paginator:BA,panel:PA,panelmenu:zA,password:KA,picklist:QA,popover:tM,progressbar:iM,progressspinner:aM,radiobutton:dM,rating:pM,ripple:hM,scrollpanel:vM,select:IM,selectbutton:MM,skeleton:LM,slider:HM,speeddial:zM,splitbutton:qM,splitter:KM,stepper:n$,steps:d$,tabmenu:g$,tabs:E$,tabview:A$,tag:L$,terminal:F$,textarea:H$,tieredmenu:G$,timeline:eO,toast:dO,togglebutton:hO,toggleswitch:vO,toolbar:_O,tooltip:EO,tree:MO,treeselect:jO,treetable:iL,virtualscroller:aL},css:xR})));const $d="/assets/stadssalg-Cf_tuJCn.png",mL="/assets/miljofyrtarn-B4YQxCIg.webp",hL={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function gL(e,t){return Te(),Ae("svg",hL,[...t[0]||(t[0]=[C("path",{fill:"currentColor",d:"M7.41 8.58L12 13.17l4.59-4.59L18 10l-6 6l-6-6z"},null,-1)])])}const bL=Nd({name:"mdi-chevron-down",render:gL}),yL={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function vL(e,t){return Te(),Ae("svg",yL,[...t[0]||(t[0]=[C("path",{fill:"currentColor",d:"M12 4a4 4 0 0 1 4 4a4 4 0 0 1-4 4a4 4 0 0 1-4-4a4 4 0 0 1 4-4m0 10c4.42 0 8 1.79 8 4v2H4v-2c0-2.21 3.58-4 8-4"},null,-1)])])}const kL=Nd({name:"mdi-account",render:vL}),_L=(e,t)=>{const r=e.__vccOpts||e;for(const[o,n]of t)r[o]=n;return r},SL={class:"min-w-[120px] sm:min-w-[180px] flex justify-end"},wL={key:0,class:"relative"},EL={class:"hidden md:inline font-bold"},CL={key:1,class:"flex items-center space-x-2 sm:space-x-4"},xL={__name:"UserMenu",setup(e){const{t}=Pd(),r=zm(),o=Ja(),n=vt(null),i=Nr(()=>o.isUserAuth),s=Nr(()=>o.user),a=Nr(()=>o.loginStatus),c=Nr(()=>[{label:t("user.menu.myPage"),icon:"pi pi-user",command:()=>r.push({name:"Profile"})},{label:t("user.menu.savedSearches"),icon:"pi pi-save",command:()=>r.push({name:"MyFilters"})},{label:t("user.menu.myBidsAndPurchases"),icon:"pi pi-wallet",command:()=>r.push({name:"MyBids"})},{label:t("user.menu.mySettings"),icon:"pi pi-cog",command:()=>r.push({name:"MySettings"})},{separator:!0},{label:t("user.menu.logout"),icon:"pi pi-sign-out",command:()=>o.signOutAction()}]),l=d=>{n.value.toggle(d)};return(d,u)=>{const m=kL,p=bL,f=ls("router-link");return Te(),Ae("div",SL,[a.value!=="loggingIn"?(Te(),Ae(Wm,{key:0},[i.value?(Te(),Ae("div",wL,[ge(Z(Mi),{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(()=>[ge(m,{class:"text-sm"}),C("span",EL,me(s.value.email),1),ge(p,{class:"text-[10px]"})]),_:1}),ge(Z(ah),{ref_key:"menu",ref:n,model:c.value,popup:!0,class:"rounded-2xl shadow-xl border-gray-100 min-w-[200px]"},null,8,["model"])])):(Te(),Ae("div",CL,[ge(f,{to:{name:"Register"},class:"hidden sm:block"},{default:Oe(()=>[ge(Z(Mi),{label:"Registrer",class:"rounded-xl px-4 sm:px-6 font-bold text-sm sm:text-base"})]),_:1}),ge(Z(Mi),{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]=h=>Z(r).push("/login"))})]))],64)):cr("",!0)])}}},TL=_L(xL,[["__scopeId","data-v-f38738a7"]]),RL={key:0,class:"bg-amber-500 text-amber-950 text-center py-2 px-4 text-sm font-bold"},IL={key:1,class:"bg-amber-50 border border-amber-200 rounded-2xl p-6 text-center"},BL={class:"text-lg font-bold text-amber-800 mb-2"},AL={class:"text-amber-700"},ML={key:2,class:"min-h-[60vh] flex items-center justify-center"},$L={class:"max-w-md mx-auto text-center p-8"},OL={class:"text-2xl font-bold text-gray-900 mb-4"},LL={class:"text-gray-600 mb-8"},NL={class:"text-sm text-gray-400"},PL={__name:"MaintenanceBanner",props:{variant:{type:String,default:"default",validator:e=>["default","compact","full"].includes(e)}},setup(e){return(t,r)=>e.variant==="compact"?(Te(),Ae("div",RL,[r[0]||(r[0]=C("i",{class:"pi pi-exclamation-triangle mr-2"},null,-1)),We(" "+me(t.$t("maintenance.shortMessage")),1)])):e.variant==="default"?(Te(),Ae("div",IL,[r[1]||(r[1]=C("div",{class:"text-amber-600 mb-3"},[C("i",{class:"pi pi-exclamation-triangle text-4xl"})],-1)),C("h3",BL,me(t.$t("maintenance.title")),1),C("p",AL,me(t.$t("maintenance.description")),1)])):e.variant==="full"?(Te(),Ae("div",ML,[C("div",$L,[r[2]||(r[2]=C("div",{class:"bg-amber-100 w-24 h-24 rounded-full flex items-center justify-center mx-auto mb-6"},[C("i",{class:"pi pi-exclamation-triangle text-5xl text-amber-600"})],-1)),C("h1",OL,me(t.$t("maintenance.title")),1),C("p",LL,me(t.$t("maintenance.description")),1),C("div",NL,me(t.$t("maintenance.apology")),1)])])):cr("",!0)}},DL=!1;function FL(){return{isMaintenanceMode:Nr(()=>DL)}}const jL={id:"app",class:"flex flex-col min-h-screen"},HL={class:"sticky top-0 z-50 bg-black shadow-md"},UL={class:"max-w-6xl mx-auto px-4 sm:px-6 lg:px-8 py-4 flex items-center justify-between"},zL={class:"flex items-center space-x-6"},WL={class:"hidden md:flex items-center space-x-6","aria-label":"Hovednavigasjon"},qL={class:"flex items-center space-x-4"},VL={class:"hidden md:block relative"},YL={class:"flex items-center space-x-2"},GL={key:0,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 22 16",class:"w-5 h-4"},KL={key:1,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 60 30",class:"w-5 h-4"},XL={key:0,class:"absolute right-0 mt-2 w-40 bg-white rounded-md shadow-lg z-50 overflow-hidden"},JL={key:0,class:"w-4 h-4 ml-auto text-green-600",fill:"currentColor",viewBox:"0 0 20 20"},QL={key:0,class:"w-4 h-4 ml-auto text-green-600",fill:"currentColor",viewBox:"0 0 20 20"},ZL=["aria-expanded"],eN={key:0,class:"w-6 h-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},tN={key:1,class:"w-6 h-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},rN={key:0,class:"md:hidden bg-gray-900 border-t border-gray-800"},oN={class:"px-4 pt-2 pb-6 space-y-1"},nN={key:0,class:"pt-4 border-t border-gray-800 mt-4 space-y-1"},iN={key:1,class:"pt-4 border-t border-gray-800 mt-4 space-y-1"},sN={class:"px-3 text-xs font-semibold text-gray-400 uppercase tracking-wider mb-2"},aN={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"},lN={class:"grid grid-cols-2 gap-2 px-3"},dN={class:"grow"},uN={class:"max-w-6xl mx-auto px-4 sm:px-6 lg:px-8 py-8"},fN={class:"bg-black text-white py-12 mt-12",role:"contentinfo"},pN={class:"max-w-6xl mx-auto px-4 sm:px-6 lg:px-8"},mN={class:"grid grid-cols-1 md:grid-cols-3 gap-12"},hN={class:"text-gray-300 mb-4"},gN={class:"mt-6"},bN={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"},yN={class:"flex flex-col items-center"},vN={class:"text-xl font-bold mb-4"},kN={class:"flex flex-wrap justify-center gap-4"},_N={class:"md:text-right"},SN={class:"text-xl font-bold mb-4"},wN={class:"space-y-3"},EN={class:"max-w-6xl mx-auto px-4 sm:px-6 lg:px-8 mt-10"},CN={class:"pt-8 border-t border-gray-700 flex flex-col sm:flex-row justify-between items-center gap-4"},xN={class:"text-sm text-gray-400"},TN={__name:"App",setup(e){const t=Ja(),{isMaintenanceMode:r}=FL(),{locale:o,t:n}=Pd(),i=vt(!1),s=vt(!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};qm(()=>{t.authAction(),document.addEventListener("click",a)}),Vm(()=>{document.removeEventListener("click",a)});const d=()=>{s.value=!1},u=()=>{};return(m,p)=>{const f=ls("router-link"),h=ls("router-view");return Te(),Ae("div",jL,[C("header",HL,[C("div",UL,[C("div",zL,[ge(f,{to:{name:"Home"},class:"flex items-center","aria-label":"Stadssalg AS - Til forsiden"},{default:Oe(()=>[...p[6]||(p[6]=[C("img",{class:"h-10",src:$d,alt:"Stadssalg AS - Auksjonshuset i Bodø",width:"160",height:"40"},null,-1)])]),_:1}),C("nav",WL,[ge(f,{to:{name:"Items"},class:"text-white hover:text-gray-200"},{default:Oe(()=>[We(me(Z(n)("app.links.auctions")),1)]),_:1}),ge(f,{to:{path:"/info/customer-service"},class:"text-white hover:text-gray-200"},{default:Oe(()=>[We(me(Z(n)("app.links.helpCenter")),1)]),_:1})])]),C("div",qL,[C("div",VL,[C("button",{onClick:p[0]||(p[0]=g=>i.value=!i.value),class:"flex items-center justify-between bg-gray-800 hover:bg-gray-700 text-white px-3 py-1.5 rounded text-sm transition-colors w-[120px]"},[C("span",YL,[Z(o)==="no"?(Te(),Ae("svg",GL,[...p[7]||(p[7]=[sn('<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)])])):(Te(),Ae("svg",KL,[...p[8]||(p[8]=[sn('<rect width="60" height="30" fill="#012169"></rect><path d="M0,0 L60,30 M60,0 L0,30" stroke="#fff" stroke-width="6"></path><path d="M0,0 L60,30" stroke="#C8102E" stroke-width="2"></path><path d="M60,0 L0,30" stroke="#C8102E" stroke-width="2"></path><path d="M30,0 v30 M0,15 h60" stroke="#fff" stroke-width="10"></path><path d="M30,0 v30 M0,15 h60" stroke="#C8102E" stroke-width="6"></path>',6)])])),C("span",null,me(Z(o)==="no"?"Norsk":"English"),1)]),p[9]||(p[9]=C("svg",{class:"w-4 h-4 shrink-0",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[C("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 9l-7 7-7-7"})],-1))]),i.value?(Te(),Ae("div",XL,[C("button",{onClick:p[1]||(p[1]=g=>{l("no"),i.value=!1}),class:an(["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":Z(o)==="no"}])},[p[11]||(p[11]=sn('<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)),Z(o)==="no"?(Te(),Ae("svg",JL,[...p[10]||(p[10]=[C("path",{"fill-rule":"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z","clip-rule":"evenodd"},null,-1)])])):cr("",!0)],2),C("button",{onClick:p[2]||(p[2]=g=>{l("en"),i.value=!1}),class:an(["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":Z(o)==="en"}])},[p[13]||(p[13]=sn('<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)),Z(o)==="en"?(Te(),Ae("svg",QL,[...p[12]||(p[12]=[C("path",{"fill-rule":"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z","clip-rule":"evenodd"},null,-1)])])):cr("",!0)],2)])):cr("",!0)]),ge(TL),C("button",{onClick:c,class:"md:hidden text-white p-2 focus:outline-none","aria-expanded":s.value,"aria-label":"Meny"},[s.value?(Te(),Ae("svg",tN,[...p[15]||(p[15]=[C("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"},null,-1)])])):(Te(),Ae("svg",eN,[...p[14]||(p[14]=[C("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 6h16M4 12h16M4 18h16"},null,-1)])]))],8,ZL)])]),ge(bc,{"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?(Te(),Ae("div",rN,[C("div",oN,[ge(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(()=>[We(me(Z(n)("app.links.auctions")),1)]),_:1}),ge(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(()=>[We(me(Z(n)("app.links.helpCenter")),1)]),_:1}),Z(t).isUserAuth?(Te(),Ae("div",iN,[C("p",sN,me(Z(t).user?.email),1),ge(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(()=>[We(me(Z(n)("user.menu.myPage")),1)]),_:1}),ge(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(()=>[We(me(Z(n)("user.menu.myBidsAndPurchases")),1)]),_:1}),C("button",{onClick:p[3]||(p[3]=g=>{Z(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"},me(Z(n)("user.menu.logout")),1)])):(Te(),Ae("div",nN,[ge(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(()=>[We(me(Z(n)("user.menu.login")),1)]),_:1}),ge(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(()=>[We(me(Z(n)("user.menu.register")),1)]),_:1})])),C("div",aN,[C("p",cN,me(Z(o)==="no"?"Språk":"Language"),1),C("div",lN,[C("button",{onClick:p[4]||(p[4]=g=>{l("no"),d()}),class:an(["flex items-center justify-center space-x-2 px-4 py-2 rounded-md transition-colors",Z(o)==="no"?"bg-primary text-white":"bg-gray-800 text-gray-300"])},[...p[16]||(p[16]=[C("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 22 16",class:"w-5 h-4"},[C("rect",{width:"22",height:"16",fill:"#BA0C2F"}),C("rect",{x:"6",width:"4",height:"16",fill:"#fff"}),C("rect",{y:"6",width:"22",height:"4",fill:"#fff"}),C("rect",{x:"7",width:"2",height:"16",fill:"#00205B"}),C("rect",{y:"7",width:"22",height:"2",fill:"#00205B"})],-1),C("span",null,"Norsk",-1)])],2),C("button",{onClick:p[5]||(p[5]=g=>{l("en"),d()}),class:an(["flex items-center justify-center space-x-2 px-4 py-2 rounded-md transition-colors",Z(o)==="en"?"bg-primary text-white":"bg-gray-800 text-gray-300"])},[...p[17]||(p[17]=[C("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 60 30",class:"w-5 h-4"},[C("rect",{width:"60",height:"30",fill:"#012169"}),C("path",{d:"M0,0 L60,30 M60,0 L0,30",stroke:"#fff","stroke-width":"6"}),C("path",{d:"M0,0 L60,30",stroke:"#C8102E","stroke-width":"2"}),C("path",{d:"M60,0 L0,30",stroke:"#C8102E","stroke-width":"2"}),C("path",{d:"M30,0 v30 M0,15 h60",stroke:"#fff","stroke-width":"10"}),C("path",{d:"M30,0 v30 M0,15 h60",stroke:"#C8102E","stroke-width":"6"})],-1),C("span",null,"English",-1)])],2)])])])])):cr("",!0)]),_:1})]),Z(r)?(Te(),gc(PL,{key:0,variant:"compact"})):cr("",!0),C("main",dN,[C("div",uN,[ge(h,null,{default:Oe(({Component:g})=>[ge(bc,{name:"fade",mode:"out-in",onAfterLeave:u},{default:Oe(()=>[(Te(),gc(Ym(g),{key:m.$route.path}))]),_:2},1024)]),_:1})])]),C("footer",fN,[C("div",pN,[C("div",mN,[C("div",null,[p[21]||(p[21]=C("h2",{class:"text-xl font-bold mb-4"},"Stadssalg AS",-1)),C("p",hN,[We(me(Z(n)("general.address"))+": Olav V gate 100",1),p[18]||(p[18]=C("br",null,null,-1)),p[19]||(p[19]=We(" 8004 Bodø ",-1))]),ge(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(()=>[We(me(Z(n)("app.links.helpCenter")),1)]),_:1}),C("div",gN,[C("a",bN,[p[20]||(p[20]=C("svg",{class:"w-6 h-6",fill:"currentColor",viewBox:"0 0 24 24","aria-hidden":"true"},[C("path",{"fill-rule":"evenodd",d:"M22 12c0-5.523-4.477-10-10-10S2 6.477 2 12c0 4.991 3.657 9.128 8.438 9.878v-6.987h-2.54V12h2.54V9.797c0-2.506 1.492-3.89 3.777-3.89 1.094 0 2.238.195 2.238.195v2.46h-1.26c-1.243 0-1.63.771-1.63 1.562V12h2.773l-.443 2.89h-2.33v6.988C18.343 21.128 22 16.991 22 12z","clip-rule":"evenodd"})],-1)),C("span",null,me(Z(n)("general.followUs")),1)])])]),C("div",yN,[C("h2",vN,me(Z(n)("general.certifications")),1),C("div",kN,[ge(f,{to:{path:"/ghg"}},{default:Oe(()=>[...p[22]||(p[22]=[C("img",{class:"h-16 hover:opacity-80 transition-opacity",src:mL,alt:"Miljøfyrtårn",width:"58",height:"64",loading:"lazy"},null,-1)])]),_:1})])]),C("div",_N,[C("h2",SN,me(Z(n)("app.links.shortcuts")),1),C("ul",wN,[C("li",null,[ge(f,{to:{path:"/info/bid-system"},class:"text-gray-300 hover:text-white transition-colors"},{default:Oe(()=>[We(me(Z(n)("app.links.termsOfUse")),1)]),_:1})]),C("li",null,[ge(f,{to:{path:"/info/privacy"},class:"text-gray-300 hover:text-white transition-colors"},{default:Oe(()=>[We(me(Z(n)("app.links.privacyPolicy")),1)]),_:1})]),C("li",null,[ge(f,{to:{path:"/info/transparency-act"},class:"text-gray-300 hover:text-white transition-colors"},{default:Oe(()=>[We(me(Z(n)("app.links.transparencyAct")),1)]),_:1})])])])])]),C("div",EN,[C("div",CN,[p[23]||(p[23]=C("img",{class:"h-8",src:$d,alt:"Stadssalg AS",width:"128",height:"32",loading:"lazy"},null,-1)),C("div",xN," © "+me(new Date().getFullYear())+" Stadssalg AS ",1)])])]),ge(Z(ch)),ge(Z(lh))])}}};var pc,Yt,vr,he={};function RN(e){return Object.assign(e,{autoCapturePageviews:e.autoCapturePageviews!==!1,logging:e.logging!==!1,bindToWindow:e.bindToWindow!==!1})}function IN(e){if(he.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(he,e),he.isInitialized=!0}function _m(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 Qs=!1,Sm=location.href,wm={},Zs=-1,kr=0,jo=0;function BN(){Qs&&(Em(),Yt=_o(),vr=ea())}function AN(e){pc=!1,Sm=e.u,wm=e.p,Zs=-1,jo=0,kr=Date.now(),$N()}function MN(){pc=!0}function Em(){var e=Cm();if(!pc&&(Zs<vr||e>=3e3)){Zs=vr;var t={n:"engagement",sd:Math.round(vr/Yt*100),d:he.domain,u:Sm,p:wm,e,v:33};kr=0,jo=0,he.hashBasedRouting&&(t.h=1),_m(he.endpoint,t)}}function cs(){document.visibilityState==="visible"&&document.hasFocus()&&kr===0?kr=Date.now():document.visibilityState!=="hidden"&&document.hasFocus()||(jo=Cm(),kr=0,Em())}function $N(){Qs||(document.addEventListener("visibilitychange",cs),window.addEventListener("blur",cs),window.addEventListener("focus",cs),Qs=!0)}function Cm(){return kr?jo+(Date.now()-kr):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 ea(){var e=document.body||{},t=document.documentElement||{},r=window.innerHeight||t.clientHeight||0,o=window.scrollY||t.scrollTop||e.scrollTop||0;return Yt<=r?Yt:o+r}function ON(){Yt=_o(),vr=ea(),window.addEventListener("load",function(){Yt=_o();var e=0,t=setInterval(function(){Yt=_o(),++e==15&&clearInterval(t)},200)}),document.addEventListener("scroll",function(){Yt=_o();var e=ea();e>vr&&(vr=e)})}function Wr(e,t){if(!he.isInitialized)throw Error("plausible.track() can only be called after plausible.init()");var r,o=e==="pageview";if(o&&BN(),!he.captureOnLocalhost){if(/^localhost$|^127(\.[0-9]+){0,2}\.[0-9]+$|^\[::1?\]$/.test(location.hostname)||location.protocol==="file:")return Sn(e,t,"localhost");if((window._phantom||window.__nightmare||window.navigator.webdriver||window.Cypress)&&!window.__plausible)return Sn(e,t)}try{if(window.localStorage.plausible_ignore==="true")return Sn(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=he.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),he.customProperties){var r=he.customProperties;typeof r=="function"&&(r=he.customProperties(e)),typeof r=="object"&&(n.p=Object.assign({},r,n.p))}if(he.hashBasedRouting&&(n.h=1),typeof he.transformRequest=="function"&&!(n=he.transformRequest(n)))return Sn(e,t,"transformRequest");o&&AN(n),_m(he.endpoint,n,t)}function Sn(e,t,r){r&&he.logging&&console.warn("Ignoring Event: "+r),t&&t.callback&&t.callback(),e==="pageview"&&MN()}var LN=["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"],xm=1,Tm=3,Rm=LN;function NN(e){for(;e&&(e.tagName===void 0||!Im(e)||!e.href);)e=e.parentNode;return e}function Im(e){return e&&e.tagName&&e.tagName.toLowerCase()==="a"}function Od(e){if(e.type!=="auxclick"||e.button===xm){var t=NN(e.target),r=t&&typeof t.href=="string"&&t.href.split("?")[0];if(!hc(t,0)){if(he.outboundLinks&&PN(t))return ta(e,t,{name:"Outbound Link: Click",props:{url:t.href}});if(he.fileDownloads&&DN(r))return ta(e,t,{name:"File Download",props:{url:r}})}}}function ta(e,t,r){var o;(o={props:r.props}).revenue=r.revenue,Wr(r.name,o)}function PN(e){return e&&typeof e.href=="string"&&e.host&&e.host!==location.host}function DN(e){if(!e)return!1;var t=e.split(".").pop();return Rm.some(function(r){return r===t})}function mc(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 hc(e,t){return!!e&&!(t>Tm)&&(!!mc(e)||hc(e.parentNode,t+1))}function Ld(e){var t=mc(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 FN(){function e(t){if(t.type!=="auxclick"||t.button===xm){for(var r,o,n,i=t.target,s=0;s<=Tm&&i;s++){if((r=i)&&r.tagName&&r.tagName.toLowerCase()==="form")return;Im(i)&&(o=i),mc(i)&&(n=i),i=i.parentNode}if(n){var a=Ld(n);if(o)a.props.url=o.href,ta(t,o,a);else{var c={};c.props=a.props,c.revenue=a.revenue,Wr(a.name,c)}}}}document.addEventListener("click",Od),document.addEventListener("auxclick",Od),he.fileDownloads&&typeof he.fileDownloads=="object"&&Array.isArray(he.fileDownloads.fileExtensions)&&(Rm=he.fileDownloads.fileExtensions),he.formSubmissions&&document.addEventListener("submit",function(t){(t.target.hasAttribute("novalidate")||t.target.checkValidity())&&(hc(t.target,0)||Wr("Form: Submission"))},!0),document.addEventListener("submit",function(t){var r,o=Ld(t.target);o.name&&((r={props:o.props}).revenue=o.revenue,Wr(o.name,r))}),document.addEventListener("click",e),document.addEventListener("auxclick",e)}function jN(e){function t(s){(he.hashBasedRouting||!s||r!==location.pathname)&&(r=location.pathname,e("pageview"))}var r,o=function(){t(!0)};if(he.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 HN(e){IN(RN(e||{})),ON(),he.autoCapturePageviews&&jN(Wr),FN(),he.bindToWindow&&typeof window<"u"&&(window.plausible=Wr,window.plausible.s="npm",window.plausible.v=33,window.plausible.l=!0)}zh({immediate:!0,onRegistered(e){e&&setInterval(()=>e.update(),300*1e3)}});HN({domain:"stadssalg.no",endpoint:"https://cool-sunset.stadssalg.workers.dev/api/event"});const UN=dh(pL,{semantic:{primary:{50:"#fff5f5",100:"#ffe0e0",200:"#ffb3b3",300:"#ff8080",400:"#ff4d4d",500:"#f00000",600:"#d60000",700:"#b30000",800:"#8c0000",900:"#660000",950:"#400000"}}}),Tt=Gm(TN),zN=Km(),WN=jh();wC({app:Tt,dsn:"https://2bfdc402166e44f381098bbe47565c45@o589996.ingest.us.sentry.io/5739843",integrations:[xC({router:Bi}),UE()],tracesSampleRate:.1,tracePropagationTargets:[/^https:\/\/(www\.)?stadssalg\.no/],replaysSessionSampleRate:.01,replaysOnErrorSampleRate:.01});Tt.use(zN);Tt.use(WN);Tt.use(Sp);Tt.use(Bi);Tt.use(uh);Tt.use(fh);Tt.use(qT,{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>."}]}}}}});Tt.use(ph,{theme:{preset:UN,options:{cssLayer:{name:"primevue",order:"base, primevue"},darkModeSelector:".dark"}}});Tt.mount("#app");export{_L as _,PL as a,Ja as b,KN as c,XN as d,Se as e,Bt as f,Lr as i,Wr as t,FL as u};