import{g as wi,l as g,C as zs,f as Z,i as tt,a as gt,b as Si,c as Gs,d as Ls,r as Qt,S as er,e as Ge,h as Fe,j as Ei,u as Ys,k as qs,m as tr,n as V,o as Mn,p as Hs,t as Sn,q as Or,s as Ti,v as Dr,w as Vs,x as An,y as nr,z as Be,A as on,G as Ci,B as js,D as Ws,E as Qs,F as $n,H as vt,I as ki,J as Ri,K as Nr,L as Ks,M as Xs,N as xi,O as Zs,P as Ir,Q as Kt,R as Js,T as ea,U as ta,V as na,W as _e,X as ra,Y as ia,Z as Oi,_ as J,$ as En,a0 as Di,a1 as Ni,a2 as Ii,a3 as Re,a4 as Mr,a5 as Ar,a6 as $r,a7 as Ur,a8 as $t,a9 as sa,aa as Ut,ab as Br,ac as E,ad as me,ae as aa,af as yt,ag as oa,ah as ca,ai as Mi,aj as ua,ak as Bt,al as bt,am as la,an as da,ao as rr,ap as fa,aq as kt,ar as ha,as as pa,at as ut,au as Rt,av as ma,aw as _a,ax as $e,ay as ga,az as Pr,aA as Fr,aB as va,aC as ya,aD as ba,aE as wa,aF as Sa,aG as Ea}from"./BalBtn-b289e883.js";import{i as Ta,u as Ai,a as Ca}from"./useTransactions-d0607fb1.js";import{r as ka}from"./index-a8deb47c.js";import{g as zr,r as fe,o as ir,a as Ra,b as R,c as q,d as re,e as cn,f as xa,w as Oa,h as We,i as Xt,j as N,F as Le,k as nt,n as Da,l as F,m as Na,t as Ia,p as H,q as w,s as Ma,u as wt,v as z,x as $i,y as Aa,z as I,A as Ue,B as ce,T as $a,C as Ui,D as Ua,E as Ba,G as Bi,H as lt}from"./runtime-core.esm-bundler-bdb6b696.js";import{i as Pa}from"./usePoolsQuery-835485bc.js";import{v as Un,i as Pi,g as Fa,N as za,u as sr,c as Gr,a as Ga,s as La,n as Lr,b as Ya,l as qa,B as Ha,D as Va}from"./connector-d426cebf.js";import{c as ja,u as Wa}from"./useTailwind-88cdb31a.js";import{_ as ie}from"./_plugin-vue_export-helper-c27b6911.js";import{L as Yr,u as ar,_ as dt}from"./useDarkMode-6634e7da.js";import{u as st,a as Fi}from"./vue-router-38a5ee6e.js";import{_ as or}from"./BalLink-7318e3c1.js";import{u as Qa,T as Ka}from"./index.esm-5f62683c.js";import{_ as un}from"./balancer-sdk-b930f4ec.js";import{_ as Xa}from"./BalStack.vue_vue_type_script_lang-621c552c.js";import{b as Za,a as Ja}from"./urls-0b23d52b.js";import{_ as eo,P as to,a as no,p as ro}from"./usePoolCreation-1a5de0d0.js";import{c as zi}from"./_commonjsHelpers-042e6b4d.js";import{A as Oe,a as De,u as ln}from"./useAlerts-868195f6.js";import{u as Gi,i as io,a as so}from"./useVeBAL-76ab8f47.js";import{u as ao}from"./useGnosisSafeApp-de33f7d9.js";import{p as oo}from"./token-lists.provider-ad4c042c.js";import{p as co}from"./user-data.provider-46edc0c2.js";import"./metamask.connector-b6502f69.js";import"./index-b86d3b44.js";import"./events-5f626723.js";import"./browser-ff491f1a.js";import"./readable-browser-0b4510b9.js";import"./immutable-2b056f5a.js";import"./index-069951be.js";import"./nav-guards-7d09b2df.js";import"./usePoolHelpers-696dd608.js";import"./browser-ponyfill-b57fed40.js";import"./pools-0be8077b.js";import"./meta.service-b19ff48c.js";import"./voting.provider-cafff44c.js";import"./testnet-voting-pools-9dd1d504.js";import"./liquidity-gauge-53b36e60.js";import"./useVotingPools-405db155.js";import"./useQueryHelpers-8fe10019.js";import"./index-21a4d380.js";import"./api-25d4d767.js";import"./index-af495a85.js";import"./StaticATokenLM-4871ff6a.js";import"./balancer-api.service-6dd9532d.js";import"./tailwind.config-67544b1d.js";import"./balancer.sdk-4d4bc55d.js";import"./index-57f3b87f.js";import"./balancer-contracts.service-5696124b.js";import"./useVeBalLockInfoQuery-0ac512b2.js";(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const a of s.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(i){if(i.ep)return;i.ep=!0;const s=n(i);fetch(i.href,s)}})();function uo(t){t.directive("click-outside",{beforeMount(e,n){e.__vueOnClickOutside=function(r){const i=n.value,s=r.path||r.composedPath&&r.composedPath(),a=s?s.indexOf(e)<0:!e.contains(r.target);typeof i=="function"&&a&&i(r)},document.body.addEventListener("click",e.__vueOnClickOutside)},unmounted(e){document.body.removeEventListener("click",e.__vueOnClickOutside)}})}class X extends Error{constructor(e,n="warn"){super(e),this.message=e,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=n}}const lo=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function fo(t){return t==="http"||t==="https"}function cr(t,e=!1){const{host:n,path:r,pass:i,port:s,projectId:a,protocol:o,publicKey:c}=t;return`${o}://${c}${e&&i?`:${i}`:""}@${n}${s?`:${s}`:""}/${r&&`${r}/`}${a}`}function ho(t){const e=lo.exec(t);if(!e)throw new X(`Invalid Sentry Dsn: ${t}`);const[n,r,i="",s,a="",o]=e.slice(1);let c="",l=o;const m=l.split("/");if(m.length>1&&(c=m.slice(0,-1).join("/"),l=m.pop()),l){const _=l.match(/^\d+/);_&&(l=_[0])}return Li({host:s,pass:i,path:c,projectId:l,port:a,protocol:n,publicKey:r})}function Li(t){return{protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}function po(t){if(!(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__))return;const{port:e,projectId:n,protocol:r}=t;if(["protocol","publicKey","host","projectId"].forEach(s=>{if(!t[s])throw new X(`Invalid Sentry Dsn: ${s} missing`)}),!n.match(/^\d+$/))throw new X(`Invalid Sentry Dsn: Invalid projectId ${n}`);if(!fo(r))throw new X(`Invalid Sentry Dsn: Invalid protocol ${r}`);if(e&&isNaN(parseInt(e,10)))throw new X(`Invalid Sentry Dsn: Invalid port ${e}`);return!0}function mo(t){const e=typeof t=="string"?ho(t):Li(t);return po(e),e}const _o=50;function Yi(...t){const e=t.sort((n,r)=>n[0]-r[0]).map(n=>n[1]);return(n,r=0)=>{const i=[];for(const s of n.split(`
`).slice(r)){if(s.length>1024)continue;const a=s.replace(/\(error: (.*)\)/,"$1");for(const o of e){const c=o(a);if(c){i.push(c);break}}}return vo(i)}}function go(t){return Array.isArray(t)?Yi(...t):t}function vo(t){if(!t.length)return[];let e=t;const n=e[0].function||"",r=e[e.length-1].function||"";return(n.indexOf("captureMessage")!==-1||n.indexOf("captureException")!==-1)&&(e=e.slice(1)),r.indexOf("sentryWrapped")!==-1&&(e=e.slice(0,-1)),e.slice(0,_o).map(i=>({...i,filename:i.filename||e[0].filename,function:i.function||"?"})).reverse()}const Tn="<anonymous>";function Me(t){try{return!t||typeof t!="function"?Tn:t.name||Tn}catch{return Tn}}const Pe=wi();function qi(){if(!("fetch"in Pe))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch{return!1}}function Bn(t){return t&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(t.toString())}function yo(){if(!qi())return!1;if(Bn(Pe.fetch))return!0;let t=!1;const e=Pe.document;if(e&&typeof e.createElement=="function")try{const n=e.createElement("iframe");n.hidden=!0,e.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(t=Bn(n.contentWindow.fetch)),e.head.removeChild(n)}catch(n){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&g.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",n)}return t}function bo(){const t=Pe.chrome,e=t&&t.app&&t.app.runtime,n="history"in Pe&&!!Pe.history.pushState&&!!Pe.history.replaceState;return!e&&n}const G=wi(),pt={},qr={};function wo(t){if(!qr[t])switch(qr[t]=!0,t){case"console":So();break;case"dom":No();break;case"xhr":ko();break;case"fetch":Eo();break;case"history":Ro();break;case"error":Io();break;case"unhandledrejection":Mo();break;default:(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&g.warn("unknown instrumentation type:",t);return}}function ae(t,e){pt[t]=pt[t]||[],pt[t].push(e),wo(t)}function ge(t,e){if(!(!t||!pt[t]))for(const n of pt[t]||[])try{n(e)}catch(r){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&g.error(`Error while triggering instrumentation handler.
Type: ${t}
Name: ${Me(n)}
Error:`,r)}}function So(){"console"in G&&zs.forEach(function(t){t in G.console&&Z(G.console,t,function(e){return function(...n){ge("console",{args:n,level:t}),e&&e.apply(G.console,n)}})})}function Eo(){yo()&&Z(G,"fetch",function(t){return function(...e){const n={args:e,fetchData:{method:To(e),url:Co(e)},startTimestamp:Date.now()};return ge("fetch",{...n}),t.apply(G,e).then(r=>(ge("fetch",{...n,endTimestamp:Date.now(),response:r}),r),r=>{throw ge("fetch",{...n,endTimestamp:Date.now(),error:r}),r})}})}function To(t=[]){return"Request"in G&&tt(t[0],Request)&&t[0].method?String(t[0].method).toUpperCase():t[1]&&t[1].method?String(t[1].method).toUpperCase():"GET"}function Co(t=[]){return typeof t[0]=="string"?t[0]:"Request"in G&&tt(t[0],Request)?t[0].url:String(t[0])}function ko(){if(!("XMLHttpRequest"in G))return;const t=XMLHttpRequest.prototype;Z(t,"open",function(e){return function(...n){const r=this,i=n[1],s=r.__sentry_xhr__={method:gt(n[0])?n[0].toUpperCase():n[0],url:n[1]};gt(i)&&s.method==="POST"&&i.match(/sentry_key/)&&(r.__sentry_own_request__=!0);const a=function(){if(r.readyState===4){try{s.status_code=r.status}catch{}ge("xhr",{args:n,endTimestamp:Date.now(),startTimestamp:Date.now(),xhr:r})}};return"onreadystatechange"in r&&typeof r.onreadystatechange=="function"?Z(r,"onreadystatechange",function(o){return function(...c){return a(),o.apply(r,c)}}):r.addEventListener("readystatechange",a),e.apply(r,n)}}),Z(t,"send",function(e){return function(...n){return this.__sentry_xhr__&&n[0]!==void 0&&(this.__sentry_xhr__.body=n[0]),ge("xhr",{args:n,startTimestamp:Date.now(),xhr:this}),e.apply(this,n)}})}let Pt;function Ro(){if(!bo())return;const t=G.onpopstate;G.onpopstate=function(...n){const r=G.location.href,i=Pt;if(Pt=r,ge("history",{from:i,to:r}),t)try{return t.apply(this,n)}catch{}};function e(n){return function(...r){const i=r.length>2?r[2]:void 0;if(i){const s=Pt,a=String(i);Pt=a,ge("history",{from:s,to:a})}return n.apply(this,r)}}Z(G.history,"pushState",e),Z(G.history,"replaceState",e)}const xo=1e3;let Ft,zt;function Oo(t,e){if(!t||t.type!==e.type)return!0;try{if(t.target!==e.target)return!0}catch{}return!1}function Do(t){if(t.type!=="keypress")return!1;try{const e=t.target;if(!e||!e.tagName)return!0;if(e.tagName==="INPUT"||e.tagName==="TEXTAREA"||e.isContentEditable)return!1}catch{}return!0}function Hr(t,e=!1){return n=>{if(!n||zt===n||Do(n))return;const r=n.type==="keypress"?"input":n.type;Ft===void 0?(t({event:n,name:r,global:e}),zt=n):Oo(zt,n)&&(t({event:n,name:r,global:e}),zt=n),clearTimeout(Ft),Ft=G.setTimeout(()=>{Ft=void 0},xo)}}function No(){if(!("document"in G))return;const t=ge.bind(null,"dom"),e=Hr(t,!0);G.document.addEventListener("click",e,!1),G.document.addEventListener("keypress",e,!1),["EventTarget","Node"].forEach(n=>{const r=G[n]&&G[n].prototype;!r||!r.hasOwnProperty||!r.hasOwnProperty("addEventListener")||(Z(r,"addEventListener",function(i){return function(s,a,o){if(s==="click"||s=="keypress")try{const c=this,l=c.__sentry_instrumentation_handlers__=c.__sentry_instrumentation_handlers__||{},m=l[s]=l[s]||{refCount:0};if(!m.handler){const _=Hr(t);m.handler=_,i.call(this,s,_,o)}m.refCount++}catch{}return i.call(this,s,a,o)}}),Z(r,"removeEventListener",function(i){return function(s,a,o){if(s==="click"||s=="keypress")try{const c=this,l=c.__sentry_instrumentation_handlers__||{},m=l[s];m&&(m.refCount--,m.refCount<=0&&(i.call(this,s,m.handler,o),m.handler=void 0,delete l[s]),Object.keys(l).length===0&&delete c.__sentry_instrumentation_handlers__)}catch{}return i.call(this,s,a,o)}}))})}let Cn=null;function Io(){Cn=G.onerror,G.onerror=function(t,e,n,r,i){return ge("error",{column:r,error:i,line:n,msg:t,url:e}),Cn?Cn.apply(this,arguments):!1}}let kn=null;function Mo(){kn=G.onunhandledrejection,G.onunhandledrejection=function(t){return ge("unhandledrejection",t),kn?kn.apply(this,arguments):!0}}function Ao(){const t=typeof WeakSet=="function",e=t?new WeakSet:[];function n(i){if(t)return e.has(i)?!0:(e.add(i),!1);for(let s=0;s<e.length;s++)if(e[s]===i)return!0;return e.push(i),!1}function r(i){if(t)e.delete(i);else for(let s=0;s<e.length;s++)if(e[s]===i){e.splice(s,1);break}}return[n,r]}function xe(t,e=1/0,n=1/0){try{return Pn("",t,e,n)}catch(r){return{ERROR:`**non-serializable** (${r})`}}}function Hi(t,e=3,n=100*1024){const r=xe(t,e);return Bo(r)>n?Hi(t,e-1,n):r}function Pn(t,e,n=1/0,r=1/0,i=Ao()){const[s,a]=i;if(e===null||["number","boolean","string"].includes(typeof e)&&!Si(e))return e;const o=$o(t,e);if(!o.startsWith("[object "))return o;if(e.__sentry_skip_normalization__)return e;if(n===0)return o.replace("object ","");if(s(e))return"[Circular ~]";const c=e;if(c&&typeof c.toJSON=="function")try{const f=c.toJSON();return Pn("",f,n-1,r,i)}catch{}const l=Array.isArray(e)?[]:{};let m=0;const _=Gs(e);for(const f in _){if(!Object.prototype.hasOwnProperty.call(_,f))continue;if(m>=r){l[f]="[MaxProperties ~]";break}const h=_[f];l[f]=Pn(f,h,n-1,r,i),m++}return a(e),l}function $o(t,e){try{return t==="domain"&&e&&typeof e=="object"&&e._events?"[Domain]":t==="domainEmitter"?"[DomainEmitter]":typeof zr<"u"&&e===zr?"[Global]":typeof window<"u"&&e===window?"[Window]":typeof document<"u"&&e===document?"[Document]":Ls(e)?"[SyntheticEvent]":typeof e=="number"&&e!==e?"[NaN]":e===void 0?"[undefined]":typeof e=="function"?`[Function: ${Me(e)}]`:typeof e=="symbol"?`[${String(e)}]`:typeof e=="bigint"?`[BigInt: ${String(e)}]`:`[object ${Object.getPrototypeOf(e).constructor.name}]`}catch(n){return`**non-serializable** (${n})`}}function Uo(t){return~-encodeURI(t).split(/%..|./).length}function Bo(t){return Uo(JSON.stringify(t))}function Po(t){const e=[];function n(){return t===void 0||e.length<t}function r(a){return e.splice(e.indexOf(a),1)[0]}function i(a){if(!n())return Qt(new X("Not adding Promise because buffer limit was reached."));const o=a();return e.indexOf(o)===-1&&e.push(o),o.then(()=>r(o)).then(null,()=>r(o).then(null,()=>{})),o}function s(a){return new er((o,c)=>{let l=e.length;if(!l)return o(!0);const m=setTimeout(()=>{a&&a>0&&o(!1)},a);e.forEach(_=>{Ge(_).then(()=>{--l||(clearTimeout(m),o(!0))},c)})})}return{$:e,add:i,drain:s}}function Rn(t){if(!t)return{};const e=t.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!e)return{};const n=e[6]||"",r=e[8]||"";return{host:e[4],path:e[5],protocol:e[2],relative:e[5]+n+r}}const Fo=["fatal","error","warning","log","info","debug"];function zo(t){return t==="warn"?"warning":Fo.includes(t)?t:"log"}const Go=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function Lo(t){const e=t.match(Go);if(!t||!e)return;let n;return e[3]==="1"?n=!0:e[3]==="0"&&(n=!1),{traceId:e[1],parentSampled:n,parentSpanId:e[2]}}function dn(t,e=[]){return[t,e]}function Yo(t,e){const[n,r]=t;return[n,[...r,e]]}function Vr(t,e){t[1].forEach(r=>{const i=r[0].type;e(r,i)})}function Fn(t,e){return(e||new TextEncoder).encode(t)}function Vi(t,e){const[n,r]=t;let i=JSON.stringify(n);function s(a){typeof i=="string"?i=typeof a=="string"?i+a:[Fn(i,e),a]:i.push(typeof a=="string"?Fn(a,e):a)}for(const a of r){const[o,c]=a;if(s(`
${JSON.stringify(o)}
`),typeof c=="string"||c instanceof Uint8Array)s(c);else{let l;try{l=JSON.stringify(c)}catch{l=JSON.stringify(xe(c))}s(l)}}return typeof i=="string"?i:qo(i)}function qo(t){const e=t.reduce((i,s)=>i+s.length,0),n=new Uint8Array(e);let r=0;for(const i of t)n.set(i,r),r+=i.length;return n}function Ho(t,e){const n=typeof t.data=="string"?Fn(t.data,e):t.data;return[Fe({type:"attachment",length:n.length,filename:t.filename,content_type:t.contentType,attachment_type:t.attachmentType}),n]}const Vo={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",replay_event:"replay",replay_recording:"replay"};function jr(t){return Vo[t]}function ji(t){if(!t||!t.sdk)return;const{name:e,version:n}=t.sdk;return{name:e,version:n}}function jo(t,e,n,r){const i=t.sdkProcessingMetadata&&t.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:t.event_id,sent_at:new Date().toISOString(),...e&&{sdk:e},...!!n&&{dsn:cr(r)},...t.type==="transaction"&&i&&{trace:Fe({...i})}}}function Wo(t,e,n){const r=[{type:"client_report"},{timestamp:n||Ei(),discarded_events:t}];return dn(e?{dsn:e}:{},[r])}const Qo=60*1e3;function Ko(t,e=Date.now()){const n=parseInt(`${t}`,10);if(!isNaN(n))return n*1e3;const r=Date.parse(`${t}`);return isNaN(r)?Qo:r-e}function Xo(t,e){return t[e]||t.all||0}function Zo(t,e,n=Date.now()){return Xo(t,e)>n}function Jo(t,{statusCode:e,headers:n},r=Date.now()){const i={...t},s=n&&n["x-sentry-rate-limits"],a=n&&n["retry-after"];if(s)for(const o of s.trim().split(",")){const[c,l]=o.split(":",2),m=parseInt(c,10),_=(isNaN(m)?60:m)*1e3;if(!l)i.all=r+_;else for(const f of l.split(";"))i[f]=r+_}else a?i.all=r+Ko(a,r):e===429&&(i.all=r+60*1e3);return i}const zn="baggage",Wi="sentry-",ec=/^sentry-/,tc=8192;function nc(t){if(!gt(t)&&!Array.isArray(t))return;let e={};if(Array.isArray(t))e=t.reduce((r,i)=>{const s=Wr(i);return{...r,...s}},{});else{if(!t)return;e=Wr(t)}const n=Object.entries(e).reduce((r,[i,s])=>{if(i.match(ec)){const a=i.slice(Wi.length);r[a]=s}return r},{});if(Object.keys(n).length>0)return n}function Qi(t){const e=Object.entries(t).reduce((n,[r,i])=>(i&&(n[`${Wi}${r}`]=i),n),{});return rc(e)}function Wr(t){return t.split(",").map(e=>e.split("=").map(n=>decodeURIComponent(n.trim()))).reduce((e,[n,r])=>(e[n]=r,e),{})}function rc(t){if(Object.keys(t).length!==0)return Object.entries(t).reduce((e,[n,r],i)=>{const s=`${encodeURIComponent(n)}=${encodeURIComponent(r)}`,a=i===0?s:`${e},${s}`;return a.length>tc?((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&g.warn(`Not adding key: ${n} with val: ${r} to baggage header due to exceeding baggage size limits.`),e):a},"")}const ic="7";function sc(t){const e=t.protocol?`${t.protocol}:`:"",n=t.port?`:${t.port}`:"";return`${e}//${t.host}${n}${t.path?`/${t.path}`:""}/api/`}function ac(t){return`${sc(t)}${t.projectId}/envelope/`}function oc(t,e){return Ys({sentry_key:t.publicKey,sentry_version:ic,...e&&{sentry_client:`${e.name}/${e.version}`}})}function Ki(t,e={}){const n=typeof e=="string"?e:e.tunnel,r=typeof e=="string"||!e._metadata?void 0:e._metadata.sdk;return n||`${ac(t)}?${oc(t,r)}`}function cc(t,e){return e&&(t.sdk=t.sdk||{},t.sdk.name=t.sdk.name||e.name,t.sdk.version=t.sdk.version||e.version,t.sdk.integrations=[...t.sdk.integrations||[],...e.integrations||[]],t.sdk.packages=[...t.sdk.packages||[],...e.packages||[]]),t}function uc(t,e,n,r){const i=ji(n),s={sent_at:new Date().toISOString(),...i&&{sdk:i},...!!r&&{dsn:cr(e)}},a="aggregates"in t?[{type:"sessions"},t]:[{type:"session"},t];return dn(s,[a])}function lc(t,e,n,r){const i=ji(n),s=t.type&&t.type!=="replay_event"?t.type:"event";cc(t,n&&n.sdk);const a=jo(t,i,r,e);return delete t.sdkProcessingMetadata,dn(a,[[{type:s},t]])}const Qr=[];function dc(t){const e={};return t.forEach(n=>{const{name:r}=n,i=e[r];i&&!i.isDefaultInstance&&n.isDefaultInstance||(e[r]=n)}),Object.values(e)}function fc(t){const e=t.defaultIntegrations||[],n=t.integrations;e.forEach(a=>{a.isDefaultInstance=!0});let r;Array.isArray(n)?r=[...e,...n]:typeof n=="function"?r=qs(n(e)):r=e;const i=dc(r),s=i.findIndex(a=>a.name==="Debug");if(s!==-1){const[a]=i.splice(s,1);i.push(a)}return i}function hc(t){const e={};return t.forEach(n=>{Xi(n,e)}),e}function Xi(t,e){e[t.name]=t,Qr.indexOf(t.name)===-1&&(t.setupOnce(tr,V),Qr.push(t.name),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&g.log(`Integration installed: ${t.name}`))}function pc(t,e,n,r){const{normalizeDepth:i=3,normalizeMaxBreadth:s=1e3}=t,a={...e,event_id:e.event_id||n.event_id||Mn(),timestamp:e.timestamp||Ei()};mc(a,t),_c(a,t.integrations.map(l=>l.name));let o=r;n.captureContext&&(o=Hs.clone(o).update(n.captureContext));let c=Ge(a);if(o){if(o.getAttachments){const l=[...n.attachments||[],...o.getAttachments()];l.length&&(n.attachments=l)}c=o.applyToEvent(a,n)}return c.then(l=>typeof i=="number"&&i>0?gc(l,i,s):l)}function mc(t,e){const{environment:n,release:r,dist:i,maxValueLength:s=250}=e;"environment"in t||(t.environment="environment"in e?n:"production"),t.release===void 0&&r!==void 0&&(t.release=r),t.dist===void 0&&i!==void 0&&(t.dist=i),t.message&&(t.message=Sn(t.message,s));const a=t.exception&&t.exception.values&&t.exception.values[0];a&&a.value&&(a.value=Sn(a.value,s));const o=t.request;o&&o.url&&(o.url=Sn(o.url,s))}function _c(t,e){e.length>0&&(t.sdk=t.sdk||{},t.sdk.integrations=[...t.sdk.integrations||[],...e])}function gc(t,e,n){if(!t)return null;const r={...t,...t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map(i=>({...i,...i.data&&{data:xe(i.data,e,n)}}))},...t.user&&{user:xe(t.user,e,n)},...t.contexts&&{contexts:xe(t.contexts,e,n)},...t.extra&&{extra:xe(t.extra,e,n)}};return t.contexts&&t.contexts.trace&&r.contexts&&(r.contexts.trace=t.contexts.trace,t.contexts.trace.data&&(r.contexts.trace.data=xe(t.contexts.trace.data,e,n))),t.spans&&(r.spans=t.spans.map(i=>(i.data&&(i.data=xe(i.data,e,n)),i))),r}const Kr="Not capturing exception because it's already been captured.";class Ve{__init(){this._integrations={}}__init2(){this._integrationsInitialized=!1}__init3(){this._numProcessing=0}__init4(){this._outcomes={}}constructor(e){if(Ve.prototype.__init.call(this),Ve.prototype.__init2.call(this),Ve.prototype.__init3.call(this),Ve.prototype.__init4.call(this),this._options=e,e.dsn){this._dsn=mo(e.dsn);const n=Ki(this._dsn,e);this._transport=e.transport({recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:n})}else(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&g.warn("No DSN provided, client will not do anything.")}captureException(e,n,r){if(Or(e)){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&g.log(Kr);return}let i=n&&n.event_id;return this._process(this.eventFromException(e,n).then(s=>this._captureEvent(s,n,r)).then(s=>{i=s})),i}captureMessage(e,n,r,i){let s=r&&r.event_id;const a=Ti(e)?this.eventFromMessage(String(e),n,r):this.eventFromException(e,r);return this._process(a.then(o=>this._captureEvent(o,r,i)).then(o=>{s=o})),s}captureEvent(e,n,r){if(n&&n.originalException&&Or(n.originalException)){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&g.log(Kr);return}let i=n&&n.event_id;return this._process(this._captureEvent(e,n,r).then(s=>{i=s})),i}captureSession(e){if(!this._isEnabled()){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&g.warn("SDK not enabled, will not capture session.");return}typeof e.release!="string"?(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&g.warn("Discarded session because of missing or non-string release"):(this.sendSession(e),Dr(e,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(e){const n=this._transport;return n?this._isClientDoneProcessing(e).then(r=>n.flush(e).then(i=>r&&i)):Ge(!0)}close(e){return this.flush(e).then(n=>(this.getOptions().enabled=!1,n))}setupIntegrations(){this._isEnabled()&&!this._integrationsInitialized&&(this._integrations=hc(this._options.integrations),this._integrationsInitialized=!0)}getIntegrationById(e){return this._integrations[e]}getIntegration(e){try{return this._integrations[e.id]||null}catch{return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&g.warn(`Cannot retrieve integration ${e.id} from the current Client`),null}}addIntegration(e){Xi(e,this._integrations)}sendEvent(e,n={}){if(this._dsn){let r=lc(e,this._dsn,this._options._metadata,this._options.tunnel);for(const i of n.attachments||[])r=Yo(r,Ho(i,this._options.transportOptions&&this._options.transportOptions.textEncoder));this._sendEnvelope(r)}}sendSession(e){if(this._dsn){const n=uc(e,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(n)}}recordDroppedEvent(e,n,r){if(this._options.sendClientReports){const i=`${e}:${n}`;(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&g.log(`Adding outcome: "${i}"`),this._outcomes[i]=this._outcomes[i]+1||1}}_updateSessionFromEvent(e,n){let r=!1,i=!1;const s=n.exception&&n.exception.values;if(s){i=!0;for(const c of s){const l=c.mechanism;if(l&&l.handled===!1){r=!0;break}}}const a=e.status==="ok";(a&&e.errors===0||a&&r)&&(Dr(e,{...r&&{status:"crashed"},errors:e.errors||Number(i||r)}),this.captureSession(e))}_isClientDoneProcessing(e){return new er(n=>{let r=0;const i=1,s=setInterval(()=>{this._numProcessing==0?(clearInterval(s),n(!0)):(r+=i,e&&r>=e&&(clearInterval(s),n(!1)))},i)})}_isEnabled(){return this.getOptions().enabled!==!1&&this._dsn!==void 0}_prepareEvent(e,n,r){const i=this.getOptions();return pc(i,e,n,r)}_captureEvent(e,n={},r){return this._processEvent(e,n,r).then(i=>i.event_id,i=>{if(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__){const s=i;s.logLevel==="log"?g.log(s.message):g.warn(s)}})}_processEvent(e,n,r){const i=this.getOptions(),{sampleRate:s}=i;if(!this._isEnabled())return Qt(new X("SDK not enabled, will not capture event.","log"));const a=Ji(e),o=Zi(e),c=e.type||"error",l=`before send for type \`${c}\``;if(o&&typeof s=="number"&&Math.random()>s)return this.recordDroppedEvent("sample_rate","error",e),Qt(new X(`Discarding event because it's not included in the random sample (sampling rate = ${s})`,"log"));const m=c==="replay_event"?"replay":c;return this._prepareEvent(e,n,r).then(_=>{if(_===null)throw this.recordDroppedEvent("event_processor",m,e),new X("An event processor returned `null`, will not send event.","log");if(n.data&&n.data.__sentry__===!0)return _;const h=yc(i,_,n);return vc(h,l)}).then(_=>{if(_===null)throw this.recordDroppedEvent("before_send",m,e),new X(`${l} returned \`null\`, will not send event.`,"log");const f=r&&r.getSession();!a&&f&&this._updateSessionFromEvent(f,_);const h=_.transaction_info;if(a&&h&&_.transaction!==e.transaction){const u="custom";_.transaction_info={...h,source:u,changes:[...h.changes,{source:u,timestamp:_.timestamp,propagations:h.propagations}]}}return this.sendEvent(_,n),_}).then(null,_=>{throw _ instanceof X?_:(this.captureException(_,{data:{__sentry__:!0},originalException:_}),new X(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.
Reason: ${_}`))})}_process(e){this._numProcessing++,e.then(n=>(this._numProcessing--,n),n=>(this._numProcessing--,n))}_sendEnvelope(e){this._transport&&this._dsn?this._transport.send(e).then(null,n=>{(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&g.error("Error while sending event:",n)}):(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&g.error("Transport disabled")}_clearOutcomes(){const e=this._outcomes;return this._outcomes={},Object.keys(e).map(n=>{const[r,i]=n.split(":");return{reason:r,category:i,quantity:e[n]}})}}function vc(t,e){const n=`${e} must return \`null\` or a valid event.`;if(Vs(t))return t.then(r=>{if(!An(r)&&r!==null)throw new X(n);return r},r=>{throw new X(`${e} rejected with ${r}`)});if(!An(t)&&t!==null)throw new X(n);return t}function yc(t,e,n){const{beforeSend:r,beforeSendTransaction:i}=t;return Zi(e)&&r?r(e,n):Ji(e)&&i?i(e,n):e}function Zi(t){return t.type===void 0}function Ji(t){return t.type==="transaction"}function bc(t,e){e.debug===!0&&(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__?g.enable():console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle."));const n=V(),r=n.getScope();r&&r.update(e.initialScope);const i=new t(e);n.bindClient(i)}const wc=30;function es(t,e,n=Po(t.bufferSize||wc)){let r={};const i=a=>n.drain(a);function s(a){const o=[];if(Vr(a,(_,f)=>{const h=jr(f);if(Zo(r,h)){const u=Xr(_,f);t.recordDroppedEvent("ratelimit_backoff",h,u)}else o.push(_)}),o.length===0)return Ge();const c=dn(a[0],o),l=_=>{Vr(c,(f,h)=>{const u=Xr(f,h);t.recordDroppedEvent(_,jr(h),u)})},m=()=>e({body:Vi(c,t.textEncoder)}).then(_=>(_.statusCode!==void 0&&(_.statusCode<200||_.statusCode>=300)&&(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&g.warn(`Sentry responded with status code ${_.statusCode} to sent event.`),r=Jo(r,_),_),_=>{throw l("network_error"),_});return n.add(m).then(_=>_,_=>{if(_ instanceof X)return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&g.error("Skipped sending event because buffer is full."),l("queue_overflow"),Ge();throw _})}return{send:s,flush:i}}function Xr(t,e){if(!(e!=="event"&&e!=="transaction"))return Array.isArray(t)?t[1]:void 0}const Zr="7.33.0";let Jr;class St{constructor(){St.prototype.__init.call(this)}static __initStatic(){this.id="FunctionToString"}__init(){this.name=St.id}setupOnce(){Jr=Function.prototype.toString,Function.prototype.toString=function(...e){const n=nr(this)||this;return Jr.apply(n,e)}}}St.__initStatic();const Sc=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/];class Qe{static __initStatic(){this.id="InboundFilters"}__init(){this.name=Qe.id}constructor(e={}){this._options=e,Qe.prototype.__init.call(this)}setupOnce(e,n){const r=i=>{const s=n();if(s){const a=s.getIntegration(Qe);if(a){const o=s.getClient(),c=o?o.getOptions():{},l=Ec(a._options,c);return Tc(i,l)?null:i}}return i};r.id=this.name,e(r)}}Qe.__initStatic();function Ec(t={},e={}){return{allowUrls:[...t.allowUrls||[],...e.allowUrls||[]],denyUrls:[...t.denyUrls||[],...e.denyUrls||[]],ignoreErrors:[...t.ignoreErrors||[],...e.ignoreErrors||[],...Sc],ignoreInternal:t.ignoreInternal!==void 0?t.ignoreInternal:!0}}function Tc(t,e){return e.ignoreInternal&&Oc(t)?((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&g.warn(`Event dropped due to being internal Sentry Error.
Event: ${Be(t)}`),!0):Cc(t,e.ignoreErrors)?((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&g.warn(`Event dropped due to being matched by \`ignoreErrors\` option.
Event: ${Be(t)}`),!0):kc(t,e.denyUrls)?((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&g.warn(`Event dropped due to being matched by \`denyUrls\` option.
Event: ${Be(t)}.
Url: ${Zt(t)}`),!0):Rc(t,e.allowUrls)?!1:((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&g.warn(`Event dropped due to not being matched by \`allowUrls\` option.
Event: ${Be(t)}.
Url: ${Zt(t)}`),!0)}function Cc(t,e){return!e||!e.length?!1:xc(t).some(n=>on(n,e))}function kc(t,e){if(!e||!e.length)return!1;const n=Zt(t);return n?on(n,e):!1}function Rc(t,e){if(!e||!e.length)return!0;const n=Zt(t);return n?on(n,e):!0}function xc(t){if(t.message)return[t.message];if(t.exception)try{const{type:e="",value:n=""}=t.exception.values&&t.exception.values[0]||{};return[`${n}`,`${e}: ${n}`]}catch{return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&g.error(`Cannot extract message for event ${Be(t)}`),[]}return[]}function Oc(t){try{return t.exception.values[0].type==="SentryError"}catch{}return!1}function Dc(t=[]){for(let e=t.length-1;e>=0;e--){const n=t[e];if(n&&n.filename!=="<anonymous>"&&n.filename!=="[native code]")return n.filename||null}return null}function Zt(t){try{let e;try{e=t.exception.values[0].stacktrace.frames}catch{}return e?Dc(e):null}catch{return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&g.error(`Cannot extract url for event ${Be(t)}`),null}}const M=Ci;let Gn=0;function ts(){return Gn>0}function Nc(){Gn++,setTimeout(()=>{Gn--})}function rt(t,e={},n){if(typeof t!="function")return t;try{const i=t.__sentry_wrapped__;if(i)return i;if(nr(t))return t}catch{return t}const r=function(){const i=Array.prototype.slice.call(arguments);try{n&&typeof n=="function"&&n.apply(this,arguments);const s=i.map(a=>rt(a,e));return t.apply(this,s)}catch(s){throw Nc(),Qs(a=>{a.addEventProcessor(o=>(e.mechanism&&($n(o,void 0,void 0),vt(o,e.mechanism)),o.extra={...o.extra,arguments:i},o)),ki(s)}),s}};try{for(const i in t)Object.prototype.hasOwnProperty.call(t,i)&&(r[i]=t[i])}catch{}js(r,t),Ws(t,"__sentry_wrapped__",r);try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get(){return t.name}})}catch{}return r}function ns(t,e){const n=ur(t,e),r={type:e&&e.name,value:$c(e)};return n.length&&(r.stacktrace={frames:n}),r.type===void 0&&r.value===""&&(r.value="Unrecoverable error caught"),r}function Ic(t,e,n,r){const s=V().getClient(),a=s&&s.getOptions().normalizeDepth,o={exception:{values:[{type:xi(e)?e.constructor.name:r?"UnhandledRejection":"Error",value:`Non-Error ${r?"promise rejection":"exception"} captured with keys: ${Zs(e)}`}]},extra:{__serialized__:Hi(e,a)}};if(n){const c=ur(t,n);c.length&&(o.exception.values[0].stacktrace={frames:c})}return o}function xn(t,e){return{exception:{values:[ns(t,e)]}}}function ur(t,e){const n=e.stacktrace||e.stack||"",r=Ac(e);try{return t(n,r)}catch{}return[]}const Mc=/Minified React error #\d+;/i;function Ac(t){if(t){if(typeof t.framesToPop=="number")return t.framesToPop;if(Mc.test(t.message))return 1}return 0}function $c(t){const e=t&&t.message;return e?e.error&&typeof e.error.message=="string"?e.error.message:e:"No error message"}function Uc(t,e,n,r){const i=n&&n.syntheticException||void 0,s=lr(t,e,i,r);return vt(s),s.level="error",n&&n.event_id&&(s.event_id=n.event_id),Ge(s)}function Bc(t,e,n="info",r,i){const s=r&&r.syntheticException||void 0,a=Ln(t,e,s,i);return a.level=n,r&&r.event_id&&(a.event_id=r.event_id),Ge(a)}function lr(t,e,n,r,i){let s;if(Ri(e)&&e.error)return xn(t,e.error);if(Nr(e)||Ks(e)){const a=e;if("stack"in e)s=xn(t,e);else{const o=a.name||(Nr(a)?"DOMError":"DOMException"),c=a.message?`${o}: ${a.message}`:o;s=Ln(t,c,n,r),$n(s,c)}return"code"in a&&(s.tags={...s.tags,"DOMException.code":`${a.code}`}),s}return Xs(e)?xn(t,e):An(e)||xi(e)?(s=Ic(t,e,n,i),vt(s,{synthetic:!0}),s):(s=Ln(t,e,n,r),$n(s,`${e}`,void 0),vt(s,{synthetic:!0}),s)}function Ln(t,e,n,r){const i={message:e};if(r&&n){const s=ur(t,n);s.length&&(i.exception={values:[{value:e,stacktrace:{frames:s}}]})}return i}const Gt=1024,rs="Breadcrumbs";class Et{static __initStatic(){this.id=rs}__init(){this.name=Et.id}constructor(e){Et.prototype.__init.call(this),this.options={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e}}setupOnce(){this.options.console&&ae("console",Fc),this.options.dom&&ae("dom",Pc(this.options.dom)),this.options.xhr&&ae("xhr",zc),this.options.fetch&&ae("fetch",Gc),this.options.history&&ae("history",Lc)}addSentryBreadcrumb(e){this.options.sentry&&V().addBreadcrumb({category:`sentry.${e.type==="transaction"?"transaction":"event"}`,event_id:e.event_id,level:e.level,message:Be(e)},{event:e})}}Et.__initStatic();function Pc(t){function e(n){let r,i=typeof t=="object"?t.serializeAttribute:void 0,s=typeof t=="object"&&typeof t.maxStringLength=="number"?t.maxStringLength:void 0;s&&s>Gt&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&g.warn(`\`dom.maxStringLength\` cannot exceed ${Gt}, but a value of ${s} was configured. Sentry will use ${Gt} instead.`),s=Gt),typeof i=="string"&&(i=[i]);try{r=n.event.target?Kt(n.event.target,{keyAttrs:i,maxStringLength:s}):Kt(n.event,{keyAttrs:i,maxStringLength:s})}catch{r="<unknown>"}r.length!==0&&V().addBreadcrumb({category:`ui.${n.name}`,message:r},{event:n.event,name:n.name,global:n.global})}return e}function Fc(t){for(let n=0;n<t.args.length;n++)if(t.args[n]==="ref=Ref<"){t.args[n+1]="viewRef";break}const e={category:"console",data:{arguments:t.args,logger:"console"},level:zo(t.level),message:Ir(t.args," ")};if(t.level==="assert")if(t.args[0]===!1)e.message=`Assertion failed: ${Ir(t.args.slice(1)," ")||"console.assert"}`,e.data.arguments=t.args.slice(1);else return;V().addBreadcrumb(e,{input:t.args,level:t.level})}function zc(t){if(t.endTimestamp){if(t.xhr.__sentry_own_request__)return;const{method:e,url:n,status_code:r,body:i}=t.xhr.__sentry_xhr__||{};V().addBreadcrumb({category:"xhr",data:{method:e,url:n,status_code:r},type:"http"},{xhr:t.xhr,input:i});return}}function Gc(t){t.endTimestamp&&(t.fetchData.url.match(/sentry_key/)&&t.fetchData.method==="POST"||(t.error?V().addBreadcrumb({category:"fetch",data:t.fetchData,level:"error",type:"http"},{data:t.error,input:t.args}):V().addBreadcrumb({category:"fetch",data:{...t.fetchData,status_code:t.response.status},type:"http"},{input:t.args,response:t.response})))}function Lc(t){let e=t.from,n=t.to;const r=Rn(M.location.href);let i=Rn(e);const s=Rn(n);i.path||(i=r),r.protocol===s.protocol&&r.host===s.host&&(n=s.relative),r.protocol===i.protocol&&r.host===i.host&&(e=i.relative),V().addBreadcrumb({category:"navigation",data:{from:e,to:n}})}class Yc extends Ve{constructor(e){e._metadata=e._metadata||{},e._metadata.sdk=e._metadata.sdk||{name:"sentry.javascript.browser",packages:[{name:"npm:@sentry/browser",version:Zr}],version:Zr},super(e),e.sendClientReports&&M.document&&M.document.addEventListener("visibilitychange",()=>{M.document.visibilityState==="hidden"&&this._flushOutcomes()})}eventFromException(e,n){return Uc(this._options.stackParser,e,n,this._options.attachStacktrace)}eventFromMessage(e,n="info",r){return Bc(this._options.stackParser,e,n,r,this._options.attachStacktrace)}sendEvent(e,n){const r=this.getIntegrationById(rs);r&&r.addSentryBreadcrumb&&r.addSentryBreadcrumb(e),super.sendEvent(e,n)}_prepareEvent(e,n,r){return e.platform=e.platform||"javascript",super._prepareEvent(e,n,r)}_flushOutcomes(){const e=this._clearOutcomes();if(e.length===0){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&g.log("No outcomes to send");return}if(!this._dsn){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&g.log("No dsn provided, will not send outcomes");return}(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&g.log("Sending outcomes:",e);const n=Ki(this._dsn,this._options),r=Wo(e,this._options.tunnel&&cr(this._dsn));try{Object.prototype.toString.call(M&&M.navigator)==="[object Navigator]"&&typeof M.navigator.sendBeacon=="function"&&!this._options.transportOptions?M.navigator.sendBeacon.bind(M.navigator)(n,Vi(r)):this._sendEnvelope(r)}catch(i){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&g.error(i)}}}let ft;function qc(){if(ft)return ft;if(Bn(M.fetch))return ft=M.fetch.bind(M);const t=M.document;let e=M.fetch;if(t&&typeof t.createElement=="function")try{const n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n);const r=n.contentWindow;r&&r.fetch&&(e=r.fetch),t.head.removeChild(n)}catch(n){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&g.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",n)}return ft=e.bind(M)}function Hc(){ft=void 0}function Vc(t,e=qc()){function n(r){const i={body:r.body,method:"POST",referrerPolicy:"origin",headers:t.headers,keepalive:r.body.length<=65536,...t.fetchOptions};try{return e(t.url,i).then(s=>({statusCode:s.status,headers:{"x-sentry-rate-limits":s.headers.get("X-Sentry-Rate-Limits"),"retry-after":s.headers.get("Retry-After")}}))}catch(s){return Hc(),Qt(s)}}return es(t,n)}const jc=4;function Wc(t){function e(n){return new er((r,i)=>{const s=new XMLHttpRequest;s.onerror=i,s.onreadystatechange=()=>{s.readyState===jc&&r({statusCode:s.status,headers:{"x-sentry-rate-limits":s.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":s.getResponseHeader("Retry-After")}})},s.open("POST",t.url);for(const a in t.headers)Object.prototype.hasOwnProperty.call(t.headers,a)&&s.setRequestHeader(a,t.headers[a]);s.send(n.body)})}return es(t,e)}const fn="?",Qc=30,Kc=40,Xc=50;function dr(t,e,n,r){const i={filename:t,function:e,in_app:!0};return n!==void 0&&(i.lineno=n),r!==void 0&&(i.colno=r),i}const Zc=/^\s*at (?:(.*\).*?|.*?) ?\((?:address at )?)?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,Jc=/\((\S*)(?::(\d+))(?::(\d+))\)/,eu=t=>{const e=Zc.exec(t);if(e){if(e[2]&&e[2].indexOf("eval")===0){const s=Jc.exec(e[2]);s&&(e[2]=s[1],e[3]=s[2],e[4]=s[3])}const[r,i]=is(e[1]||fn,e[2]);return dr(i,r,e[3]?+e[3]:void 0,e[4]?+e[4]:void 0)}},tu=[Qc,eu],nu=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension|safari-extension|safari-web-extension|capacitor)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,ru=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,iu=t=>{const e=nu.exec(t);if(e){if(e[3]&&e[3].indexOf(" > eval")>-1){const s=ru.exec(e[3]);s&&(e[1]=e[1]||"eval",e[3]=s[1],e[4]=s[2],e[5]="")}let r=e[3],i=e[1]||fn;return[i,r]=is(i,r),dr(r,i,e[4]?+e[4]:void 0,e[5]?+e[5]:void 0)}},su=[Xc,iu],au=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,ou=t=>{const e=au.exec(t);return e?dr(e[2],e[1]||fn,+e[3],e[4]?+e[4]:void 0):void 0},cu=[Kc,ou],uu=[tu,su,cu],lu=Yi(...uu),is=(t,e)=>{const n=t.indexOf("safari-extension")!==-1,r=t.indexOf("safari-web-extension")!==-1;return n||r?[t.indexOf("@")!==-1?t.split("@")[0]:fn,n?`safari-extension:${e}`:`safari-web-extension:${e}`]:[t,e]};class Ne{static __initStatic(){this.id="GlobalHandlers"}__init(){this.name=Ne.id}__init2(){this._installFunc={onerror:du,onunhandledrejection:fu}}constructor(e){Ne.prototype.__init.call(this),Ne.prototype.__init2.call(this),this._options={onerror:!0,onunhandledrejection:!0,...e}}setupOnce(){Error.stackTraceLimit=50;const e=this._options;for(const n in e){const r=this._installFunc[n];r&&e[n]&&(mu(n),r(),this._installFunc[n]=void 0)}}}Ne.__initStatic();function du(){ae("error",t=>{const[e,n,r]=os();if(!e.getIntegration(Ne))return;const{msg:i,url:s,line:a,column:o,error:c}=t;if(ts()||c&&c.__sentry_own_request__)return;const l=c===void 0&&gt(i)?pu(i,s,a,o):ss(lr(n,c||i,void 0,r,!1),s,a,o);l.level="error",as(e,c,l,"onerror")})}function fu(){ae("unhandledrejection",t=>{const[e,n,r]=os();if(!e.getIntegration(Ne))return;let i=t;try{"reason"in t?i=t.reason:"detail"in t&&"reason"in t.detail&&(i=t.detail.reason)}catch{}if(ts()||i&&i.__sentry_own_request__)return!0;const s=Ti(i)?hu(i):lr(n,i,void 0,r,!0);s.level="error",as(e,i,s,"onunhandledrejection")})}function hu(t){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(t)}`}]}}}function pu(t,e,n,r){const i=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;let s=Ri(t)?t.message:t,a="Error";const o=s.match(i);return o&&(a=o[1],s=o[2]),ss({exception:{values:[{type:a,value:s}]}},e,n,r)}function ss(t,e,n,r){const i=t.exception=t.exception||{},s=i.values=i.values||[],a=s[0]=s[0]||{},o=a.stacktrace=a.stacktrace||{},c=o.frames=o.frames||[],l=isNaN(parseInt(r,10))?void 0:r,m=isNaN(parseInt(n,10))?void 0:n,_=gt(e)&&e.length>0?e:Js();return c.length===0&&c.push({colno:l,filename:_,function:"?",in_app:!0,lineno:m}),t}function mu(t){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&g.log(`Global Handler attached: ${t}`)}function as(t,e,n,r){vt(n,{handled:!1,type:r}),t.captureEvent(n,{originalException:e})}function os(){const t=V(),e=t.getClient(),n=e&&e.getOptions()||{stackParser:()=>[],attachStacktrace:!1};return[t,n.stackParser,n.attachStacktrace]}const _u=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"];class Tt{static __initStatic(){this.id="TryCatch"}__init(){this.name=Tt.id}constructor(e){Tt.prototype.__init.call(this),this._options={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...e}}setupOnce(){this._options.setTimeout&&Z(M,"setTimeout",ei),this._options.setInterval&&Z(M,"setInterval",ei),this._options.requestAnimationFrame&&Z(M,"requestAnimationFrame",gu),this._options.XMLHttpRequest&&"XMLHttpRequest"in M&&Z(XMLHttpRequest.prototype,"send",vu);const e=this._options.eventTarget;e&&(Array.isArray(e)?e:_u).forEach(yu)}}Tt.__initStatic();function ei(t){return function(...e){const n=e[0];return e[0]=rt(n,{mechanism:{data:{function:Me(t)},handled:!0,type:"instrument"}}),t.apply(this,e)}}function gu(t){return function(e){return t.apply(this,[rt(e,{mechanism:{data:{function:"requestAnimationFrame",handler:Me(t)},handled:!0,type:"instrument"}})])}}function vu(t){return function(...e){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(i=>{i in n&&typeof n[i]=="function"&&Z(n,i,function(s){const a={mechanism:{data:{function:i,handler:Me(s)},handled:!0,type:"instrument"}},o=nr(s);return o&&(a.mechanism.data.handler=Me(o)),rt(s,a)})}),t.apply(this,e)}}function yu(t){const e=M,n=e[t]&&e[t].prototype;!n||!n.hasOwnProperty||!n.hasOwnProperty("addEventListener")||(Z(n,"addEventListener",function(r){return function(i,s,a){try{typeof s.handleEvent=="function"&&(s.handleEvent=rt(s.handleEvent,{mechanism:{data:{function:"handleEvent",handler:Me(s),target:t},handled:!0,type:"instrument"}}))}catch{}return r.apply(this,[i,rt(s,{mechanism:{data:{function:"addEventListener",handler:Me(s),target:t},handled:!0,type:"instrument"}}),a])}}),Z(n,"removeEventListener",function(r){return function(i,s,a){const o=s;try{const c=o&&o.__sentry_wrapped__;c&&r.call(this,i,c,a)}catch{}return r.call(this,i,o,a)}}))}const bu="cause",wu=5;class Ke{static __initStatic(){this.id="LinkedErrors"}__init(){this.name=Ke.id}constructor(e={}){Ke.prototype.__init.call(this),this._key=e.key||bu,this._limit=e.limit||wu}setupOnce(){const e=V().getClient();e&&tr((n,r)=>{const i=V().getIntegration(Ke);return i?Su(e.getOptions().stackParser,i._key,i._limit,n,r):n})}}Ke.__initStatic();function Su(t,e,n,r,i){if(!r.exception||!r.exception.values||!i||!tt(i.originalException,Error))return r;const s=cs(t,n,i.originalException,e);return r.exception.values=[...s,...r.exception.values],r}function cs(t,e,n,r,i=[]){if(!tt(n[r],Error)||i.length+1>=e)return i;const s=ns(t,n[r]);return cs(t,e,n[r],r,[s,...i])}class Xe{constructor(){Xe.prototype.__init.call(this)}static __initStatic(){this.id="HttpContext"}__init(){this.name=Xe.id}setupOnce(){tr(e=>{if(V().getIntegration(Xe)){if(!M.navigator&&!M.location&&!M.document)return e;const n=e.request&&e.request.url||M.location&&M.location.href,{referrer:r}=M.document||{},{userAgent:i}=M.navigator||{},s={...e.request&&e.request.headers,...r&&{Referer:r},...i&&{"User-Agent":i}},a={...e.request,...n&&{url:n},headers:s};return{...e,request:a}}return e})}}Xe.__initStatic();class Ze{constructor(){Ze.prototype.__init.call(this)}static __initStatic(){this.id="Dedupe"}__init(){this.name=Ze.id}setupOnce(e,n){const r=i=>{const s=n().getIntegration(Ze);if(s){try{if(Eu(i,s._previousEvent))return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&g.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{return s._previousEvent=i}return s._previousEvent=i}return i};r.id=this.name,e(r)}}Ze.__initStatic();function Eu(t,e){return e?!!(Tu(t,e)||Cu(t,e)):!1}function Tu(t,e){const n=t.message,r=e.message;return!(!n&&!r||n&&!r||!n&&r||n!==r||!ls(t,e)||!us(t,e))}function Cu(t,e){const n=ti(e),r=ti(t);return!(!n||!r||n.type!==r.type||n.value!==r.value||!ls(t,e)||!us(t,e))}function us(t,e){let n=ni(t),r=ni(e);if(!n&&!r)return!0;if(n&&!r||!n&&r||(n=n,r=r,r.length!==n.length))return!1;for(let i=0;i<r.length;i++){const s=r[i],a=n[i];if(s.filename!==a.filename||s.lineno!==a.lineno||s.colno!==a.colno||s.function!==a.function)return!1}return!0}function ls(t,e){let n=t.fingerprint,r=e.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;n=n,r=r;try{return n.join("")===r.join("")}catch{return!1}}function ti(t){return t.exception&&t.exception.values&&t.exception.values[0]}function ni(t){const e=t.exception;if(e)try{return e.values[0].stacktrace.frames}catch{return}}const ku=[new Qe,new St,new Tt,new Et,new Ne,new Ke,new Ze,new Xe];function Ru(t={}){t.defaultIntegrations===void 0&&(t.defaultIntegrations=ku),t.release===void 0&&(typeof __SENTRY_RELEASE__=="string"&&(t.release=__SENTRY_RELEASE__),M.SENTRY_RELEASE&&M.SENTRY_RELEASE.id&&(t.release=M.SENTRY_RELEASE.id)),t.autoSessionTracking===void 0&&(t.autoSessionTracking=!0),t.sendClientReports===void 0&&(t.sendClientReports=!0);const e={...t,stackParser:go(t.stackParser||lu),integrations:fc(t),transport:t.transport||(qi()?Vc:Wc)};bc(Yc,e),t.autoSessionTracking&&xu()}function ri(t){t.startSession({ignoreDuration:!0}),t.captureSession()}function xu(){if(typeof M.document>"u"){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&g.warn("Session tracking in non-browser environment with @sentry/browser is not supported.");return}const t=V();t.captureSession&&(ri(t),ae("history",({from:e,to:n})=>{e===void 0||e===n||ri(V())}))}const fr=console;class ds{destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),ea(this.cacheTime)&&(this.gcTimeout=setTimeout(()=>{this.optionalRemove()},this.cacheTime))}updateCacheTime(e){this.cacheTime=Math.max(this.cacheTime||0,e??(ta?1/0:5*60*1e3))}clearGcTimeout(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)}}class Ou extends ds{constructor(e){super(),this.abortSignalConsumed=!1,this.defaultOptions=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.cache=e.cache,this.logger=e.logger||fr,this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.initialState=e.state||Du(this.options),this.state=this.initialState,this.scheduleGc()}get meta(){return this.options.meta}setOptions(e){this.options={...this.defaultOptions,...e},this.updateCacheTime(this.options.cacheTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.cache.remove(this)}setData(e,n){const r=na(this.state.data,e,this.options);return this.dispatch({data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(e,n){this.dispatch({type:"setState",state:e,setStateOptions:n})}cancel(e){var n;const r=this.promise;return(n=this.retryer)==null||n.cancel(e),r?r.then(_e).catch(_e):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.initialState)}isActive(){return this.observers.some(e=>e.options.enabled!==!1)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some(e=>e.getCurrentResult().isStale)}isStaleByTime(e=0){return this.state.isInvalidated||!this.state.dataUpdatedAt||!ra(this.state.dataUpdatedAt,e)}onFocus(){var e;const n=this.observers.find(r=>r.shouldFetchOnWindowFocus());n&&n.refetch({cancelRefetch:!1}),(e=this.retryer)==null||e.continue()}onOnline(){var e;const n=this.observers.find(r=>r.shouldFetchOnReconnect());n&&n.refetch({cancelRefetch:!1}),(e=this.retryer)==null||e.continue()}addObserver(e){this.observers.indexOf(e)===-1&&(this.observers.push(e),this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.indexOf(e)!==-1&&(this.observers=this.observers.filter(n=>n!==e),this.observers.length||(this.retryer&&(this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.scheduleGc()),this.cache.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.dispatch({type:"invalidate"})}fetch(e,n){var r,i;if(this.state.fetchStatus!=="idle"){if(this.state.dataUpdatedAt&&n!=null&&n.cancelRefetch)this.cancel({silent:!0});else if(this.promise){var s;return(s=this.retryer)==null||s.continueRetry(),this.promise}}if(e&&this.setOptions(e),!this.options.queryFn){const h=this.observers.find(u=>u.options.queryFn);h&&this.setOptions(h.options)}Array.isArray(this.options.queryKey);const a=ia(),o={queryKey:this.queryKey,pageParam:void 0,meta:this.meta},c=h=>{Object.defineProperty(h,"signal",{enumerable:!0,get:()=>{if(a)return this.abortSignalConsumed=!0,a.signal}})};c(o);const l=()=>this.options.queryFn?(this.abortSignalConsumed=!1,this.options.queryFn(o)):Promise.reject("Missing queryFn"),m={fetchOptions:n,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:l};if(c(m),(r=this.options.behavior)==null||r.onFetch(m),this.revertState=this.state,this.state.fetchStatus==="idle"||this.state.fetchMeta!==((i=m.fetchOptions)==null?void 0:i.meta)){var _;this.dispatch({type:"fetch",meta:(_=m.fetchOptions)==null?void 0:_.meta})}const f=h=>{if(En(h)&&h.silent||this.dispatch({type:"error",error:h}),!En(h)){var u,d;(u=(d=this.cache.config).onError)==null||u.call(d,h,this)}this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return this.retryer=Oi({fn:m.fetchFn,abort:a==null?void 0:a.abort.bind(a),onSuccess:h=>{var u,d;if(typeof h>"u"){f(new Error("undefined"));return}this.setData(h),(u=(d=this.cache.config).onSuccess)==null||u.call(d,h,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:f,onFail:(h,u)=>{this.dispatch({type:"failed",failureCount:h,error:u})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:m.options.retry,retryDelay:m.options.retryDelay,networkMode:m.options.networkMode}),this.promise=this.retryer.promise,this.promise}dispatch(e){const n=r=>{var i,s;switch(e.type){case"failed":return{...r,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:(i=e.meta)!=null?i:null,fetchStatus:Di(this.options.networkMode)?"fetching":"paused",...!r.dataUpdatedAt&&{error:null,status:"loading"}};case"success":return{...r,data:e.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:(s=e.dataUpdatedAt)!=null?s:Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const a=e.error;return En(a)&&a.revert&&this.revertState?{...this.revertState}:{...r,error:a,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:a,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...e.state}}};this.state=n(this.state),J.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate(e)}),this.cache.notify({query:this,type:"updated",action:e})})}}function Du(t){const e=typeof t.initialData=="function"?t.initialData():t.initialData,n=typeof e<"u",r=n?typeof t.initialDataUpdatedAt=="function"?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:e,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"loading",fetchStatus:"idle"}}let fs=class extends Ni{constructor(e){super(),this.config=e||{},this.queries=[],this.queriesMap={}}build(e,n,r){var i;const s=n.queryKey,a=(i=n.queryHash)!=null?i:Ii(s,n);let o=this.get(a);return o||(o=new Ou({cache:this,logger:e.getLogger(),queryKey:s,queryHash:a,options:e.defaultQueryOptions(n),state:r,defaultOptions:e.getQueryDefaults(s)}),this.add(o)),o}add(e){this.queriesMap[e.queryHash]||(this.queriesMap[e.queryHash]=e,this.queries.push(e),this.notify({type:"added",query:e}))}remove(e){const n=this.queriesMap[e.queryHash];n&&(e.destroy(),this.queries=this.queries.filter(r=>r!==e),n===e&&delete this.queriesMap[e.queryHash],this.notify({type:"removed",query:e}))}clear(){J.batch(()=>{this.queries.forEach(e=>{this.remove(e)})})}get(e){return this.queriesMap[e]}getAll(){return this.queries}find(e,n){const[r]=Re(e,n);return typeof r.exact>"u"&&(r.exact=!0),this.queries.find(i=>Mr(r,i))}findAll(e,n){const[r]=Re(e,n);return Object.keys(r).length>0?this.queries.filter(i=>Mr(r,i)):this.queries}notify(e){J.batch(()=>{this.listeners.forEach(n=>{n(e)})})}onFocus(){J.batch(()=>{this.queries.forEach(e=>{e.onFocus()})})}onOnline(){J.batch(()=>{this.queries.forEach(e=>{e.onOnline()})})}};class Nu extends ds{constructor(e){super(),this.options={...e.defaultOptions,...e.options},this.mutationId=e.mutationId,this.mutationCache=e.mutationCache,this.logger=e.logger||fr,this.observers=[],this.state=e.state||Iu(),this.updateCacheTime(this.options.cacheTime),this.scheduleGc()}get meta(){return this.options.meta}setState(e){this.dispatch({type:"setState",state:e})}addObserver(e){this.observers.indexOf(e)===-1&&(this.observers.push(e),this.clearGcTimeout(),this.mutationCache.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.observers=this.observers.filter(n=>n!==e),this.scheduleGc(),this.mutationCache.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.observers.length||(this.state.status==="loading"?this.scheduleGc():this.mutationCache.remove(this))}continue(){var e,n;return(e=(n=this.retryer)==null?void 0:n.continue())!=null?e:this.execute()}async execute(){const e=()=>{var y;return this.retryer=Oi({fn:()=>this.options.mutationFn?this.options.mutationFn(this.state.variables):Promise.reject("No mutationFn found"),onFail:(v,O)=>{this.dispatch({type:"failed",failureCount:v,error:O})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:(y=this.options.retry)!=null?y:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode}),this.retryer.promise},n=this.state.status==="loading";try{var r,i,s,a,o,c;if(!n){var l,m,_,f;this.dispatch({type:"loading",variables:this.options.variables}),await((l=(m=this.mutationCache.config).onMutate)==null?void 0:l.call(m,this.state.variables,this));const v=await((_=(f=this.options).onMutate)==null?void 0:_.call(f,this.state.variables));v!==this.state.context&&this.dispatch({type:"loading",context:v,variables:this.state.variables})}const y=await e();return await((r=(i=this.mutationCache.config).onSuccess)==null?void 0:r.call(i,y,this.state.variables,this.state.context,this)),await((s=(a=this.options).onSuccess)==null?void 0:s.call(a,y,this.state.variables,this.state.context)),await((o=(c=this.options).onSettled)==null?void 0:o.call(c,y,null,this.state.variables,this.state.context)),this.dispatch({type:"success",data:y}),y}catch(y){try{var h,u,d,p,S,$;throw await((h=(u=this.mutationCache.config).onError)==null?void 0:h.call(u,y,this.state.variables,this.state.context,this)),await((d=(p=this.options).onError)==null?void 0:d.call(p,y,this.state.variables,this.state.context)),await((S=($=this.options).onSettled)==null?void 0:S.call($,void 0,y,this.state.variables,this.state.context)),y}finally{this.dispatch({type:"error",error:y})}}}dispatch(e){const n=r=>{switch(e.type){case"failed":return{...r,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"loading":return{...r,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:!Di(this.options.networkMode),status:"loading",variables:e.variables};case"success":return{...r,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:e.error,failureCount:r.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"};case"setState":return{...r,...e.state}}};this.state=n(this.state),J.batch(()=>{this.observers.forEach(r=>{r.onMutationUpdate(e)}),this.mutationCache.notify({mutation:this,type:"updated",action:e})})}}function Iu(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0}}let hs=class extends Ni{constructor(e){super(),this.config=e||{},this.mutations=[],this.mutationId=0}build(e,n,r){const i=new Nu({mutationCache:this,logger:e.getLogger(),mutationId:++this.mutationId,options:e.defaultMutationOptions(n),state:r,defaultOptions:n.mutationKey?e.getMutationDefaults(n.mutationKey):void 0});return this.add(i),i}add(e){this.mutations.push(e),this.notify({type:"added",mutation:e})}remove(e){this.mutations=this.mutations.filter(n=>n!==e),this.notify({type:"removed",mutation:e})}clear(){J.batch(()=>{this.mutations.forEach(e=>{this.remove(e)})})}getAll(){return this.mutations}find(e){return typeof e.exact>"u"&&(e.exact=!0),this.mutations.find(n=>Ar(e,n))}findAll(e){return this.mutations.filter(n=>Ar(e,n))}notify(e){J.batch(()=>{this.listeners.forEach(n=>{n(e)})})}resumePausedMutations(){var e;return this.resuming=((e=this.resuming)!=null?e:Promise.resolve()).then(()=>{const n=this.mutations.filter(r=>r.state.isPaused);return J.batch(()=>n.reduce((r,i)=>r.then(()=>i.continue().catch(_e)),Promise.resolve()))}).then(()=>{this.resuming=void 0}),this.resuming}},Mu=class{constructor(e={}){this.queryCache=e.queryCache||new fs,this.mutationCache=e.mutationCache||new hs,this.logger=e.logger||fr,this.defaultOptions=e.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[],this.mountCount=0}mount(){this.mountCount++,this.mountCount===1&&(this.unsubscribeFocus=$r.subscribe(()=>{$r.isFocused()&&(this.resumePausedMutations(),this.queryCache.onFocus())}),this.unsubscribeOnline=Ur.subscribe(()=>{Ur.isOnline()&&(this.resumePausedMutations(),this.queryCache.onOnline())}))}unmount(){var e,n;this.mountCount--,this.mountCount===0&&((e=this.unsubscribeFocus)==null||e.call(this),this.unsubscribeFocus=void 0,(n=this.unsubscribeOnline)==null||n.call(this),this.unsubscribeOnline=void 0)}isFetching(e,n){const[r]=Re(e,n);return r.fetchStatus="fetching",this.queryCache.findAll(r).length}isMutating(e){return this.mutationCache.findAll({...e,fetching:!0}).length}getQueryData(e,n){var r;return(r=this.queryCache.find(e,n))==null?void 0:r.state.data}ensureQueryData(e,n,r){const i=$t(e,n,r),s=this.getQueryData(i.queryKey);return s?Promise.resolve(s):this.fetchQuery(i)}getQueriesData(e){return this.getQueryCache().findAll(e).map(({queryKey:n,state:r})=>{const i=r.data;return[n,i]})}setQueryData(e,n,r){const i=this.queryCache.find(e),s=i==null?void 0:i.state.data,a=sa(n,s);if(typeof a>"u")return;const o=$t(e),c=this.defaultQueryOptions(o);return this.queryCache.build(this,c).setData(a,{...r,manual:!0})}setQueriesData(e,n,r){return J.batch(()=>this.getQueryCache().findAll(e).map(({queryKey:i})=>[i,this.setQueryData(i,n,r)]))}getQueryState(e,n){var r;return(r=this.queryCache.find(e,n))==null?void 0:r.state}removeQueries(e,n){const[r]=Re(e,n),i=this.queryCache;J.batch(()=>{i.findAll(r).forEach(s=>{i.remove(s)})})}resetQueries(e,n,r){const[i,s]=Re(e,n,r),a=this.queryCache,o={type:"active",...i};return J.batch(()=>(a.findAll(i).forEach(c=>{c.reset()}),this.refetchQueries(o,s)))}cancelQueries(e,n,r){const[i,s={}]=Re(e,n,r);typeof s.revert>"u"&&(s.revert=!0);const a=J.batch(()=>this.queryCache.findAll(i).map(o=>o.cancel(s)));return Promise.all(a).then(_e).catch(_e)}invalidateQueries(e,n,r){const[i,s]=Re(e,n,r);return J.batch(()=>{var a,o;if(this.queryCache.findAll(i).forEach(l=>{l.invalidate()}),i.refetchType==="none")return Promise.resolve();const c={...i,type:(a=(o=i.refetchType)!=null?o:i.type)!=null?a:"active"};return this.refetchQueries(c,s)})}refetchQueries(e,n,r){const[i,s]=Re(e,n,r),a=J.batch(()=>this.queryCache.findAll(i).filter(c=>!c.isDisabled()).map(c=>{var l;return c.fetch(void 0,{...s,cancelRefetch:(l=s==null?void 0:s.cancelRefetch)!=null?l:!0,meta:{refetchPage:i.refetchPage}})}));let o=Promise.all(a).then(_e);return s!=null&&s.throwOnError||(o=o.catch(_e)),o}fetchQuery(e,n,r){const i=$t(e,n,r),s=this.defaultQueryOptions(i);typeof s.retry>"u"&&(s.retry=!1);const a=this.queryCache.build(this,s);return a.isStaleByTime(s.staleTime)?a.fetch(s):Promise.resolve(a.state.data)}prefetchQuery(e,n,r){return this.fetchQuery(e,n,r).then(_e).catch(_e)}fetchInfiniteQuery(e,n,r){const i=$t(e,n,r);return i.behavior=Pa(),this.fetchQuery(i)}prefetchInfiniteQuery(e,n,r){return this.fetchInfiniteQuery(e,n,r).then(_e).catch(_e)}resumePausedMutations(){return this.mutationCache.resumePausedMutations()}getQueryCache(){return this.queryCache}getMutationCache(){return this.mutationCache}getLogger(){return this.logger}getDefaultOptions(){return this.defaultOptions}setDefaultOptions(e){this.defaultOptions=e}setQueryDefaults(e,n){const r=this.queryDefaults.find(i=>Ut(e)===Ut(i.queryKey));r?r.defaultOptions=n:this.queryDefaults.push({queryKey:e,defaultOptions:n})}getQueryDefaults(e){if(!e)return;const n=this.queryDefaults.find(r=>Br(e,r.queryKey));return n==null?void 0:n.defaultOptions}setMutationDefaults(e,n){const r=this.mutationDefaults.find(i=>Ut(e)===Ut(i.mutationKey));r?r.defaultOptions=n:this.mutationDefaults.push({mutationKey:e,defaultOptions:n})}getMutationDefaults(e){if(!e)return;const n=this.mutationDefaults.find(r=>Br(e,r.mutationKey));return n==null?void 0:n.defaultOptions}defaultQueryOptions(e){if(e!=null&&e._defaulted)return e;const n={...this.defaultOptions.queries,...this.getQueryDefaults(e==null?void 0:e.queryKey),...e,_defaulted:!0};return!n.queryHash&&n.queryKey&&(n.queryHash=Ii(n.queryKey,n)),typeof n.refetchOnReconnect>"u"&&(n.refetchOnReconnect=n.networkMode!=="always"),typeof n.useErrorBoundary>"u"&&(n.useErrorBoundary=!!n.suspense),n}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...this.defaultOptions.mutations,...this.getMutationDefaults(e==null?void 0:e.mutationKey),...e,_defaulted:!0}}clear(){this.queryCache.clear(),this.mutationCache.clear()}};class Au extends fs{find(e,n){const r=E(e),i=E(n);return super.find(r,i)}findAll(e,n){const r=E(e),i=E(n);return me(r)?super.findAll(r,i):super.findAll(r)}}class $u extends hs{find(e){return super.find(E(e))}findAll(e){return super.findAll(E(e))}}class ii extends Mu{constructor(e={}){const n=E(e),r={logger:E(n.logger),defaultOptions:E(n.defaultOptions),queryCache:n.queryCache||new Au,mutationCache:n.mutationCache||new $u};super(r),this.isRestoring=fe(!1)}isFetching(e,n){const r=E(e),i=E(n);return me(r)?super.isFetching(r,i):super.isFetching(r)}isMutating(e){return super.isMutating(E(e))}getQueryData(e,n){return super.getQueryData(E(e),E(n))}getQueriesData(e){const n=E(e);return me(n)?super.getQueriesData(n):super.getQueriesData(n)}setQueryData(e,n,r){return super.setQueryData(E(e),n,E(r))}setQueriesData(e,n,r){const i=E(e),s=E(r);return me(i)?super.setQueriesData(i,n,s):super.setQueriesData(i,n,s)}getQueryState(e,n){return super.getQueryState(E(e),E(n))}removeQueries(e,n){const r=E(e);return me(r)?super.removeQueries(r,E(n)):super.removeQueries(r)}resetQueries(e,n,r){const i=E(e),s=E(n);return me(i)?super.resetQueries(i,s,E(r)):super.resetQueries(i,s)}cancelQueries(e,n,r){const i=E(e),s=E(n);return me(i)?super.cancelQueries(i,s,E(r)):super.cancelQueries(i,s)}invalidateQueries(e,n,r){const i=E(e),s=E(n);return me(i)?super.invalidateQueries(i,s,E(r)):super.invalidateQueries(i,s)}refetchQueries(e,n,r){const i=E(e),s=E(n);return me(i)?super.refetchQueries(i,s,E(r)):super.refetchQueries(i,s)}fetchQuery(e,n,r){const i=E(e),s=E(n);return me(i)?super.fetchQuery(i,s,E(r)):super.fetchQuery(i)}prefetchQuery(e,n,r){return super.prefetchQuery(E(e),E(n),E(r))}fetchInfiniteQuery(e,n,r){const i=E(e),s=E(n);return me(i)?super.fetchInfiniteQuery(i,s,E(r)):super.fetchInfiniteQuery(i)}prefetchInfiniteQuery(e,n,r){return super.prefetchInfiniteQuery(E(e),E(n),E(r))}setDefaultOptions(e){super.setDefaultOptions(E(e))}setQueryDefaults(e,n){super.setQueryDefaults(E(e),E(n))}getQueryDefaults(e){return super.getQueryDefaults(E(e))}setMutationDefaults(e,n){super.setMutationDefaults(E(e),E(n))}getMutationDefaults(e){return super.getMutationDefaults(E(e))}}const Uu={install:(t,e={})=>{const n=aa(e.queryClientKey);let r;if("queryClient"in e&&e.queryClient)r=e.queryClient;else if(e.contextSharing&&typeof window<"u")if(window.__VUE_QUERY_CONTEXT__)r=window.__VUE_QUERY_CONTEXT__;else{const a="queryClientConfig"in e?e.queryClientConfig:void 0;r=new ii(a),window.__VUE_QUERY_CONTEXT__=r}else{const a="queryClientConfig"in e?e.queryClientConfig:void 0;r=new ii(a)}r.mount();let i=()=>{};if(e.clientPersister){r.isRestoring.value=!0;const[a,o]=e.clientPersister(r);i=a,o.then(()=>{r.isRestoring.value=!1})}const s=()=>{r.unmount(),i()};if(t.onUnmount)t.onUnmount(s);else{const a=t.unmount;t.unmount=function(){s(),a()}}t.provide(n,r)}};function Bu(){const t=window.navigator.userAgent,e=t.indexOf("MSIE ");if(e>0)return parseInt(t.substring(e+5,t.indexOf(".",e)),10);if(t.indexOf("Trident/")>0){const i=t.indexOf("rv:");return parseInt(t.substring(i+3,t.indexOf(".",i)),10)}const r=t.indexOf("Edge/");return r>0?parseInt(t.substring(r+5,t.indexOf(".",r)),10):-1}let qt;function Yn(){Yn.init||(Yn.init=!0,qt=Bu()!==-1)}var Je={name:"ResizeObserver",props:{showTrigger:{type:Boolean,default:!1}},emits:["notify"],setup(t,{emit:e}){let n=0,r=0;const i=fe(null);let s=null;const a=()=>{(n!==i.value.offsetWidth||r!==i.value.offsetHeight)&&(n=i.value.offsetWidth,r=i.value.offsetHeight,e("notify",{width:n,height:r}))},o=()=>{s.contentDocument.defaultView.addEventListener("resize",a),a()},c=()=>{s&&s.onload&&(!qt&&s.contentDocument&&s.contentDocument.defaultView.removeEventListener("resize",a),i.value.removeChild(s),s.onload=null,s=null)};return ir(()=>{Yn(),n=i.value.offsetWidth,r=i.value.offsetHeight;const l=document.createElement("object");s=l,l.setAttribute("aria-hidden","true"),l.setAttribute("tabindex","-1"),l.onload=o,l.type="text/html",qt&&i.value.appendChild(l),l.data="about:blank",qt||i.value.appendChild(l),t.showTrigger&&a()}),Ra(()=>{c()}),{elRef:i}}};const Pu={ref:"elRef",class:"vue3-resize-observer",tabindex:"-1"};function Fu(t,e,n,r,i,s){return R(),q("div",Pu,null,512)}Je.render=Fu;Je.__file="src/package/ResizeObserver/ResizeObserver.vue";Je.install=function(t){t.component(Je.name,Je)};var ps={itemsLimit:1e3};function Ht(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ht=function(e){return typeof e}:Ht=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ht(t)}function qn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function si(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function ms(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?si(Object(n),!0).forEach(function(r){qn(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):si(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function zu(t,e){if(t){if(typeof t=="string")return ai(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ai(t,e)}}function ai(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function Gu(t){if(typeof Symbol>"u"||t[Symbol.iterator]==null){if(Array.isArray(t)||(t=zu(t))){var e=0,n=function(){};return{s:n,n:function(){return e>=t.length?{done:!0}:{done:!1,value:t[e++]}},e:function(o){throw o},f:n}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var r,i=!0,s=!1,a;return{s:function(){r=t[Symbol.iterator]()},n:function(){var o=r.next();return i=o.done,o},e:function(o){s=!0,a=o},f:function(){try{!i&&r.return!=null&&r.return()}finally{if(s)throw a}}}}function Vt(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Vt=function(e){return typeof e}:Vt=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Vt(t)}function Lu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function oi(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Yu(t,e,n){return e&&oi(t.prototype,e),n&&oi(t,n),t}function ci(t){return qu(t)||Hu(t)||Vu()}function qu(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}function Hu(t){if(Symbol.iterator in Object(t)||Object.prototype.toString.call(t)==="[object Arguments]")return Array.from(t)}function Vu(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function ju(t){var e;return typeof t=="function"?e={callback:t}:e=t,e}function Wu(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r,i,s,a=function(c){for(var l=arguments.length,m=new Array(l>1?l-1:0),_=1;_<l;_++)m[_-1]=arguments[_];if(s=m,!(r&&c===i)){var f=n.leading;typeof f=="function"&&(f=f(c,i)),(!r||c!==i)&&f&&t.apply(void 0,[c].concat(ci(s))),i=c,clearTimeout(r),r=setTimeout(function(){t.apply(void 0,[c].concat(ci(s))),r=0},e)}};return a._clear=function(){clearTimeout(r),r=null},a}function _s(t,e){if(t===e)return!0;if(Vt(t)==="object"){for(var n in t)if(!_s(t[n],e[n]))return!1;return!0}return!1}var Qu=function(){function t(e,n,r){Lu(this,t),this.el=e,this.observer=null,this.frozen=!1,this.createObserver(n,r)}return Yu(t,[{key:"createObserver",value:function(n){var r=this;if(this.observer&&this.destroyObserver(),!this.frozen){if(this.options=ju(n),this.callback=function(a,o){r.options.callback(a,o),a&&r.options.once&&(r.frozen=!0,r.destroyObserver())},this.callback&&this.options.throttle){var i=this.options.throttleOptions||{},s=i.leading;this.callback=Wu(this.callback,this.options.throttle,{leading:function(o){return s==="both"||s==="visible"&&o||s==="hidden"&&!o}})}this.oldResult=void 0,this.observer=new IntersectionObserver(function(a){var o=a[0];if(a.length>1){var c=a.find(function(m){return m.isIntersecting});c&&(o=c)}if(r.callback){var l=o.isIntersecting&&o.intersectionRatio>=r.threshold;if(l===r.oldResult)return;r.oldResult=l,r.callback(l,o)}},this.options.intersection),setTimeout(function(){r.observer&&r.observer.observe(r.el)})}}},{key:"destroyObserver",value:function(){this.observer&&(this.observer.disconnect(),this.observer=null),this.callback&&this.callback._clear&&(this.callback._clear(),this.callback=null)}},{key:"threshold",get:function(){return this.options.intersection&&this.options.intersection.threshold||0}}]),t}();function gs(t,e,n){var r=e.value;if(r)if(typeof IntersectionObserver>"u")console.warn("[vue-observe-visibility] IntersectionObserver API is not available in your browser. Please install this polyfill: https://github.com/w3c/IntersectionObserver/tree/master/polyfill");else{var i=new Qu(t,r,n);t._vue_visibilityState=i}}function vs(t){var e=t._vue_visibilityState;e&&(e.destroyObserver(),delete t._vue_visibilityState)}function Ku(t,e,n){var r=e.value,i=e.oldValue;if(!_s(r,i)){var s=t._vue_visibilityState;if(!r){vs(t);return}s?s.createObserver(r,n):gs(t,{value:r},n)}}var Xu={mounted:gs,componentUpdated:Ku,unmounted:vs},ys={items:{type:Array,required:!0},keyField:{type:String,default:"id"},direction:{type:String,default:"vertical",validator:function(e){return["vertical","horizontal"].includes(e)}}},Zu=function(e){var n=/(auto|scroll)/;function r(c,l){return c.parentNode===null?l:r(c.parentNode,l.concat([c]))}function i(c,l){return getComputedStyle(c,null).getPropertyValue(l)}function s(c){return i(c,"overflow")+i(c,"overflow-y")+i(c,"overflow-x")}function a(c){return n.test(s(c))}function o(c){if(c instanceof HTMLElement||c instanceof SVGElement){for(var l=r(c.parentNode,[]),m=0;m<l.length;m+=1)if(a(l[m]))return l[m];return document.scrollingElement||document.documentElement}}return o(e)};function bs(){return this.items.length&&Ht(this.items[0])!=="object"}var Hn=!1;if(typeof window<"u"){Hn=!1;try{var Ju=Object.defineProperty({},"passive",{get:function(){Hn=!0}});window.addEventListener("test",null,Ju)}catch{}}var el=0,Ct=re({name:"RecycleScroller",components:{ResizeObserver:Je},directives:{ObserveVisibility:Xu},props:ms({},ys,{itemSize:{type:Number,default:null},minItemSize:{type:[Number,String],default:null},sizeField:{type:String,default:"size"},typeField:{type:String,default:"type"},buffer:{type:Number,default:200},pageMode:{type:Boolean,default:!1},prerender:{type:Number,default:0},emitUpdate:{type:Boolean,default:!1}}),emits:["visible","hidden","resize","update"],data:function(){return{pool:[],totalSize:0,ready:!1,hoverKey:null}},computed:{sizes:function(){if(this.itemSize===null){for(var e={"-1":{accumulator:0}},n=this.items,r=this.sizeField,i=this.minItemSize,s=1e4,a=0,o,c=0,l=n.length;c<l;c++)o=n[c][r]||i,o<s&&(s=o),a+=o,e[c]={accumulator:a,size:o};return this.$_computedMinItemSize=s,e}return[]},simpleArray:bs},watch:{items:function(){this.updateVisibleItems(!0)},pageMode:function(){this.applyPageMode(),this.updateVisibleItems(!1)},sizes:{handler:function(){this.updateVisibleItems(!1)},deep:!0}},created:function(){this.$_startIndex=0,this.$_endIndex=0,this.$_views=new Map,this.$_unusedViews=new Map,this.$_scrollDirty=!1,this.$_lastUpdateScrollPosition=0,this.prerender&&(this.$_prerender=!0,this.updateVisibleItems(!1))},mounted:function(){var e=this;this.applyPageMode(),this.$nextTick(function(){e.$_prerender=!1,e.updateVisibleItems(!0),e.ready=!0})},beforeUnmount:function(){this.removeListeners()},methods:{addView:function(e,n,r,i,s){var a={item:r,position:0};return a.nr={id:el++,index:n,used:!0,key:i,type:s},e.push(a),a},unuseView:function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=this.$_unusedViews,i=e.nr.type,s=r.get(i);s||(s=[],r.set(i,s)),s.push(e),n||(e.nr.used=!1,e.position=-9999,this.$_views.delete(e.nr.key))},handleResize:function(){this.$emit("resize"),this.ready&&this.updateVisibleItems(!1)},handleScroll:function(e){var n=this;this.$_scrollDirty||(this.$_scrollDirty=!0,requestAnimationFrame(function(){n.$_scrollDirty=!1;var r=n.updateVisibleItems(!1,!0),i=r.continuous;i||(clearTimeout(n.$_refreshTimout),n.$_refreshTimout=setTimeout(n.handleScroll,100))}))},handleVisibilityChange:function(e,n){var r=this;this.ready&&(e||n.boundingClientRect.width!==0||n.boundingClientRect.height!==0?(this.$emit("visible"),requestAnimationFrame(function(){r.updateVisibleItems(!1)})):this.$emit("hidden"))},updateVisibleItems:function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=this.itemSize,i=this.$_computedMinItemSize,s=this.typeField,a=this.simpleArray?null:this.keyField,o=this.items,c=o.length,l=this.sizes,m=this.$_views,_=this.$_unusedViews,f=this.pool,h,u,d;if(!c)h=u=d=0;else if(this.$_prerender)h=0,u=this.prerender,d=null;else{var p=this.getScroll();if(n){var S=p.start-this.$_lastUpdateScrollPosition;if(S<0&&(S=-S),r===null&&S<i||S<r)return{continuous:!0}}this.$_lastUpdateScrollPosition=p.start;var $=this.buffer;if(p.start-=$,p.end+=$,r===null){var y,v=0,O=c-1,k=~~(c/2),W;do W=k,y=l[k].accumulator,y<p.start?v=k:k<c-1&&l[k+1].accumulator>p.start&&(O=k),k=~~((v+O)/2);while(k!==W);for(k<0&&(k=0),h=k,d=l[c-1].accumulator,u=k;u<c&&l[u].accumulator<p.end;u++);u===-1?u=o.length-1:(u++,u>c&&(u=c))}else h=~~(p.start/r),u=Math.ceil(p.end/r),h<0&&(h=0),u>c&&(u=c),d=c*r}u-h>ps.itemsLimit&&this.itemsLimitError(),this.totalSize=d;var T,le=h<=this.$_endIndex&&u>=this.$_startIndex;if(this.$_continuous!==le){if(le){m.clear(),_.clear();for(var we=0,Dt=f.length;we<Dt;we++)T=f[we],this.unuseView(T)}this.$_continuous=le}else if(le)for(var Ye=0,Te=f.length;Ye<Te;Ye++)T=f[Ye],T.nr.used&&(e&&(T.nr.index=o.findIndex(function(at){return a?at[a]===T.item[a]:at===T.item})),(T.nr.index===-1||T.nr.index<h||T.nr.index>=u)&&this.unuseView(T));for(var Ae=le?null:new Map,he,ee,se,Ce,te=h;te<u;te++){he=o[te];var de=a?he[a]:he;if(de==null)throw new Error("Key is ".concat(de," on item (keyField is '").concat(a,"')"));if(T=m.get(de),!r&&!l[te].size){T&&this.unuseView(T);continue}T?(T.nr.used=!0,T.item=he):(ee=he[s],se=_.get(ee),le?se&&se.length?(T=se.pop(),T.item=he,T.nr.used=!0,T.nr.index=te,T.nr.key=de,T.nr.type=ee):T=this.addView(f,te,he,de,ee):(Ce=Ae.get(ee)||0,(!se||Ce>=se.length)&&(T=this.addView(f,te,he,de,ee),this.unuseView(T,!0),se=_.get(ee)),T=se[Ce],T.item=he,T.nr.used=!0,T.nr.index=te,T.nr.key=de,T.nr.type=ee,Ae.set(ee,Ce+1),Ce++),m.set(de,T)),r===null?T.position=l[te-1].accumulator:T.position=te*r}return this.$_startIndex=h,this.$_endIndex=u,this.emitUpdate&&this.$emit("update",h,u),clearTimeout(this.$_sortTimer),this.$_sortTimer=setTimeout(this.sortViews,300),{continuous:le}},getListenerTarget:function(){var e=Zu(this.$el);return window.document&&(e===window.document.documentElement||e===window.document.body)&&(e=window),e},getScroll:function(){var e=this.$el,n=this.direction,r=n==="vertical",i;if(this.pageMode){var s=e.getBoundingClientRect(),a=r?s.height:s.width,o=-(r?s.top:s.left),c=r?window.innerHeight:window.innerWidth;o<0&&(c+=o,o=0),o+c>a&&(c=a-o),i={start:o,end:o+c}}else r?i={start:e.scrollTop,end:e.scrollTop+e.clientHeight}:i={start:e.scrollLeft,end:e.scrollLeft+e.clientWidth};return i},applyPageMode:function(){this.pageMode?this.addListeners():this.removeListeners()},addListeners:function(){this.listenerTarget=this.getListenerTarget(),this.listenerTarget.addEventListener("scroll",this.handleScroll,Hn?{passive:!0}:!1),this.listenerTarget.addEventListener("resize",this.handleResize)},removeListeners:function(){this.listenerTarget&&(this.listenerTarget.removeEventListener("scroll",this.handleScroll),this.listenerTarget.removeEventListener("resize",this.handleResize),this.listenerTarget=null)},scrollToItem:function(e){var n;this.itemSize===null?n=e>0?this.sizes[e-1].accumulator:0:n=e*this.itemSize,this.scrollToPosition(n)},scrollToPosition:function(e){this.direction==="vertical"?this.$el.scrollTop=e:this.$el.scrollLeft=e},itemsLimitError:function(){var e=this;throw setTimeout(function(){console.log("It seems the scroller element isn't scrolling, so it tries to render all the items at once.","Scroller:",e.$el),console.log("Make sure the scroller has a fixed height (or width) and 'overflow-y' (or 'overflow-x') set to 'auto' so it can scroll correctly and only render the items visible in the scroll viewport.")}),new Error("Rendered items limit reached")},sortViews:function(){this.pool.sort(function(e,n){return e.nr.index-n.nr.index})}}}),tl={key:0,class:"vue-recycle-scroller__slot"},nl={key:1,class:"vue-recycle-scroller__slot"};function rl(t,e,n,r,i,s){var a=cn("ResizeObserver"),o=xa("observe-visibility");return Oa((R(),q("div",{class:["vue-recycle-scroller",qn({ready:t.ready,"page-mode":t.pageMode},"direction-".concat(t.direction),!0)],onScrollPassive:e[2]||(e[2]=function(){return t.handleScroll.apply(t,arguments)})},[t.$slots.before?(R(),q("div",tl,[We(t.$slots,"before")])):Xt("v-if",!0),N("div",{ref:"wrapper",style:qn({},t.direction==="vertical"?"minHeight":"minWidth",t.totalSize+"px"),class:"vue-recycle-scroller__item-wrapper"},[(R(!0),q(Le,null,nt(t.pool,function(c){return R(),q("div",{key:c.nr.id,style:t.ready?{transform:"translate".concat(t.direction==="vertical"?"Y":"X","(").concat(c.position,"px)")}:null,class:["vue-recycle-scroller__item-view",{hover:t.hoverKey===c.nr.key}],onMouseenter:function(m){return t.hoverKey=c.nr.key},onMouseleave:e[1]||(e[1]=function(l){return t.hoverKey=null})},[We(t.$slots,"default",{item:c.item,index:c.nr.index,active:c.nr.used})],46,["onMouseenter"])}),128))],4),t.$slots.after?(R(),q("div",nl,[We(t.$slots,"after")])):Xt("v-if",!0),N(a,{onNotify:t.handleResize},null,8,["onNotify"])],34)),[[o,t.handleVisibilityChange]])}Ct.render=rl;Ct.__file="src/components/RecycleScroller.vue";var Jt={name:"DynamicScroller",components:{RecycleScroller:Ct},provide:function(){var e=this,n=void 0;return typeof ResizeObserver<"u"&&(n=new ResizeObserver(function(r){var i=Gu(r),s;try{for(i.s();!(s=i.n()).done;){var a=s.value;if(a.target){var o=new CustomEvent("resize",{detail:{contentRect:a.contentRect}});a.target.dispatchEvent(o)}}}catch(c){i.e(c)}finally{i.f()}})),{vscrollData:this.vscrollData,vscrollParent:this,vscrollResizeObserver:n,onUpdateScroll:function(i){return e.vScrollMap.push(i)}}},inheritAttrs:!1,props:ms({},ys,{minItemSize:{type:[Number,String],required:!0}}),emits:["vscroll:update","resize","visible"],data:function(){return{vscrollData:{active:!0,sizes:{},validSizes:{},keyField:this.keyField,simpleArray:!1},vScrollMap:[]}},computed:{simpleArray:bs,itemsWithSize:function(){for(var e=[],n=this.items,r=this.keyField,i=this.simpleArray,s=this.vscrollData.sizes,a=0;a<n.length;a++){var o=n[a],c=i?a:o[r],l=s[c];typeof l>"u"&&!this.$_undefinedMap[c]&&(l=0),e.push({item:o,id:c,size:l})}return e},listeners:function(){var e={};for(var n in this.$attrs)n.startsWith("on")&&n!=="onResize"&&n!=="onVisible"&&(e[n]=this.$attrs);return e}},watch:{items:function(){this.forceUpdate(!1)},simpleArray:{handler:function(e){this.vscrollData.simpleArray=e},immediate:!0},direction:function(e){this.forceUpdate(!0)}},created:function(){this.$_updates=[],this.$_undefinedSizes=0,this.$_undefinedMap={}},activated:function(){this.vscrollData.active=!0},deactivated:function(){this.vscrollData.active=!1},methods:{onScrollerResize:function(){var e=this.$refs.scroller;e&&this.forceUpdate(),this.$emit("resize")},onScrollerVisible:function(){this.vScrollUpdate(!1),this.$emit("visible")},vScrollUpdate:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,n={force:e};this.$emit("vscroll:update",n),this.vScrollMap.forEach(function(r){return r(n)})},forceUpdate:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;(e||this.simpleArray)&&(this.vscrollData.validSizes={}),this.vScrollUpdate(!0)},scrollToItem:function(e){var n=this.$refs.scroller;n&&n.scrollToItem(e)},getItemSize:function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0,r=this.simpleArray?n??this.items.indexOf(e):e[this.keyField];return this.vscrollData.sizes[r]||0},scrollToBottom:function(){var e=this;if(!this.$_scrollingToBottom){this.$_scrollingToBottom=!0;var n=this.$el;this.$nextTick(function(){n.scrollTop=n.scrollHeight+5e3;var r=function i(){n.scrollTop=n.scrollHeight+5e3,requestAnimationFrame(function(){n.scrollTop=n.scrollHeight+5e3,e.$_undefinedSizes===0?e.$_scrollingToBottom=!1:requestAnimationFrame(i)})};requestAnimationFrame(r)})}}}};function il(t,e,n,r,i,s){var a=cn("RecycleScroller");return R(),q(a,Na({ref:"scroller",items:s.itemsWithSize,"min-item-size":n.minItemSize,direction:t.direction,"key-field":"id"},t.$attrs,{onResize:s.onScrollerResize,onVisible:s.onScrollerVisible},Ia(s.listeners)),{default:F(function(o){var c=o.item,l=o.index,m=o.active;return[We(t.$slots,"default",{item:c.item,index:l,active:m,itemWithSize:c})]}),before:F(function(){return[We(t.$slots,"before")]}),after:F(function(){return[We(t.$slots,"after")]}),_:1},16,["items","min-item-size","direction","onResize","onVisible"])}Jt.render=il;Jt.__file="src/components/DynamicScroller.vue";var ui={name:"DynamicScrollerItem",inject:["vscrollData","vscrollParent","onUpdateScroll","vscrollResizeObserver"],props:{item:{required:!0},watchData:{type:Boolean,default:!1},active:{type:Boolean,required:!0},index:{type:Number,default:void 0},sizeDependencies:{type:[Array,Object],default:null},emitResize:{type:Boolean,default:!1},tag:{type:String,default:"div"}},computed:{id:function(){return this.vscrollData.simpleArray?this.index:this.item[this.vscrollData.keyField]},size:function(){return this.vscrollData.validSizes[this.id]&&this.vscrollData.sizes[this.id]||0},finalActive:function(){return this.active&&this.vscrollData.active}},watch:{watchData:"updateWatchData",id:function(){this.size||this.onDataUpdate()},finalActive:function(e){this.size||(e?this.vscrollParent.$_undefinedMap[this.id]||(this.vscrollParent.$_undefinedSizes++,this.vscrollParent.$_undefinedMap[this.id]=!0):this.vscrollParent.$_undefinedMap[this.id]&&(this.vscrollParent.$_undefinedSizes--,this.vscrollParent.$_undefinedMap[this.id]=!1)),this.vscrollResizeObserver?e?this.observeSize():this.unobserveSize():e&&this.$_pendingVScrollUpdate===this.id&&this.updateSize()}},created:function(){var e=this;if(!this.$isServer&&(this.$_forceNextVScrollUpdate=null,this.updateWatchData(),!this.vscrollResizeObserver)){var n=function(s){e.$watch(function(){return e.sizeDependencies[s]},e.onDataUpdate)};for(var r in this.sizeDependencies)n(r);this.onUpdateScroll("vscroll:update",this.onVscrollUpdate)}},mounted:function(){this.vscrollData.active&&(this.updateSize(),this.observeSize())},beforeUnmount:function(){this.unobserveSize()},methods:{updateSize:function(){this.finalActive?this.$_pendingSizeUpdate!==this.id&&(this.$_pendingSizeUpdate=this.id,this.$_forceNextVScrollUpdate=null,this.$_pendingVScrollUpdate=null,this.computeSize(this.id)):this.$_forceNextVScrollUpdate=this.id},updateWatchData:function(){var e=this;this.watchData?this.$_watchData=this.$watch("data",function(){e.onDataUpdate()},{deep:!0}):this.$_watchData&&(this.$_watchData(),this.$_watchData=null)},onVscrollUpdate:function(e){var n=e.force;!this.finalActive&&n&&(this.$_pendingVScrollUpdate=this.id),(this.$_forceNextVScrollUpdate===this.id||n||!this.size)&&this.updateSize()},onDataUpdate:function(){this.updateSize()},computeSize:function(e){var n=this;Da(function(){if(n.id===e){var r=n.$el.offsetWidth,i=n.$el.offsetHeight;n.applySize(r,i)}n.$_pendingSizeUpdate=null}).then()},applySize:function(e,n){var r=Math.round(this.vscrollParent.direction==="vertical"?n:e);r&&this.size!==r&&(this.vscrollParent.$_undefinedMap[this.id]&&(this.vscrollParent.$_undefinedSizes--,this.vscrollParent.$_undefinedMap[this.id]=void 0),this.vscrollData.sizes[this.id]=r,this.vscrollData.validSizes[this.id]=!0,this.emitResize&&this.$emit("resize",this.id))},observeSize:function(){this.vscrollResizeObserver&&(this.vscrollResizeObserver.observe(this.$el.parentNode),this.$el.parentNode.addEventListener("resize",this.onResize))},unobserveSize:function(){this.vscrollResizeObserver&&(this.vscrollResizeObserver.unobserve(this.$el.parentNode),this.$el.parentNode.removeEventListener("resize",this.onResize))},onResize:function(e){var n=e.detail.contentRect,r=n.width,i=n.height;this.applySize(r,i)}},render:function(){return N(this.tag,null,this.$slots.default())}},sl="0.2.3";function al(t,e){t.component("".concat(e,"recycle-scroller"),Ct),t.component("".concat(e,"RecycleScroller"),Ct),t.component("".concat(e,"dynamic-scroller"),Jt),t.component("".concat(e,"DynamicScroller"),Jt),t.component("".concat(e,"dynamic-scroller-item"),ui),t.component("".concat(e,"DynamicScrollerItem"),ui)}var ol={version:sl,install:function(e,n){var r=Object.assign({},{installComponents:!0,componentsPrefix:""},n);for(var i in r)typeof r[i]<"u"&&(ps[i]=r[i]);r.installComponents&&al(e,r.componentsPrefix)}};function cl(t){return t.use(Ta).use(ka).use(Uu).use(ol),t}function hr(t){const e=V().getClient(),n=t||e&&e.getOptions();return!!n&&("tracesSampleRate"in n||"tracesSampler"in n)}function pr(t){const n=(t||V()).getScope();return n&&n.getTransaction()}function Q(t){return t/1e3}function ul(){ae("error",li),ae("unhandledrejection",li)}function li(){const t=pr();if(t){const e="internal_error";(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&g.log(`[Tracing] Transaction: ${e} -> Global error occured`),t.setStatus(e)}}class hn{__init(){this.spans=[]}constructor(e=1e3){hn.prototype.__init.call(this),this._maxlen=e}add(e){this.spans.length>this._maxlen?e.spanRecorder=void 0:this.spans.push(e)}}class Se{__init2(){this.traceId=Mn()}__init3(){this.spanId=Mn().substring(16)}__init4(){this.startTimestamp=yt()}__init5(){this.tags={}}__init6(){this.data={}}__init7(){this.instrumenter="sentry"}constructor(e){if(Se.prototype.__init2.call(this),Se.prototype.__init3.call(this),Se.prototype.__init4.call(this),Se.prototype.__init5.call(this),Se.prototype.__init6.call(this),Se.prototype.__init7.call(this),!e)return this;e.traceId&&(this.traceId=e.traceId),e.spanId&&(this.spanId=e.spanId),e.parentSpanId&&(this.parentSpanId=e.parentSpanId),"sampled"in e&&(this.sampled=e.sampled),e.op&&(this.op=e.op),e.description&&(this.description=e.description),e.data&&(this.data=e.data),e.tags&&(this.tags=e.tags),e.status&&(this.status=e.status),e.startTimestamp&&(this.startTimestamp=e.startTimestamp),e.endTimestamp&&(this.endTimestamp=e.endTimestamp),e.instrumenter&&(this.instrumenter=e.instrumenter)}startChild(e){const n=new Se({...e,parentSpanId:this.spanId,sampled:this.sampled,traceId:this.traceId});if(n.spanRecorder=this.spanRecorder,n.spanRecorder&&n.spanRecorder.add(n),n.transaction=this.transaction,(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&n.transaction){const r=e&&e.op||"< unknown op >",i=n.transaction.name||"< unknown name >",s=n.transaction.spanId,a=`[Tracing] Starting '${r}' span on transaction '${i}' (${s}).`;n.transaction.metadata.spanMetadata[n.spanId]={logMessage:a},g.log(a)}return n}setTag(e,n){return this.tags={...this.tags,[e]:n},this}setData(e,n){return this.data={...this.data,[e]:n},this}setStatus(e){return this.status=e,this}setHttpStatus(e){this.setTag("http.status_code",String(e));const n=ll(e);return n!=="unknown_error"&&this.setStatus(n),this}isSuccess(){return this.status==="ok"}finish(e){if((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&this.transaction&&this.transaction.spanId!==this.spanId){const{logMessage:n}=this.transaction.metadata.spanMetadata[this.spanId];n&&g.log(n.replace("Starting","Finishing"))}this.endTimestamp=typeof e=="number"?e:yt()}toTraceparent(){let e="";return this.sampled!==void 0&&(e=this.sampled?"-1":"-0"),`${this.traceId}-${this.spanId}${e}`}toContext(){return Fe({data:this.data,description:this.description,endTimestamp:this.endTimestamp,op:this.op,parentSpanId:this.parentSpanId,sampled:this.sampled,spanId:this.spanId,startTimestamp:this.startTimestamp,status:this.status,tags:this.tags,traceId:this.traceId})}updateWithContext(e){return this.data=e.data||{},this.description=e.description,this.endTimestamp=e.endTimestamp,this.op=e.op,this.parentSpanId=e.parentSpanId,this.sampled=e.sampled,this.spanId=e.spanId||this.spanId,this.startTimestamp=e.startTimestamp||this.startTimestamp,this.status=e.status,this.tags=e.tags||{},this.traceId=e.traceId||this.traceId,this}getTraceContext(){return Fe({data:Object.keys(this.data).length>0?this.data:void 0,description:this.description,op:this.op,parent_span_id:this.parentSpanId,span_id:this.spanId,status:this.status,tags:Object.keys(this.tags).length>0?this.tags:void 0,trace_id:this.traceId})}toJSON(){return Fe({data:Object.keys(this.data).length>0?this.data:void 0,description:this.description,op:this.op,parent_span_id:this.parentSpanId,span_id:this.spanId,start_timestamp:this.startTimestamp,status:this.status,tags:Object.keys(this.tags).length>0?this.tags:void 0,timestamp:this.endTimestamp,trace_id:this.traceId})}}function ll(t){if(t<400&&t>=100)return"ok";if(t>=400&&t<500)switch(t){case 401:return"unauthenticated";case 403:return"permission_denied";case 404:return"not_found";case 409:return"already_exists";case 413:return"failed_precondition";case 429:return"resource_exhausted";default:return"invalid_argument"}if(t>=500&&t<600)switch(t){case 501:return"unimplemented";case 503:return"unavailable";case 504:return"deadline_exceeded";default:return"internal_error"}return"unknown_error"}class et extends Se{__init(){this._measurements={}}__init2(){this._contexts={}}__init3(){this._frozenDynamicSamplingContext=void 0}constructor(e,n){super(e),et.prototype.__init.call(this),et.prototype.__init2.call(this),et.prototype.__init3.call(this),this._hub=n||V(),this._name=e.name||"",this.metadata={source:"custom",...e.metadata,spanMetadata:{},changes:[],propagations:0},this._trimEnd=e.trimEnd,this.transaction=this;const r=this.metadata.dynamicSamplingContext;r&&(this._frozenDynamicSamplingContext={...r})}get name(){return this._name}set name(e){this.setName(e)}setName(e,n="custom"){(e!==this.name||n!==this.metadata.source)&&this.metadata.changes.push({source:this.metadata.source,timestamp:oa(),propagations:this.metadata.propagations}),this._name=e,this.metadata.source=n}initSpanRecorder(e=1e3){this.spanRecorder||(this.spanRecorder=new hn(e)),this.spanRecorder.add(this)}setContext(e,n){n===null?delete this._contexts[e]:this._contexts[e]=n}setMeasurement(e,n,r=""){this._measurements[e]={value:n,unit:r}}setMetadata(e){this.metadata={...this.metadata,...e}}finish(e){if(this.endTimestamp!==void 0)return;if(this.name||((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&g.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this.name="<unlabeled transaction>"),super.finish(e),this.sampled!==!0){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&g.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled.");const a=this._hub.getClient();a&&a.recordDroppedEvent("sample_rate","transaction");return}const n=this.spanRecorder?this.spanRecorder.spans.filter(a=>a!==this&&a.endTimestamp):[];this._trimEnd&&n.length>0&&(this.endTimestamp=n.reduce((a,o)=>a.endTimestamp&&o.endTimestamp?a.endTimestamp>o.endTimestamp?a:o:a).endTimestamp);const r=this.metadata,i={contexts:{...this._contexts,trace:this.getTraceContext()},spans:n,start_timestamp:this.startTimestamp,tags:this.tags,timestamp:this.endTimestamp,transaction:this.name,type:"transaction",sdkProcessingMetadata:{...r,dynamicSamplingContext:this.getDynamicSamplingContext()},...r.source&&{transaction_info:{source:r.source,changes:r.changes,propagations:r.propagations}}};return Object.keys(this._measurements).length>0&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&g.log("[Measurements] Adding measurements to transaction",JSON.stringify(this._measurements,void 0,2)),i.measurements=this._measurements),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&g.log(`[Tracing] Finishing ${this.op} transaction: ${this.name}.`),this._hub.captureEvent(i)}toContext(){const e=super.toContext();return Fe({...e,name:this.name,trimEnd:this._trimEnd})}updateWithContext(e){return super.updateWithContext(e),this.name=e.name||"",this._trimEnd=e.trimEnd,this}getDynamicSamplingContext(){if(this._frozenDynamicSamplingContext)return this._frozenDynamicSamplingContext;const e=this._hub||V(),n=e&&e.getClient();if(!n)return{};const{environment:r,release:i}=n.getOptions()||{},{publicKey:s}=n.getDsn()||{},a=this.metadata.sampleRate,o=a!==void 0?a.toString():void 0,c=e.getScope(),{segment:l}=c&&c.getUser()||{},m=this.metadata.source,_=m&&m!=="url"?this.name:void 0;return Fe({environment:r,release:i,transaction:_,user_segment:l,public_key:s,trace_id:this.traceId,sample_rate:o})}}const ws=1e3,Ss=3e4,Es=5e3;class dl extends hn{constructor(e,n,r,i){super(i),this._pushActivity=e,this._popActivity=n,this.transactionSpanId=r}add(e){e.spanId!==this.transactionSpanId&&(e.finish=n=>{e.endTimestamp=typeof n=="number"?n:yt(),this._popActivity(e.spanId)},e.endTimestamp===void 0&&this._pushActivity(e.spanId)),super.add(e)}}class je extends et{__init(){this.activities={}}__init2(){this._heartbeatCounter=0}__init3(){this._finished=!1}__init4(){this._beforeFinishCallbacks=[]}constructor(e,n,r=ws,i=Ss,s=Es,a=!1){super(e,n),this._idleHub=n,this._idleTimeout=r,this._finalTimeout=i,this._heartbeatInterval=s,this._onScope=a,je.prototype.__init.call(this),je.prototype.__init2.call(this),je.prototype.__init3.call(this),je.prototype.__init4.call(this),a&&(di(n),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&g.log(`Setting idle transaction on scope. Span ID: ${this.spanId}`),n.configureScope(o=>o.setSpan(this))),this._startIdleTimeout(),setTimeout(()=>{this._finished||(this.setStatus("deadline_exceeded"),this.finish())},this._finalTimeout)}finish(e=yt()){if(this._finished=!0,this.activities={},this.spanRecorder){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&g.log("[Tracing] finishing IdleTransaction",new Date(e*1e3).toISOString(),this.op);for(const n of this._beforeFinishCallbacks)n(this,e);this.spanRecorder.spans=this.spanRecorder.spans.filter(n=>{if(n.spanId===this.spanId)return!0;n.endTimestamp||(n.endTimestamp=e,n.setStatus("cancelled"),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&g.log("[Tracing] cancelling span since transaction ended early",JSON.stringify(n,void 0,2)));const r=n.startTimestamp<e;return r||(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&g.log("[Tracing] discarding Span since it happened after Transaction was finished",JSON.stringify(n,void 0,2)),r}),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&g.log("[Tracing] flushing IdleTransaction")}else(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&g.log("[Tracing] No active IdleTransaction");return this._onScope&&di(this._idleHub),super.finish(e)}registerBeforeFinishCallback(e){this._beforeFinishCallbacks.push(e)}initSpanRecorder(e){if(!this.spanRecorder){const n=i=>{this._finished||this._pushActivity(i)},r=i=>{this._finished||this._popActivity(i)};this.spanRecorder=new dl(n,r,this.spanId,e),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&g.log("Starting heartbeat"),this._pingHeartbeat()}this.spanRecorder.add(this)}_cancelIdleTimeout(){this._idleTimeoutID&&(clearTimeout(this._idleTimeoutID),this._idleTimeoutID=void 0)}_startIdleTimeout(e){this._cancelIdleTimeout(),this._idleTimeoutID=setTimeout(()=>{!this._finished&&Object.keys(this.activities).length===0&&this.finish(e)},this._idleTimeout)}_pushActivity(e){this._cancelIdleTimeout(),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&g.log(`[Tracing] pushActivity: ${e}`),this.activities[e]=!0,(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&g.log("[Tracing] new activities count",Object.keys(this.activities).length)}_popActivity(e){if(this.activities[e]&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&g.log(`[Tracing] popActivity ${e}`),delete this.activities[e],(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&g.log("[Tracing] new activities count",Object.keys(this.activities).length)),Object.keys(this.activities).length===0){const n=yt()+this._idleTimeout/1e3;this._startIdleTimeout(n)}}_beat(){if(this._finished)return;const e=Object.keys(this.activities).join("");e===this._prevHeartbeatString?this._heartbeatCounter++:this._heartbeatCounter=1,this._prevHeartbeatString=e,this._heartbeatCounter>=3?((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&g.log("[Tracing] Transaction finished because of no change for 3 heart beats"),this.setStatus("deadline_exceeded"),this.finish()):this._pingHeartbeat()}_pingHeartbeat(){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&g.log(`pinging Heartbeat -> current counter: ${this._heartbeatCounter}`),setTimeout(()=>{this._beat()},this._heartbeatInterval)}}function di(t){const e=t.getScope();e&&e.getTransaction()&&e.setSpan(void 0)}function fl(){const t=this.getScope();if(t){const e=t.getSpan();if(e)return{"sentry-trace":e.toTraceparent()}}return{}}function Ts(t,e,n){if(!hr(e))return t.sampled=!1,t;if(t.sampled!==void 0)return t.setMetadata({sampleRate:Number(t.sampled)}),t;let r;return typeof e.tracesSampler=="function"?(r=e.tracesSampler(n),t.setMetadata({sampleRate:Number(r)})):n.parentSampled!==void 0?r=n.parentSampled:(r=e.tracesSampleRate,t.setMetadata({sampleRate:Number(r)})),hl(r)?r?(t.sampled=Math.random()<r,t.sampled?((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&g.log(`[Tracing] starting ${t.op} transaction - ${t.name}`),t):((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&g.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(r)})`),t)):((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&g.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"}`),t.sampled=!1,t):((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&g.warn("[Tracing] Discarding transaction because of invalid sample rate."),t.sampled=!1,t)}function hl(t){return Si(t)||!(typeof t=="number"||typeof t=="boolean")?((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&g.warn(`[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(t)} of type ${JSON.stringify(typeof t)}.`),!1):t<0||t>1?((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&g.warn(`[Tracing] Given sample rate is invalid. Sample rate must be between 0 and 1. Got ${t}.`),!1):!0}function pl(t,e){const n=this.getClient(),r=n&&n.getOptions()||{},i=r.instrumenter||"sentry",s=t.instrumenter||"sentry";i!==s&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&g.error(`A transaction was started with instrumenter=\`${s}\`, but the SDK is configured with the \`${i}\` instrumenter.
The transaction will not be sampled. Please use the ${i} instrumentation to start transactions.`),t.sampled=!1);let a=new et(t,this);return a=Ts(a,r,{parentSampled:t.parentSampled,transactionContext:t,...e}),a.sampled&&a.initSpanRecorder(r._experiments&&r._experiments.maxSpans),a}function fi(t,e,n,r,i,s,a){const o=t.getClient(),c=o&&o.getOptions()||{};let l=new je(e,t,n,r,a,i);return l=Ts(l,c,{parentSampled:e.parentSampled,transactionContext:e,...s}),l.sampled&&l.initSpanRecorder(c._experiments&&c._experiments.maxSpans),l}function ml(){const t=Mi();t.__SENTRY__&&(t.__SENTRY__.extensions=t.__SENTRY__.extensions||{},t.__SENTRY__.extensions.startTransaction||(t.__SENTRY__.extensions.startTransaction=pl),t.__SENTRY__.extensions.traceHeaders||(t.__SENTRY__.extensions.traceHeaders=fl))}function _l(){const t=Mi();if(!t.__SENTRY__)return;const e={mongodb(){const r=Bt(module,"./integrations/node/mongo");return new r.Mongo},mongoose(){const r=Bt(module,"./integrations/node/mongo");return new r.Mongo({mongoose:!0})},mysql(){const r=Bt(module,"./integrations/node/mysql");return new r.Mysql},pg(){const r=Bt(module,"./integrations/node/postgres");return new r.Postgres}},n=Object.keys(e).filter(r=>!!ua(r)).map(r=>{try{return e[r]()}catch{return}}).filter(r=>r);n.length>0&&(t.__SENTRY__.integrations=[...t.__SENTRY__.integrations||[],...n])}function gl(){ml(),ca()&&_l(),ul()}const B=Ci;function vl(){B&&B.document?B.document.addEventListener("visibilitychange",()=>{const t=pr();if(B.document.hidden&&t){const e="cancelled";(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&g.log(`[Tracing] Transaction: ${e} -> since tab moved to the background, op: ${t.op}`),t.status||t.setStatus(e),t.setTag("visibilitychange","document.hidden"),t.finish()}}):(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&g.warn("[Tracing] Could not set up background tab detection due to lack of global document")}const mr=(t,e,n)=>{let r,i;return s=>{e.value>=0&&(s||n)&&(i=e.value-(r||0),(i||r===void 0)&&(r=e.value,e.delta=i,t(e)))}},yl=()=>`v3-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`,bl=()=>{const t=B.performance.timing,e=B.performance.navigation.type,n={entryType:"navigation",startTime:0,type:e==2?"back_forward":e===1?"reload":"navigate"};for(const r in t)r!=="navigationStart"&&r!=="toJSON"&&(n[r]=Math.max(t[r]-t.navigationStart,0));return n},Cs=()=>B.__WEB_VITALS_POLYFILL__?B.performance&&(performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]||bl()):B.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0],ks=()=>{const t=Cs();return t&&t.activationStart||0},_r=(t,e)=>{const n=Cs();let r="navigate";return n&&(B.document.prerendering||ks()>0?r="prerender":r=n.type.replace(/_/g,"-")),{name:t,value:typeof e>"u"?-1:e,rating:"good",delta:0,entries:[],id:yl(),navigationType:r}},pn=(t,e,n)=>{try{if(PerformanceObserver.supportedEntryTypes.includes(t)){const r=new PerformanceObserver(i=>{e(i.getEntries())});return r.observe(Object.assign({type:t,buffered:!0},n||{})),r}}catch{}},mn=(t,e)=>{const n=r=>{(r.type==="pagehide"||B.document.visibilityState==="hidden")&&(t(r),e&&(removeEventListener("visibilitychange",n,!0),removeEventListener("pagehide",n,!0)))};addEventListener("visibilitychange",n,!0),addEventListener("pagehide",n,!0)},wl=t=>{const e=_r("CLS",0);let n,r=0,i=[];const s=o=>{o.forEach(c=>{if(!c.hadRecentInput){const l=i[0],m=i[i.length-1];r&&i.length!==0&&c.startTime-m.startTime<1e3&&c.startTime-l.startTime<5e3?(r+=c.value,i.push(c)):(r=c.value,i=[c]),r>e.value&&(e.value=r,e.entries=i,n&&n())}})},a=pn("layout-shift",s);a&&(n=mr(t,e),mn(()=>{s(a.takeRecords()),n(!0)}))};let jt=-1;const Sl=()=>B.document.visibilityState==="hidden"&&!B.document.prerendering?0:1/0,El=()=>{mn(({timeStamp:t})=>{jt=t},!0)},gr=()=>(jt<0&&(jt=Sl(),El()),{get firstHiddenTime(){return jt}}),Tl=t=>{const e=gr(),n=_r("FID");let r;const i=o=>{o.startTime<e.firstHiddenTime&&(n.value=o.processingStart-o.startTime,n.entries.push(o),r(!0))},s=o=>{o.forEach(i)},a=pn("first-input",s);r=mr(t,n),a&&mn(()=>{s(a.takeRecords()),a.disconnect()},!0)},hi={},Cl=t=>{const e=gr(),n=_r("LCP");let r;const i=a=>{const o=a[a.length-1];if(o){const c=Math.max(o.startTime-ks(),0);c<e.firstHiddenTime&&(n.value=c,n.entries=[o],r())}},s=pn("largest-contentful-paint",i);if(s){r=mr(t,n);const a=()=>{hi[n.id]||(i(s.takeRecords()),s.disconnect(),hi[n.id]=!0,r(!0))};["keydown","click"].forEach(o=>{addEventListener(o,a,{once:!0,capture:!0})}),mn(a,!0)}};function On(t){return typeof t=="number"&&isFinite(t)}function it(t,{startTimestamp:e,...n}){return e&&t.startTimestamp>e&&(t.startTimestamp=e),t.startChild({startTimestamp:e,...n})}function Rs(){return B&&B.addEventListener&&B.performance}let pi=0,Y={},be,mt;function kl(){const t=Rs();t&&bt&&(t.mark&&B.performance.mark("sentry-tracing-init"),xl(),Ol(),Dl())}function Rl(){pn("longtask",e=>{for(const n of e){const r=pr();if(!r)return;const i=Q(bt+n.startTime),s=Q(n.duration);r.startChild({description:"Main UI thread blocked",op:"ui.long-task",startTimestamp:i,endTimestamp:i+s})}})}function xl(){wl(t=>{const e=t.entries.pop();e&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&g.log("[Measurements] Adding CLS"),Y.cls={value:t.value,unit:""},mt=e)})}function Ol(){Cl(t=>{const e=t.entries.pop();e&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&g.log("[Measurements] Adding LCP"),Y.lcp={value:t.value,unit:"millisecond"},be=e)})}function Dl(){Tl(t=>{const e=t.entries.pop();if(!e)return;const n=Q(bt),r=Q(e.startTime);(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&g.log("[Measurements] Adding FID"),Y.fid={value:t.value,unit:"millisecond"},Y["mark.fid"]={value:n+r,unit:"second"}})}function Nl(t){const e=Rs();if(!e||!B.performance.getEntries||!bt)return;(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&g.log("[Tracing] Adding & adjusting spans using Performance API");const n=Q(bt),r=e.getEntries();let i,s;if(r.slice(pi).forEach(a=>{const o=Q(a.startTime),c=Q(a.duration);if(!(t.op==="navigation"&&n+o<t.startTimestamp))switch(a.entryType){case"navigation":{Ml(t,a,n),i=n+Q(a.responseStart),s=n+Q(a.requestStart);break}case"mark":case"paint":case"measure":{Il(t,a,o,c,n);const l=gr(),m=a.startTime<l.firstHiddenTime;a.name==="first-paint"&&m&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&g.log("[Measurements] Adding FP"),Y.fp={value:a.startTime,unit:"millisecond"}),a.name==="first-contentful-paint"&&m&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&g.log("[Measurements] Adding FCP"),Y.fcp={value:a.startTime,unit:"millisecond"});break}case"resource":{const l=a.name.replace(B.location.origin,"");$l(t,a,l,o,c,n);break}}}),pi=Math.max(r.length-1,0),Ul(t),t.op==="pageload"){typeof i=="number"&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&g.log("[Measurements] Adding TTFB"),Y.ttfb={value:(i-t.startTimestamp)*1e3,unit:"millisecond"},typeof s=="number"&&s<=i&&(Y["ttfb.requestTime"]={value:(i-s)*1e3,unit:"millisecond"})),["fcp","fp","lcp"].forEach(o=>{if(!Y[o]||n>=t.startTimestamp)return;const c=Y[o].value,l=n+Q(c),m=Math.abs((l-t.startTimestamp)*1e3),_=m-c;(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&g.log(`[Measurements] Normalized ${o} from ${c} to ${m} (${_})`),Y[o].value=m});const a=Y["mark.fid"];a&&Y.fid&&(it(t,{description:"first input delay",endTimestamp:a.value+Q(Y.fid.value),op:"ui.action",startTimestamp:a.value}),delete Y["mark.fid"]),"fcp"in Y||delete Y.cls,Object.keys(Y).forEach(o=>{t.setMeasurement(o,Y[o].value,Y[o].unit)}),Bl(t)}be=void 0,mt=void 0,Y={}}function Il(t,e,n,r,i){const s=i+n,a=s+r;return it(t,{description:e.name,endTimestamp:a,op:e.entryType,startTimestamp:s}),s}function Ml(t,e,n){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(r=>{Lt(t,e,r,n)}),Lt(t,e,"secureConnection",n,"TLS/SSL","connectEnd"),Lt(t,e,"fetch",n,"cache","domainLookupStart"),Lt(t,e,"domainLookup",n,"DNS"),Al(t,e,n)}function Lt(t,e,n,r,i,s){const a=s?e[s]:e[`${n}End`],o=e[`${n}Start`];!o||!a||it(t,{op:"browser",description:i||n,startTimestamp:r+Q(o),endTimestamp:r+Q(a)})}function Al(t,e,n){it(t,{op:"browser",description:"request",startTimestamp:n+Q(e.requestStart),endTimestamp:n+Q(e.responseEnd)}),it(t,{op:"browser",description:"response",startTimestamp:n+Q(e.responseStart),endTimestamp:n+Q(e.responseEnd)})}function $l(t,e,n,r,i,s){if(e.initiatorType==="xmlhttprequest"||e.initiatorType==="fetch")return;const a={};"transferSize"in e&&(a["Transfer Size"]=e.transferSize),"encodedBodySize"in e&&(a["Encoded Body Size"]=e.encodedBodySize),"decodedBodySize"in e&&(a["Decoded Body Size"]=e.decodedBodySize);const o=s+r,c=o+i;it(t,{description:n,endTimestamp:c,op:e.initiatorType?`resource.${e.initiatorType}`:"resource.other",startTimestamp:o,data:a})}function Ul(t){const e=B.navigator;if(!e)return;const n=e.connection;n&&(n.effectiveType&&t.setTag("effectiveConnectionType",n.effectiveType),n.type&&t.setTag("connectionType",n.type),On(n.rtt)&&(Y["connection.rtt"]={value:n.rtt,unit:"millisecond"})),On(e.deviceMemory)&&t.setTag("deviceMemory",`${e.deviceMemory} GB`),On(e.hardwareConcurrency)&&t.setTag("hardwareConcurrency",String(e.hardwareConcurrency))}function Bl(t){be&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&g.log("[Measurements] Adding LCP Data"),be.element&&t.setTag("lcp.element",Kt(be.element)),be.id&&t.setTag("lcp.id",be.id),be.url&&t.setTag("lcp.url",be.url.trim().slice(0,200)),t.setTag("lcp.size",be.size)),mt&&mt.sources&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&g.log("[Measurements] Adding CLS Data"),mt.sources.forEach((e,n)=>t.setTag(`cls.source.${n+1}`,Kt(e.node))))}const Vn=["localhost",/^\//],jn={traceFetch:!0,traceXHR:!0,tracingOrigins:Vn,tracePropagationTargets:Vn};function Pl(t){const{traceFetch:e,traceXHR:n,tracePropagationTargets:r,tracingOrigins:i,shouldCreateSpanForRequest:s}={traceFetch:jn.traceFetch,traceXHR:jn.traceXHR,...t},a=typeof s=="function"?s:l=>!0,o=l=>Fl(l,r||i),c={};e&&ae("fetch",l=>{zl(l,a,o,c)}),n&&ae("xhr",l=>{Ll(l,a,o,c)})}function Fl(t,e){return on(t,e||Vn)}function zl(t,e,n,r){if(!hr()||!(t.fetchData&&e(t.fetchData.url)))return;if(t.endTimestamp){const o=t.fetchData.__span;if(!o)return;const c=r[o];c&&(t.response?c.setHttpStatus(t.response.status):t.error&&c.setStatus("internal_error"),c.finish(),delete r[o]);return}const i=V().getScope(),s=i&&i.getSpan(),a=s&&s.transaction;if(s&&a){const o=s.startChild({data:{...t.fetchData,type:"fetch"},description:`${t.fetchData.method} ${t.fetchData.url}`,op:"http.client"});t.fetchData.__span=o.spanId,r[o.spanId]=o;const c=t.args[0];t.args[1]=t.args[1]||{};const l=t.args[1];n(t.fetchData.url)&&(l.headers=Gl(c,a.getDynamicSamplingContext(),o,l),a.metadata.propagations++)}}function Gl(t,e,n,r){const i=Qi(e),s=n.toTraceparent(),a=typeof Request<"u"&&tt(t,Request)?t.headers:r.headers;if(a)if(typeof Headers<"u"&&tt(a,Headers)){const o=new Headers(a);return o.append("sentry-trace",s),i&&o.append(zn,i),o}else if(Array.isArray(a)){const o=[...a,["sentry-trace",s]];return i&&o.push([zn,i]),o}else{const o="baggage"in a?a.baggage:void 0,c=[];return Array.isArray(o)?c.push(...o):o&&c.push(o),i&&c.push(i),{...a,"sentry-trace":s,baggage:c.length>0?c.join(","):void 0}}else return{"sentry-trace":s,baggage:i}}function Ll(t,e,n,r){if(!hr()||t.xhr&&t.xhr.__sentry_own_request__||!(t.xhr&&t.xhr.__sentry_xhr__&&e(t.xhr.__sentry_xhr__.url)))return;const i=t.xhr.__sentry_xhr__;if(t.endTimestamp){const c=t.xhr.__sentry_xhr_span_id__;if(!c)return;const l=r[c];l&&(l.setHttpStatus(i.status_code),l.finish(),delete r[c]);return}const s=V().getScope(),a=s&&s.getSpan(),o=a&&a.transaction;if(a&&o){const c=a.startChild({data:{...i.data,type:"xhr",method:i.method,url:i.url},description:`${i.method} ${i.url}`,op:"http.client"});if(t.xhr.__sentry_xhr_span_id__=c.spanId,r[t.xhr.__sentry_xhr_span_id__]=c,t.xhr.setRequestHeader&&n(t.xhr.__sentry_xhr__.url))try{t.xhr.setRequestHeader("sentry-trace",c.toTraceparent());const l=o.getDynamicSamplingContext(),m=Qi(l);m&&t.xhr.setRequestHeader(zn,m),o.metadata.propagations++}catch{}}}function Yl(t,e=!0,n=!0){if(!B||!B.location){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&g.warn("Could not initialize routing instrumentation due to invalid location");return}let r=B.location.href,i;e&&(i=t({name:B.location.pathname,op:"pageload",metadata:{source:"url"}})),n&&ae("history",({to:s,from:a})=>{if(a===void 0&&r&&r.indexOf(s)!==-1){r=void 0;return}a!==s&&(r=void 0,i&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&g.log(`[Tracing] Finishing current transaction with op: ${i.op}`),i.finish()),i=t({name:B.location.pathname,op:"navigation",metadata:{source:"url"}}))})}const ql="BrowserTracing",Hl={idleTimeout:ws,finalTimeout:Ss,heartbeatInterval:Es,markBackgroundTransactions:!0,routingInstrumentation:Yl,startTransactionOnLocationChange:!0,startTransactionOnPageLoad:!0,enableLongTask:!0,_experiments:{},...jn};class vr{__init(){this.name=ql}constructor(e){vr.prototype.__init.call(this),this.options={...Hl,...e},this.options._experiments.enableLongTask!==void 0&&(this.options.enableLongTask=this.options._experiments.enableLongTask),e&&!e.tracePropagationTargets&&e.tracingOrigins&&(this.options.tracePropagationTargets=e.tracingOrigins),kl(),this.options.enableLongTask&&Rl()}setupOnce(e,n){this._getCurrentHub=n;const{routingInstrumentation:r,startTransactionOnLocationChange:i,startTransactionOnPageLoad:s,markBackgroundTransactions:a,traceFetch:o,traceXHR:c,tracePropagationTargets:l,shouldCreateSpanForRequest:m,_experiments:_}=this.options;r(f=>this._createRouteTransaction(f),s,i),a&&vl(),_.enableInteractions&&this._registerInteractionListener(),Pl({traceFetch:o,traceXHR:c,tracePropagationTargets:l,shouldCreateSpanForRequest:m})}_createRouteTransaction(e){if(!this._getCurrentHub){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&g.warn(`[Tracing] Did not create ${e.op} transaction because _getCurrentHub is invalid.`);return}const{beforeNavigate:n,idleTimeout:r,finalTimeout:i,heartbeatInterval:s}=this.options,a=e.op==="pageload",o=a?mi("sentry-trace"):null,c=a?mi("baggage"):null,l=o?Lo(o):void 0,m=c?nc(c):void 0,_={...e,...l,metadata:{...e.metadata,dynamicSamplingContext:l&&!m?{}:m},trimEnd:!0},f=typeof n=="function"?n(_):_,h=f===void 0?{..._,sampled:!1}:f;h.metadata=h.name!==_.name?{...h.metadata,source:"custom"}:h.metadata,this._latestRouteName=h.name,this._latestRouteSource=h.metadata&&h.metadata.source,h.sampled===!1&&(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&g.log(`[Tracing] Will not send ${h.op} transaction because of beforeNavigate.`),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&g.log(`[Tracing] Starting ${h.op} transaction on scope`);const u=this._getCurrentHub(),{location:d}=B,p=fi(u,h,r,i,!0,{location:d},s);return p.registerBeforeFinishCallback(S=>{Nl(S)}),p}_registerInteractionListener(){let e;const n=()=>{const{idleTimeout:r,finalTimeout:i,heartbeatInterval:s}=this.options,a="ui.action.click";if(e&&(e.finish(),e=void 0),!this._getCurrentHub){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&g.warn(`[Tracing] Did not create ${a} transaction because _getCurrentHub is invalid.`);return}if(!this._latestRouteName){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&g.warn(`[Tracing] Did not create ${a} transaction because _latestRouteName is missing.`);return}const o=this._getCurrentHub(),{location:c}=B,l={name:this._latestRouteName,op:a,trimEnd:!0,metadata:{source:this._latestRouteSource||"url"}};e=fi(o,l,r,i,!0,{location:c},s)};["click"].forEach(r=>{addEventListener(r,n,{once:!1,capture:!0})})}}function mi(t){const e=la(`meta[name=${t}]`);return e?e.getAttribute("content"):null}(typeof __SENTRY_TRACING__>"u"||__SENTRY_TRACING__)&&gl();function Vl(){return{}.VITE_SENTRY_AUTH_TOKEN?!0:(console.warn("Sentry disabled because VITE_SENTRY_AUTH_TOKEN env was not provided"),!1)}function jl(t){Vl()&&(t.config.errorHandler=(e,n,r)=>{try{da("info",r),ki(e,{extra:{error:e}})}catch(i){console.error("Failed to send error to Sentry",i)}},Ru({dsn:"https://d292b6ec7b6e4aa2801d972e06cb232c@o574636.ingest.sentry.io/5725878",integrations:[new vr],tracesSampleRate:1,environment:"production",release:`frontend-v2@${Un}`}))}var Ee=function(t){t==null&&(t=new Date().getTime()),this.N=624,this.M=397,this.MATRIX_A=2567483615,this.UPPER_MASK=2147483648,this.LOWER_MASK=2147483647,this.mt=new Array(this.N),this.mti=this.N+1,t.constructor==Array?this.init_by_array(t,t.length):this.init_seed(t)};Ee.prototype.init_seed=function(t){for(this.mt[0]=t>>>0,this.mti=1;this.mti<this.N;this.mti++){var t=this.mt[this.mti-1]^this.mt[this.mti-1]>>>30;this.mt[this.mti]=(((t&4294901760)>>>16)*1812433253<<16)+(t&65535)*1812433253+this.mti,this.mt[this.mti]>>>=0}};Ee.prototype.init_by_array=function(t,e){var n,r,i;for(this.init_seed(19650218),n=1,r=0,i=this.N>e?this.N:e;i;i--){var s=this.mt[n-1]^this.mt[n-1]>>>30;this.mt[n]=(this.mt[n]^(((s&4294901760)>>>16)*1664525<<16)+(s&65535)*1664525)+t[r]+r,this.mt[n]>>>=0,n++,r++,n>=this.N&&(this.mt[0]=this.mt[this.N-1],n=1),r>=e&&(r=0)}for(i=this.N-1;i;i--){var s=this.mt[n-1]^this.mt[n-1]>>>30;this.mt[n]=(this.mt[n]^(((s&4294901760)>>>16)*1566083941<<16)+(s&65535)*1566083941)-n,this.mt[n]>>>=0,n++,n>=this.N&&(this.mt[0]=this.mt[this.N-1],n=1)}this.mt[0]=2147483648};Ee.prototype.random_int=function(){var t,e=new Array(0,this.MATRIX_A);if(this.mti>=this.N){var n;for(this.mti==this.N+1&&this.init_seed(5489),n=0;n<this.N-this.M;n++)t=this.mt[n]&this.UPPER_MASK|this.mt[n+1]&this.LOWER_MASK,this.mt[n]=this.mt[n+this.M]^t>>>1^e[t&1];for(;n<this.N-1;n++)t=this.mt[n]&this.UPPER_MASK|this.mt[n+1]&this.LOWER_MASK,this.mt[n]=this.mt[n+(this.M-this.N)]^t>>>1^e[t&1];t=this.mt[this.N-1]&this.UPPER_MASK|this.mt[0]&this.LOWER_MASK,this.mt[this.N-1]=this.mt[this.M-1]^t>>>1^e[t&1],this.mti=0}return t=this.mt[this.mti++],t^=t>>>11,t^=t<<7&2636928640,t^=t<<15&4022730752,t^=t>>>18,t>>>0};Ee.prototype.random_int31=function(){return this.random_int()>>>1};Ee.prototype.random_incl=function(){return this.random_int()*(1/4294967295)};Ee.prototype.random=function(){return this.random_int()*(1/4294967296)};Ee.prototype.random_excl=function(){return(this.random_int()+.5)*(1/4294967296)};Ee.prototype.random_long=function(){var t=this.random_int()>>>5,e=this.random_int()>>>6;return(t*67108864+e)*(1/9007199254740992)};var Wl=Ee,Wn={},Ql={get exports(){return Wn},set exports(t){Wn=t}},Qn={},Kl={get exports(){return Qn},set exports(t){Qn=t}},Xl=function(e){return!e||typeof e=="string"?!1:e instanceof Array||Array.isArray(e)||e.length>=0&&(e.splice instanceof Function||Object.getOwnPropertyDescriptor(e,e.length-1)&&e.constructor.name!=="String")},Zl=Xl,Jl=Array.prototype.concat,ed=Array.prototype.slice,_i=Kl.exports=function(e){for(var n=[],r=0,i=e.length;r<i;r++){var s=e[r];Zl(s)?n=Jl.call(n,ed.call(s)):n.push(s)}return n};_i.wrap=function(t){return function(){return t(_i(arguments))}};var _t=ja,xt=Qn,xs=Object.hasOwnProperty,Os=Object.create(null);for(var Dn in _t)xs.call(_t,Dn)&&(Os[_t[Dn]]=Dn);var ue=Ql.exports={to:{},get:{}};ue.get=function(t){var e=t.substring(0,3).toLowerCase(),n,r;switch(e){case"hsl":n=ue.get.hsl(t),r="hsl";break;case"hwb":n=ue.get.hwb(t),r="hwb";break;default:n=ue.get.rgb(t),r="rgb";break}return n?{model:r,value:n}:null};ue.get.rgb=function(t){if(!t)return null;var e=/^#([a-f0-9]{3,4})$/i,n=/^#([a-f0-9]{6})([a-f0-9]{2})?$/i,r=/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/,i=/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/,s=/^(\w+)$/,a=[0,0,0,1],o,c,l;if(o=t.match(n)){for(l=o[2],o=o[1],c=0;c<3;c++){var m=c*2;a[c]=parseInt(o.slice(m,m+2),16)}l&&(a[3]=parseInt(l,16)/255)}else if(o=t.match(e)){for(o=o[1],l=o[3],c=0;c<3;c++)a[c]=parseInt(o[c]+o[c],16);l&&(a[3]=parseInt(l+l,16)/255)}else if(o=t.match(r)){for(c=0;c<3;c++)a[c]=parseInt(o[c+1],0);o[4]&&(o[5]?a[3]=parseFloat(o[4])*.01:a[3]=parseFloat(o[4]))}else if(o=t.match(i)){for(c=0;c<3;c++)a[c]=Math.round(parseFloat(o[c+1])*2.55);o[4]&&(o[5]?a[3]=parseFloat(o[4])*.01:a[3]=parseFloat(o[4]))}else return(o=t.match(s))?o[1]==="transparent"?[0,0,0,0]:xs.call(_t,o[1])?(a=_t[o[1]],a[3]=1,a):null:null;for(c=0;c<3;c++)a[c]=Ie(a[c],0,255);return a[3]=Ie(a[3],0,1),a};ue.get.hsl=function(t){if(!t)return null;var e=/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/,n=t.match(e);if(n){var r=parseFloat(n[4]),i=(parseFloat(n[1])%360+360)%360,s=Ie(parseFloat(n[2]),0,100),a=Ie(parseFloat(n[3]),0,100),o=Ie(isNaN(r)?1:r,0,1);return[i,s,a,o]}return null};ue.get.hwb=function(t){if(!t)return null;var e=/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/,n=t.match(e);if(n){var r=parseFloat(n[4]),i=(parseFloat(n[1])%360+360)%360,s=Ie(parseFloat(n[2]),0,100),a=Ie(parseFloat(n[3]),0,100),o=Ie(isNaN(r)?1:r,0,1);return[i,s,a,o]}return null};ue.to.hex=function(){var t=xt(arguments);return"#"+Yt(t[0])+Yt(t[1])+Yt(t[2])+(t[3]<1?Yt(Math.round(t[3]*255)):"")};ue.to.rgb=function(){var t=xt(arguments);return t.length<4||t[3]===1?"rgb("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+")":"rgba("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+", "+t[3]+")"};ue.to.rgb.percent=function(){var t=xt(arguments),e=Math.round(t[0]/255*100),n=Math.round(t[1]/255*100),r=Math.round(t[2]/255*100);return t.length<4||t[3]===1?"rgb("+e+"%, "+n+"%, "+r+"%)":"rgba("+e+"%, "+n+"%, "+r+"%, "+t[3]+")"};ue.to.hsl=function(){var t=xt(arguments);return t.length<4||t[3]===1?"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)":"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+t[3]+")"};ue.to.hwb=function(){var t=xt(arguments),e="";return t.length>=4&&t[3]!==1&&(e=", "+t[3]),"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+e+")"};ue.to.keyword=function(t){return Os[t.slice(0,3)]};function Ie(t,e,n){return Math.min(Math.max(e,t),n)}function Yt(t){var e=Math.round(t).toString(16).toUpperCase();return e.length<2?"0"+e:e}var en={},td={get exports(){return en},set exports(t){en=t}},nd={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},ze=nd,Ds={};for(var Nn in ze)ze.hasOwnProperty(Nn)&&(Ds[ze[Nn]]=Nn);var b=td.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var ne in b)if(b.hasOwnProperty(ne)){if(!("channels"in b[ne]))throw new Error("missing channels property: "+ne);if(!("labels"in b[ne]))throw new Error("missing channel labels property: "+ne);if(b[ne].labels.length!==b[ne].channels)throw new Error("channel and label counts mismatch: "+ne);var rd=b[ne].channels,id=b[ne].labels;delete b[ne].channels,delete b[ne].labels,Object.defineProperty(b[ne],"channels",{value:rd}),Object.defineProperty(b[ne],"labels",{value:id})}b.rgb.hsl=function(t){var e=t[0]/255,n=t[1]/255,r=t[2]/255,i=Math.min(e,n,r),s=Math.max(e,n,r),a=s-i,o,c,l;return s===i?o=0:e===s?o=(n-r)/a:n===s?o=2+(r-e)/a:r===s&&(o=4+(e-n)/a),o=Math.min(o*60,360),o<0&&(o+=360),l=(i+s)/2,s===i?c=0:l<=.5?c=a/(s+i):c=a/(2-s-i),[o,c*100,l*100]};b.rgb.hsv=function(t){var e,n,r,i,s,a=t[0]/255,o=t[1]/255,c=t[2]/255,l=Math.max(a,o,c),m=l-Math.min(a,o,c),_=function(f){return(l-f)/6/m+1/2};return m===0?i=s=0:(s=m/l,e=_(a),n=_(o),r=_(c),a===l?i=r-n:o===l?i=1/3+e-r:c===l&&(i=2/3+n-e),i<0?i+=1:i>1&&(i-=1)),[i*360,s*100,l*100]};b.rgb.hwb=function(t){var e=t[0],n=t[1],r=t[2],i=b.rgb.hsl(t)[0],s=1/255*Math.min(e,Math.min(n,r));return r=1-1/255*Math.max(e,Math.max(n,r)),[i,s*100,r*100]};b.rgb.cmyk=function(t){var e=t[0]/255,n=t[1]/255,r=t[2]/255,i,s,a,o;return o=Math.min(1-e,1-n,1-r),i=(1-e-o)/(1-o)||0,s=(1-n-o)/(1-o)||0,a=(1-r-o)/(1-o)||0,[i*100,s*100,a*100,o*100]};function sd(t,e){return Math.pow(t[0]-e[0],2)+Math.pow(t[1]-e[1],2)+Math.pow(t[2]-e[2],2)}b.rgb.keyword=function(t){var e=Ds[t];if(e)return e;var n=1/0,r;for(var i in ze)if(ze.hasOwnProperty(i)){var s=ze[i],a=sd(t,s);a<n&&(n=a,r=i)}return r};b.keyword.rgb=function(t){return ze[t]};b.rgb.xyz=function(t){var e=t[0]/255,n=t[1]/255,r=t[2]/255;e=e>.04045?Math.pow((e+.055)/1.055,2.4):e/12.92,n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92,r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92;var i=e*.4124+n*.3576+r*.1805,s=e*.2126+n*.7152+r*.0722,a=e*.0193+n*.1192+r*.9505;return[i*100,s*100,a*100]};b.rgb.lab=function(t){var e=b.rgb.xyz(t),n=e[0],r=e[1],i=e[2],s,a,o;return n/=95.047,r/=100,i/=108.883,n=n>.008856?Math.pow(n,1/3):7.787*n+16/116,r=r>.008856?Math.pow(r,1/3):7.787*r+16/116,i=i>.008856?Math.pow(i,1/3):7.787*i+16/116,s=116*r-16,a=500*(n-r),o=200*(r-i),[s,a,o]};b.hsl.rgb=function(t){var e=t[0]/360,n=t[1]/100,r=t[2]/100,i,s,a,o,c;if(n===0)return c=r*255,[c,c,c];r<.5?s=r*(1+n):s=r+n-r*n,i=2*r-s,o=[0,0,0];for(var l=0;l<3;l++)a=e+1/3*-(l-1),a<0&&a++,a>1&&a--,6*a<1?c=i+(s-i)*6*a:2*a<1?c=s:3*a<2?c=i+(s-i)*(2/3-a)*6:c=i,o[l]=c*255;return o};b.hsl.hsv=function(t){var e=t[0],n=t[1]/100,r=t[2]/100,i=n,s=Math.max(r,.01),a,o;return r*=2,n*=r<=1?r:2-r,i*=s<=1?s:2-s,o=(r+n)/2,a=r===0?2*i/(s+i):2*n/(r+n),[e,a*100,o*100]};b.hsv.rgb=function(t){var e=t[0]/60,n=t[1]/100,r=t[2]/100,i=Math.floor(e)%6,s=e-Math.floor(e),a=255*r*(1-n),o=255*r*(1-n*s),c=255*r*(1-n*(1-s));switch(r*=255,i){case 0:return[r,c,a];case 1:return[o,r,a];case 2:return[a,r,c];case 3:return[a,o,r];case 4:return[c,a,r];case 5:return[r,a,o]}};b.hsv.hsl=function(t){var e=t[0],n=t[1]/100,r=t[2]/100,i=Math.max(r,.01),s,a,o;return o=(2-n)*r,s=(2-n)*i,a=n*i,a/=s<=1?s:2-s,a=a||0,o/=2,[e,a*100,o*100]};b.hwb.rgb=function(t){var e=t[0]/360,n=t[1]/100,r=t[2]/100,i=n+r,s,a,o,c;i>1&&(n/=i,r/=i),s=Math.floor(6*e),a=1-r,o=6*e-s,s&1&&(o=1-o),c=n+o*(a-n);var l,m,_;switch(s){default:case 6:case 0:l=a,m=c,_=n;break;case 1:l=c,m=a,_=n;break;case 2:l=n,m=a,_=c;break;case 3:l=n,m=c,_=a;break;case 4:l=c,m=n,_=a;break;case 5:l=a,m=n,_=c;break}return[l*255,m*255,_*255]};b.cmyk.rgb=function(t){var e=t[0]/100,n=t[1]/100,r=t[2]/100,i=t[3]/100,s,a,o;return s=1-Math.min(1,e*(1-i)+i),a=1-Math.min(1,n*(1-i)+i),o=1-Math.min(1,r*(1-i)+i),[s*255,a*255,o*255]};b.xyz.rgb=function(t){var e=t[0]/100,n=t[1]/100,r=t[2]/100,i,s,a;return i=e*3.2406+n*-1.5372+r*-.4986,s=e*-.9689+n*1.8758+r*.0415,a=e*.0557+n*-.204+r*1.057,i=i>.0031308?1.055*Math.pow(i,1/2.4)-.055:i*12.92,s=s>.0031308?1.055*Math.pow(s,1/2.4)-.055:s*12.92,a=a>.0031308?1.055*Math.pow(a,1/2.4)-.055:a*12.92,i=Math.min(Math.max(0,i),1),s=Math.min(Math.max(0,s),1),a=Math.min(Math.max(0,a),1),[i*255,s*255,a*255]};b.xyz.lab=function(t){var e=t[0],n=t[1],r=t[2],i,s,a;return e/=95.047,n/=100,r/=108.883,e=e>.008856?Math.pow(e,1/3):7.787*e+16/116,n=n>.008856?Math.pow(n,1/3):7.787*n+16/116,r=r>.008856?Math.pow(r,1/3):7.787*r+16/116,i=116*n-16,s=500*(e-n),a=200*(n-r),[i,s,a]};b.lab.xyz=function(t){var e=t[0],n=t[1],r=t[2],i,s,a;s=(e+16)/116,i=n/500+s,a=s-r/200;var o=Math.pow(s,3),c=Math.pow(i,3),l=Math.pow(a,3);return s=o>.008856?o:(s-16/116)/7.787,i=c>.008856?c:(i-16/116)/7.787,a=l>.008856?l:(a-16/116)/7.787,i*=95.047,s*=100,a*=108.883,[i,s,a]};b.lab.lch=function(t){var e=t[0],n=t[1],r=t[2],i,s,a;return i=Math.atan2(r,n),s=i*360/2/Math.PI,s<0&&(s+=360),a=Math.sqrt(n*n+r*r),[e,a,s]};b.lch.lab=function(t){var e=t[0],n=t[1],r=t[2],i,s,a;return a=r/360*2*Math.PI,i=n*Math.cos(a),s=n*Math.sin(a),[e,i,s]};b.rgb.ansi16=function(t){var e=t[0],n=t[1],r=t[2],i=1 in arguments?arguments[1]:b.rgb.hsv(t)[2];if(i=Math.round(i/50),i===0)return 30;var s=30+(Math.round(r/255)<<2|Math.round(n/255)<<1|Math.round(e/255));return i===2&&(s+=60),s};b.hsv.ansi16=function(t){return b.rgb.ansi16(b.hsv.rgb(t),t[2])};b.rgb.ansi256=function(t){var e=t[0],n=t[1],r=t[2];if(e===n&&n===r)return e<8?16:e>248?231:Math.round((e-8)/247*24)+232;var i=16+36*Math.round(e/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5);return i};b.ansi16.rgb=function(t){var e=t%10;if(e===0||e===7)return t>50&&(e+=3.5),e=e/10.5*255,[e,e,e];var n=(~~(t>50)+1)*.5,r=(e&1)*n*255,i=(e>>1&1)*n*255,s=(e>>2&1)*n*255;return[r,i,s]};b.ansi256.rgb=function(t){if(t>=232){var e=(t-232)*10+8;return[e,e,e]}t-=16;var n,r=Math.floor(t/36)/5*255,i=Math.floor((n=t%36)/6)/5*255,s=n%6/5*255;return[r,i,s]};b.rgb.hex=function(t){var e=((Math.round(t[0])&255)<<16)+((Math.round(t[1])&255)<<8)+(Math.round(t[2])&255),n=e.toString(16).toUpperCase();return"000000".substring(n.length)+n};b.hex.rgb=function(t){var e=t.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!e)return[0,0,0];var n=e[0];e[0].length===3&&(n=n.split("").map(function(o){return o+o}).join(""));var r=parseInt(n,16),i=r>>16&255,s=r>>8&255,a=r&255;return[i,s,a]};b.rgb.hcg=function(t){var e=t[0]/255,n=t[1]/255,r=t[2]/255,i=Math.max(Math.max(e,n),r),s=Math.min(Math.min(e,n),r),a=i-s,o,c;return a<1?o=s/(1-a):o=0,a<=0?c=0:i===e?c=(n-r)/a%6:i===n?c=2+(r-e)/a:c=4+(e-n)/a+4,c/=6,c%=1,[c*360,a*100,o*100]};b.hsl.hcg=function(t){var e=t[1]/100,n=t[2]/100,r=1,i=0;return n<.5?r=2*e*n:r=2*e*(1-n),r<1&&(i=(n-.5*r)/(1-r)),[t[0],r*100,i*100]};b.hsv.hcg=function(t){var e=t[1]/100,n=t[2]/100,r=e*n,i=0;return r<1&&(i=(n-r)/(1-r)),[t[0],r*100,i*100]};b.hcg.rgb=function(t){var e=t[0]/360,n=t[1]/100,r=t[2]/100;if(n===0)return[r*255,r*255,r*255];var i=[0,0,0],s=e%1*6,a=s%1,o=1-a,c=0;switch(Math.floor(s)){case 0:i[0]=1,i[1]=a,i[2]=0;break;case 1:i[0]=o,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=a;break;case 3:i[0]=0,i[1]=o,i[2]=1;break;case 4:i[0]=a,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=o}return c=(1-n)*r,[(n*i[0]+c)*255,(n*i[1]+c)*255,(n*i[2]+c)*255]};b.hcg.hsv=function(t){var e=t[1]/100,n=t[2]/100,r=e+n*(1-e),i=0;return r>0&&(i=e/r),[t[0],i*100,r*100]};b.hcg.hsl=function(t){var e=t[1]/100,n=t[2]/100,r=n*(1-e)+.5*e,i=0;return r>0&&r<.5?i=e/(2*r):r>=.5&&r<1&&(i=e/(2*(1-r))),[t[0],i*100,r*100]};b.hcg.hwb=function(t){var e=t[1]/100,n=t[2]/100,r=e+n*(1-e);return[t[0],(r-e)*100,(1-r)*100]};b.hwb.hcg=function(t){var e=t[1]/100,n=t[2]/100,r=1-n,i=r-e,s=0;return i<1&&(s=(r-i)/(1-i)),[t[0],i*100,s*100]};b.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]};b.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]};b.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]};b.gray.hsl=b.gray.hsv=function(t){return[0,0,t[0]]};b.gray.hwb=function(t){return[0,100,t[0]]};b.gray.cmyk=function(t){return[0,0,0,t[0]]};b.gray.lab=function(t){return[t[0],0,0]};b.gray.hex=function(t){var e=Math.round(t[0]/100*255)&255,n=(e<<16)+(e<<8)+e,r=n.toString(16).toUpperCase();return"000000".substring(r.length)+r};b.rgb.gray=function(t){var e=(t[0]+t[1]+t[2])/3;return[e/255*100]};var tn=en;function ad(){for(var t={},e=Object.keys(tn),n=e.length,r=0;r<n;r++)t[e[r]]={distance:-1,parent:null};return t}function od(t){var e=ad(),n=[t];for(e[t].distance=0;n.length;)for(var r=n.pop(),i=Object.keys(tn[r]),s=i.length,a=0;a<s;a++){var o=i[a],c=e[o];c.distance===-1&&(c.distance=e[r].distance+1,c.parent=r,n.unshift(o))}return e}function cd(t,e){return function(n){return e(t(n))}}function ud(t,e){for(var n=[e[t].parent,t],r=tn[e[t].parent][t],i=e[t].parent;e[i].parent;)n.unshift(e[i].parent),r=cd(tn[e[i].parent][i],r),i=e[i].parent;return r.conversion=n,r}var ld=function(t){for(var e=od(t),n={},r=Object.keys(e),i=r.length,s=0;s<i;s++){var a=r[s],o=e[a];o.parent!==null&&(n[a]=ud(a,e))}return n},Kn=en,dd=ld,He={},fd=Object.keys(Kn);function hd(t){var e=function(n){return n==null?n:(arguments.length>1&&(n=Array.prototype.slice.call(arguments)),t(n))};return"conversion"in t&&(e.conversion=t.conversion),e}function pd(t){var e=function(n){if(n==null)return n;arguments.length>1&&(n=Array.prototype.slice.call(arguments));var r=t(n);if(typeof r=="object")for(var i=r.length,s=0;s<i;s++)r[s]=Math.round(r[s]);return r};return"conversion"in t&&(e.conversion=t.conversion),e}fd.forEach(function(t){He[t]={},Object.defineProperty(He[t],"channels",{value:Kn[t].channels}),Object.defineProperty(He[t],"labels",{value:Kn[t].labels});var e=dd(t),n=Object.keys(e);n.forEach(function(r){var i=e[r];He[t][r]=pd(i),He[t][r].raw=hd(i)})});var md=He,ht=Wn,oe=md,yr=[].slice,Ns=["keyword","gray","hex"],Xn={};Object.keys(oe).forEach(function(t){Xn[yr.call(oe[t].labels).sort().join("")]=t});var nn={};function K(t,e){if(!(this instanceof K))return new K(t,e);if(e&&e in Ns&&(e=null),e&&!(e in oe))throw new Error("Unknown model: "+e);var n,r;if(t==null)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(t instanceof K)this.model=t.model,this.color=t.color.slice(),this.valpha=t.valpha;else if(typeof t=="string"){var i=ht.get(t);if(i===null)throw new Error("Unable to parse color from string: "+t);this.model=i.model,r=oe[this.model].channels,this.color=i.value.slice(0,r),this.valpha=typeof i.value[r]=="number"?i.value[r]:1}else if(t.length){this.model=e||"rgb",r=oe[this.model].channels;var s=yr.call(t,0,r);this.color=Zn(s,r),this.valpha=typeof t[r]=="number"?t[r]:1}else if(typeof t=="number")t&=16777215,this.model="rgb",this.color=[t>>16&255,t>>8&255,t&255],this.valpha=1;else{this.valpha=1;var a=Object.keys(t);"alpha"in t&&(a.splice(a.indexOf("alpha"),1),this.valpha=typeof t.alpha=="number"?t.alpha:0);var o=a.sort().join("");if(!(o in Xn))throw new Error("Unable to parse color from object: "+JSON.stringify(t));this.model=Xn[o];var c=oe[this.model].labels,l=[];for(n=0;n<c.length;n++)l.push(t[c[n]]);this.color=Zn(l)}if(nn[this.model])for(r=oe[this.model].channels,n=0;n<r;n++){var m=nn[this.model][n];m&&(this.color[n]=m(this.color[n]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}K.prototype={toString:function(){return this.string()},toJSON:function(){return this[this.model]()},string:function(t){var e=this.model in ht.to?this:this.rgb();e=e.round(typeof t=="number"?t:1);var n=e.valpha===1?e.color:e.color.concat(this.valpha);return ht.to[e.model](n)},percentString:function(t){var e=this.rgb().round(typeof t=="number"?t:1),n=e.valpha===1?e.color:e.color.concat(this.valpha);return ht.to.rgb.percent(n)},array:function(){return this.valpha===1?this.color.slice():this.color.concat(this.valpha)},object:function(){for(var t={},e=oe[this.model].channels,n=oe[this.model].labels,r=0;r<e;r++)t[n[r]]=this.color[r];return this.valpha!==1&&(t.alpha=this.valpha),t},unitArray:function(){var t=this.rgb().color;return t[0]/=255,t[1]/=255,t[2]/=255,this.valpha!==1&&t.push(this.valpha),t},unitObject:function(){var t=this.rgb().object();return t.r/=255,t.g/=255,t.b/=255,this.valpha!==1&&(t.alpha=this.valpha),t},round:function(t){return t=Math.max(t||0,0),new K(this.color.map(gd(t)).concat(this.valpha),this.model)},alpha:function(t){return arguments.length?new K(this.color.concat(Math.max(0,Math.min(1,t))),this.model):this.valpha},red:L("rgb",0,j(255)),green:L("rgb",1,j(255)),blue:L("rgb",2,j(255)),hue:L(["hsl","hsv","hsl","hwb","hcg"],0,function(t){return(t%360+360)%360}),saturationl:L("hsl",1,j(100)),lightness:L("hsl",2,j(100)),saturationv:L("hsv",1,j(100)),value:L("hsv",2,j(100)),chroma:L("hcg",1,j(100)),gray:L("hcg",2,j(100)),white:L("hwb",1,j(100)),wblack:L("hwb",2,j(100)),cyan:L("cmyk",0,j(100)),magenta:L("cmyk",1,j(100)),yellow:L("cmyk",2,j(100)),black:L("cmyk",3,j(100)),x:L("xyz",0,j(100)),y:L("xyz",1,j(100)),z:L("xyz",2,j(100)),l:L("lab",0,j(100)),a:L("lab",1),b:L("lab",2),keyword:function(t){return arguments.length?new K(t):oe[this.model].keyword(this.color)},hex:function(t){return arguments.length?new K(t):ht.to.hex(this.rgb().round().color)},rgbNumber:function(){var t=this.rgb().color;return(t[0]&255)<<16|(t[1]&255)<<8|t[2]&255},luminosity:function(){for(var t=this.rgb().color,e=[],n=0;n<t.length;n++){var r=t[n]/255;e[n]=r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4)}return .2126*e[0]+.7152*e[1]+.0722*e[2]},contrast:function(t){var e=this.luminosity(),n=t.luminosity();return e>n?(e+.05)/(n+.05):(n+.05)/(e+.05)},level:function(t){var e=this.contrast(t);return e>=7.1?"AAA":e>=4.5?"AA":""},isDark:function(){var t=this.rgb().color,e=(t[0]*299+t[1]*587+t[2]*114)/1e3;return e<128},isLight:function(){return!this.isDark()},negate:function(){for(var t=this.rgb(),e=0;e<3;e++)t.color[e]=255-t.color[e];return t},lighten:function(t){var e=this.hsl();return e.color[2]+=e.color[2]*t,e},darken:function(t){var e=this.hsl();return e.color[2]-=e.color[2]*t,e},saturate:function(t){var e=this.hsl();return e.color[1]+=e.color[1]*t,e},desaturate:function(t){var e=this.hsl();return e.color[1]-=e.color[1]*t,e},whiten:function(t){var e=this.hwb();return e.color[1]+=e.color[1]*t,e},blacken:function(t){var e=this.hwb();return e.color[2]+=e.color[2]*t,e},grayscale:function(){var t=this.rgb().color,e=t[0]*.3+t[1]*.59+t[2]*.11;return K.rgb(e,e,e)},fade:function(t){return this.alpha(this.valpha-this.valpha*t)},opaquer:function(t){return this.alpha(this.valpha+this.valpha*t)},rotate:function(t){var e=this.hsl(),n=e.color[0];return n=(n+t)%360,n=n<0?360+n:n,e.color[0]=n,e},mix:function(t,e){if(!t||!t.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof t);var n=t.rgb(),r=this.rgb(),i=e===void 0?.5:e,s=2*i-1,a=n.alpha()-r.alpha(),o=((s*a===-1?s:(s+a)/(1+s*a))+1)/2,c=1-o;return K.rgb(o*n.red()+c*r.red(),o*n.green()+c*r.green(),o*n.blue()+c*r.blue(),n.alpha()*i+r.alpha()*(1-i))}};Object.keys(oe).forEach(function(t){if(Ns.indexOf(t)===-1){var e=oe[t].channels;K.prototype[t]=function(){if(this.model===t)return new K(this);if(arguments.length)return new K(arguments,t);var n=typeof arguments[e]=="number"?e:this.valpha;return new K(vd(oe[this.model][t].raw(this.color)).concat(n),t)},K[t]=function(n){return typeof n=="number"&&(n=Zn(yr.call(arguments),e)),new K(n,t)}}});function _d(t,e){return Number(t.toFixed(e))}function gd(t){return function(e){return _d(e,t)}}function L(t,e,n){return t=Array.isArray(t)?t:[t],t.forEach(function(r){(nn[r]||(nn[r]=[]))[e]=n}),t=t[0],function(r){var i;return arguments.length?(n&&(r=n(r)),i=this[t](),i.color[e]=r,i):(i=this[t]().color[e],n&&(i=n(i)),i)}}function j(t){return function(e){return Math.max(0,Math.min(t,e))}}function vd(t){return Array.isArray(t)?t:[t]}function Zn(t,e){for(var n=0;n<e;n++)typeof t[n]!="number"&&(t[n]=0);return t}var yd=K;function bd(t){return parseInt(t.slice(2,10),16)}const wd={name:"Jazzicon",props:{seed:{type:Number,default:Math.round(Math.random()*1e7)},diameter:{type:Number,default:100},address:{type:String,default:null},shapeCount:{type:Number,default:4},colors:{type:Array,default:()=>["#01888C","#FC7500","#034F5D","#F73F01","#FC1960","#C7144C","#F3C100","#1598F2","#2465E1","#F19E02"]}},data(){return{generator:null,svgns:"http://www.w3.org/2000/svg"}},watch:{seed:{handler(){this.icon()}},address:{handler(){this.icon()}},diameter:{handler(){this.icon()}}},mounted(){this.icon()},methods:{async icon(){const t=this.address?bd(this.address):this.seed;this.$refs.jazzicon.innerHTML="";const e=await this.generateIdenticon(this.diameter,t);await this.$refs.jazzicon.append(e)},newPaper(t,e){const n=document.createElement("div");return n.style.borderRadius=`${t/2}px`,n.style.overflow="hidden",n.style.padding="0px",n.style.margin="0px",n.style.width=""+t+"px",n.style.height=""+t+"px",n.style.display="inline-block",n.style.background=e,{container:n}},generateIdenticon(t,e){this.generator=new Wl(e);const n=this.hueShift(this.colors.slice(),this.generator),i=this.newPaper(t,this.genColor(n)).container,s=document.createElementNS(this.svgns,"svg");s.setAttributeNS(null,"x","0"),s.setAttributeNS(null,"y","0"),s.setAttributeNS(null,"width",t),s.setAttributeNS(null,"height",t),i.appendChild(s);for(let a=0;a<this.shapeCount-1;a++)this.genShape(n,t,a,this.shapeCount-1,s);return i},genShape(t,e,n,r,i){const s=e/2,a=document.createElementNS(this.svgns,"rect");a.setAttributeNS(null,"x","0"),a.setAttributeNS(null,"y","0"),a.setAttributeNS(null,"width",e),a.setAttributeNS(null,"height",e);const o=this.generator.random(),c=Math.PI*2*o,l=e/r*this.generator.random()+n*e/r,m=Math.cos(c)*l,_=Math.sin(c)*l,f="translate("+m+" "+_+")",h=this.generator.random(),d="rotate("+(o*360+h*180).toFixed(1)+" "+s+" "+s+")",p=f+" "+d;a.setAttributeNS(null,"transform",p);const S=this.genColor(t);a.setAttributeNS(null,"fill",S),i.appendChild(a)},genColor(t){this.generator.random();const e=Math.floor(t.length*this.generator.random());return t.splice(e,1)[0]},hueShift(t,e){const r=e.random()*30-15;return t.map(function(i){const s=yd(i);return s.rotate(r),s.hex()})}}},Sd={ref:"jazzicon"};function Ed(t,e,n,r,i,s){return R(),H("div",Sd,null,512)}const Td=ie(wd,[["render",Ed]]),Cd={},kd={width:"19",height:"18",viewBox:"0 0 19 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Rd=w("path",{d:"M14.2151 4.5L5.00977 13.5",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),xd=w("path",{d:"M5.00977 4.5L14.2151 13.5",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),Od=[Rd,xd];function Dd(t,e){return R(),H("svg",kd,Od)}const Nd=ie(Cd,[["render",Dd]]),Id=re({name:"Notification",props:{notification:{type:Object,required:!0}},setup(t){const e=fe(1),n=Qa(e,{duration:t.notification.autoCloseAfterMs,transition:Ka.linear});let r;const{notifications:i,removeNotification:s}=Ai();function a(){s(t.notification.id)}ir(()=>{e.value=0,t.notification.autoCloseAfterMs&&(r=setTimeout(()=>{a()},t.notification.autoCloseAfterMs))}),Ma(()=>{r!=null&&clearTimeout(r)});const o=wt(()=>{let c="bg-orange-600 dark:bg-orange-500";return t.notification.type==="success"?c="bg-green-500 dark:bg-green-500":t.notification.type==="error"&&(c="bg-red-500 dark:bg-red-500"),`
          progress-bar absolute bottom-0 left-0 opacity-80 w-0 transition duration-300 ease-linear h-1 ${c}
        `});return{closeNotification:a,notifications:i,progressClasses:o,progress:n}}});const Md={role:"alert","aria-live":"polite",class:"overflow-hidden relative p-3 w-64 text-sm dark:text-white bg-white dark:bg-gray-800 rounded dark:border-gray-850 shadow-lg"},Ad={class:"group justify-between"},$d={class:"flex items-center mb-1 font-semibold"},Ud={class:"title"},Bd={class:"message"},Pd={key:1},Fd={class:"mb-1 font-semibold title"},zd={class:"message"};function Gd(t,e,n,r,i,s){const a=rr,o=or,c=Nd;return R(),H("div",Md,[w("div",Ad,[t.notification.transactionMetadata?(R(),q(o,{key:0,href:t.notification.transactionMetadata.explorerLink,external:"",noStyle:""},{default:F(()=>[w("div",$d,[w("span",Ud,z(t.notification.title),1),N(a,{name:"arrow-up-right",size:"sm",class:"ml-1 text-gray-400 group-hover:text-pink-500 dark:text-gray-600 transition-colors"})]),w("div",Bd,z(t.notification.message),1)]),_:1},8,["href"])):(R(),H("div",Pd,[w("div",Fd,z(t.notification.title),1),w("div",zd,z(t.notification.message),1)])),N(c,{class:"absolute top-3 right-2 text-black dark:text-white cursor-pointer shrink-0",onClick:e[0]||(e[0]=l=>t.closeNotification())})]),w("div",{class:$i(t.progressClasses),style:Aa({width:`${(t.progress*100).toFixed(0)}%`})},null,6)])}const Ld=ie(Id,[["render",Gd],["__scopeId","data-v-7cb885c4"]]),Yd=re({name:"Notifications",components:{Notification:Ld},setup(){const{notifications:t}=Ai();return{notifications:t}}});const qd={class:"fixed bottom-2 left-2 z-50 px-4"};function Hd(t,e,n,r,i,s){const a=cn("Notification");return R(),H("div",qd,[N(fa,{name:"slide"},{default:F(()=>[(R(!0),H(Le,null,nt(t.notifications,o=>(R(),q(a,{key:o.id,notification:o,class:"mt-2"},null,8,["notification"]))),128))]),_:1})])}const Vd=ie(Yd,[["render",Hd],["__scopeId","data-v-3920bbe9"]]),jd={class:"pb-3 text-sm"},Wd={class:"text-sm font-medium"},Qd=["src"],Kd={class:"capitalize"},Xd={class:"text-sm"},Zd=re({__name:"ThirdPartyServicesModal",props:{isVisible:{type:Boolean}},emits:["close"],setup(t,{emit:e}){const n=["the-graph"];return(r,i)=>{const s=Xa,a=un;return R(),q(a,{show:r.isVisible,title:"Use of 3rd party services",class:"third-parties",onClose:i[0]||(i[0]=o=>e("close"))},{default:F(()=>[w("p",jd,z(r.$t("policies.balancerThirdPartyInfo"))+".",1),N(s,{vertical:"",class:"pb-2"},{default:F(()=>[w("span",Wd,z(r.$t("policies.usesFollowing"))+" "+z(r.$t("policies.thirdPartyServices"))+": ",1),N(s,{vertical:"",class:"pl-2"},{default:F(()=>[(R(),H(Le,null,nt(n,o=>N(s,{key:o,spacing:"base",horizontal:"",align:"start"},{default:F(()=>[w("img",{width:"36",height:"36",src:I(Za)(o),alt:"Symmetric 3rd party service",class:"mt-1"},null,8,Qd),N(s,{vertical:"",spacing:"none"},{default:F(()=>[w("h6",Kd,z(o.replaceAll("-"," ")),1),w("span",Xd,z(r.$t(`services.${o}`)),1)]),_:2},1024)]),_:2},1024)),64))]),_:1})]),_:1})]),_:1},8,["show"])}}});const Jd=ie(Zd,[["__scopeId","data-v-394e149a"]]),ef={class:"flex items-center",style:{width:"70%"}},tf=["src"],nf={class:"text-base text-gray-700 dark:text-white"},rf={class:"capitalize"},sf=re({__name:"WalletButton",props:{wallet:{}},setup(t){const e=t,{connectWallet:n,toggleWalletSelectModal:r}=kt();function i(){n(e.wallet),r(!1)}return(s,a)=>(R(),H("button",{class:"wallet-connect-btn",onClick:i},[w("div",ef,[w("img",{src:I(Ja)(s.wallet),class:"mr-4 w-10 h-10"},null,8,tf),w("h5",nf,[w("span",rf,z(I(ha)[s.wallet]),1)])])]))}});var rn={},af={get exports(){return rn},set exports(t){rn=t}};(function(t,e){(function(n,r){var i="1.0.35",s="",a="?",o="function",c="undefined",l="object",m="string",_="major",f="model",h="name",u="type",d="vendor",p="version",S="architecture",$="console",y="mobile",v="tablet",O="smarttv",k="wearable",W="embedded",T=350,le="Amazon",we="Apple",Dt="ASUS",Ye="BlackBerry",Te="Browser",Ae="Chrome",he="Edge",ee="Firefox",se="Google",Ce="Huawei",te="LG",de="Microsoft",at="Motorola",Nt="Opera",_n="Samsung",wr="Sharp",It="Sony",gn="Xiaomi",vn="Zebra",Sr="Facebook",Er="Chromium OS",Tr="Mac OS",Bs=function(D,U){var x={};for(var P in D)U[P]&&U[P].length%2===0?x[P]=U[P].concat(D[P]):x[P]=D[P];return x},Mt=function(D){for(var U={},x=0;x<D.length;x++)U[D[x].toUpperCase()]=D[x];return U},Cr=function(D,U){return typeof D===m?ot(U).indexOf(ot(D))!==-1:!1},ot=function(D){return D.toLowerCase()},Ps=function(D){return typeof D===m?D.replace(/[^\d\.]/g,s).split(".")[0]:r},yn=function(D,U){if(typeof D===m)return D=D.replace(/^\s\s*/,s),typeof U===c?D:D.substring(0,T)},ct=function(D,U){for(var x=0,P,ke,ve,A,C,ye;x<U.length&&!C;){var wn=U[x],xr=U[x+1];for(P=ke=0;P<wn.length&&!C&&wn[P];)if(C=wn[P++].exec(D),C)for(ve=0;ve<xr.length;ve++)ye=C[++ke],A=xr[ve],typeof A===l&&A.length>0?A.length===2?typeof A[1]==o?this[A[0]]=A[1].call(this,ye):this[A[0]]=A[1]:A.length===3?typeof A[1]===o&&!(A[1].exec&&A[1].test)?this[A[0]]=ye?A[1].call(this,ye,A[2]):r:this[A[0]]=ye?ye.replace(A[1],A[2]):r:A.length===4&&(this[A[0]]=ye?A[3].call(this,ye.replace(A[1],A[2])):r):this[A]=ye||r;x+=2}},bn=function(D,U){for(var x in U)if(typeof U[x]===l&&U[x].length>0){for(var P=0;P<U[x].length;P++)if(Cr(U[x][P],D))return x===a?r:x}else if(Cr(U[x],D))return x===a?r:x;return D},Fs={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},kr={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},Rr={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[p,[h,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[p,[h,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[h,p],[/opios[\/ ]+([\w\.]+)/i],[p,[h,Nt+" Mini"]],[/\bopr\/([\w\.]+)/i],[p,[h,Nt]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\w\.]+)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[h,p],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[p,[h,"UC"+Te]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i],[p,[h,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[p,[h,"WeChat"]],[/konqueror\/([\w\.]+)/i],[p,[h,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[p,[h,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[p,[h,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[h,/(.+)/,"$1 Secure "+Te],p],[/\bfocus\/([\w\.]+)/i],[p,[h,ee+" Focus"]],[/\bopt\/([\w\.]+)/i],[p,[h,Nt+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[p,[h,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[p,[h,"Dolphin"]],[/coast\/([\w\.]+)/i],[p,[h,Nt+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[p,[h,"MIUI "+Te]],[/fxios\/([-\w\.]+)/i],[p,[h,ee]],[/\bqihu|(qi?ho?o?|360)browser/i],[[h,"360 "+Te]],[/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i],[[h,/(.+)/,"$1 "+Te],p],[/(comodo_dragon)\/([\w\.]+)/i],[[h,/_/g," "],p],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[h,p],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i,/\[(linkedin)app\]/i],[h],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[h,Sr],p],[/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[h,p],[/\bgsa\/([\w\.]+) .*safari\//i],[p,[h,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[p,[h,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[p,[h,Ae+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[h,Ae+" WebView"],p],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[p,[h,"Android "+Te]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[h,p],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[p,[h,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[p,h],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[h,[p,bn,Fs]],[/(webkit|khtml)\/([\w\.]+)/i],[h,p],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[h,"Netscape"],p],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[p,[h,ee+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[h,p],[/(cobalt)\/([\w\.]+)/i],[h,[p,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[S,"amd64"]],[/(ia32(?=;))/i],[[S,ot]],[/((?:i[346]|x)86)[;\)]/i],[[S,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[S,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[S,"armhf"]],[/windows (ce|mobile); ppc;/i],[[S,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[S,/ower/,s,ot]],[/(sun4\w)[;\)]/i],[[S,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[S,ot]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[f,[d,_n],[u,v]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[f,[d,_n],[u,y]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[f,[d,we],[u,y]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[f,[d,we],[u,v]],[/(macintosh);/i],[f,[d,we]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[f,[d,wr],[u,y]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[f,[d,Ce],[u,v]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[f,[d,Ce],[u,y]],[/\b(poco[\w ]+)(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[f,/_/g," "],[d,gn],[u,y]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[f,/_/g," "],[d,gn],[u,v]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[f,[d,"OPPO"],[u,y]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[f,[d,"Vivo"],[u,y]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[f,[d,"Realme"],[u,y]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[f,[d,at],[u,y]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[f,[d,at],[u,v]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[f,[d,te],[u,v]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[f,[d,te],[u,y]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[f,[d,"Lenovo"],[u,v]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[f,/_/g," "],[d,"Nokia"],[u,y]],[/(pixel c)\b/i],[f,[d,se],[u,v]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[f,[d,se],[u,y]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[f,[d,It],[u,y]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[f,"Xperia Tablet"],[d,It],[u,v]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[f,[d,"OnePlus"],[u,y]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[f,[d,le],[u,v]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[f,/(.+)/g,"Fire Phone $1"],[d,le],[u,y]],[/(playbook);[-\w\),; ]+(rim)/i],[f,d,[u,v]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[f,[d,Ye],[u,y]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[f,[d,Dt],[u,v]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[f,[d,Dt],[u,y]],[/(nexus 9)/i],[f,[d,"HTC"],[u,v]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[d,[f,/_/g," "],[u,y]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[f,[d,"Acer"],[u,v]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[f,[d,"Meizu"],[u,y]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[d,f,[u,y]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[d,f,[u,v]],[/(surface duo)/i],[f,[d,de],[u,v]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[f,[d,"Fairphone"],[u,y]],[/(u304aa)/i],[f,[d,"AT&T"],[u,y]],[/\bsie-(\w*)/i],[f,[d,"Siemens"],[u,y]],[/\b(rct\w+) b/i],[f,[d,"RCA"],[u,v]],[/\b(venue[\d ]{2,7}) b/i],[f,[d,"Dell"],[u,v]],[/\b(q(?:mv|ta)\w+) b/i],[f,[d,"Verizon"],[u,v]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[f,[d,"Barnes & Noble"],[u,v]],[/\b(tm\d{3}\w+) b/i],[f,[d,"NuVision"],[u,v]],[/\b(k88) b/i],[f,[d,"ZTE"],[u,v]],[/\b(nx\d{3}j) b/i],[f,[d,"ZTE"],[u,y]],[/\b(gen\d{3}) b.+49h/i],[f,[d,"Swiss"],[u,y]],[/\b(zur\d{3}) b/i],[f,[d,"Swiss"],[u,v]],[/\b((zeki)?tb.*\b) b/i],[f,[d,"Zeki"],[u,v]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[d,"Dragon Touch"],f,[u,v]],[/\b(ns-?\w{0,9}) b/i],[f,[d,"Insignia"],[u,v]],[/\b((nxa|next)-?\w{0,9}) b/i],[f,[d,"NextBook"],[u,v]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[d,"Voice"],f,[u,y]],[/\b(lvtel\-)?(v1[12]) b/i],[[d,"LvTel"],f,[u,y]],[/\b(ph-1) /i],[f,[d,"Essential"],[u,y]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[f,[d,"Envizen"],[u,v]],[/\b(trio[-\w\. ]+) b/i],[f,[d,"MachSpeed"],[u,v]],[/\btu_(1491) b/i],[f,[d,"Rotor"],[u,v]],[/(shield[\w ]+) b/i],[f,[d,"Nvidia"],[u,v]],[/(sprint) (\w+)/i],[d,f,[u,y]],[/(kin\.[onetw]{3})/i],[[f,/\./g," "],[d,de],[u,y]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[f,[d,vn],[u,v]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[f,[d,vn],[u,y]],[/smart-tv.+(samsung)/i],[d,[u,O]],[/hbbtv.+maple;(\d+)/i],[[f,/^/,"SmartTV"],[d,_n],[u,O]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[d,te],[u,O]],[/(apple) ?tv/i],[d,[f,we+" TV"],[u,O]],[/crkey/i],[[f,Ae+"cast"],[d,se],[u,O]],[/droid.+aft(\w)( bui|\))/i],[f,[d,le],[u,O]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[f,[d,wr],[u,O]],[/(bravia[\w ]+)( bui|\))/i],[f,[d,It],[u,O]],[/(mitv-\w{5}) bui/i],[f,[d,gn],[u,O]],[/Hbbtv.*(technisat) (.*);/i],[d,f,[u,O]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[d,yn],[f,yn],[u,O]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[u,O]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[d,f,[u,$]],[/droid.+; (shield) bui/i],[f,[d,"Nvidia"],[u,$]],[/(playstation [345portablevi]+)/i],[f,[d,It],[u,$]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[f,[d,de],[u,$]],[/((pebble))app/i],[d,f,[u,k]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[f,[d,we],[u,k]],[/droid.+; (glass) \d/i],[f,[d,se],[u,k]],[/droid.+; (wt63?0{2,3})\)/i],[f,[d,vn],[u,k]],[/(quest( 2| pro)?)/i],[f,[d,Sr],[u,k]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[d,[u,W]],[/(aeobc)\b/i],[f,[d,le],[u,W]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[f,[u,y]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[f,[u,v]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[u,v]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[u,y]],[/(android[-\w\. ]{0,9});.+buil/i],[f,[d,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[p,[h,he+"HTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[p,[h,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[h,p],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[p,h]],os:[[/microsoft (windows) (vista|xp)/i],[h,p],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[h,[p,bn,kr]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[h,"Windows"],[p,bn,kr]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/ios;fbsv\/([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[p,/_/g,"."],[h,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[h,Tr],[p,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[p,h],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[h,p],[/\(bb(10);/i],[p,[h,Ye]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[p,[h,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[p,[h,ee+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[p,[h,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[p,[h,"watchOS"]],[/crkey\/([\d\.]+)/i],[p,[h,Ae+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[h,Er],p],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[h,p],[/(sunos) ?([\w\.\d]*)/i],[[h,"Solaris"],p],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[h,p]]},pe=function(D,U){if(typeof D===l&&(U=D,D=r),!(this instanceof pe))return new pe(D,U).getResult();var x=typeof n!==c&&n.navigator?n.navigator:r,P=D||(x&&x.userAgent?x.userAgent:s),ke=x&&x.userAgentData?x.userAgentData:r,ve=U?Bs(Rr,U):Rr,A=x&&x.userAgent==P;return this.getBrowser=function(){var C={};return C[h]=r,C[p]=r,ct.call(C,P,ve.browser),C[_]=Ps(C[p]),A&&x&&x.brave&&typeof x.brave.isBrave==o&&(C[h]="Brave"),C},this.getCPU=function(){var C={};return C[S]=r,ct.call(C,P,ve.cpu),C},this.getDevice=function(){var C={};return C[d]=r,C[f]=r,C[u]=r,ct.call(C,P,ve.device),A&&!C[u]&&ke&&ke.mobile&&(C[u]=y),A&&C[f]=="Macintosh"&&x&&typeof x.standalone!==c&&x.maxTouchPoints&&x.maxTouchPoints>2&&(C[f]="iPad",C[u]=v),C},this.getEngine=function(){var C={};return C[h]=r,C[p]=r,ct.call(C,P,ve.engine),C},this.getOS=function(){var C={};return C[h]=r,C[p]=r,ct.call(C,P,ve.os),A&&!C[h]&&ke&&ke.platform!="Unknown"&&(C[h]=ke.platform.replace(/chrome os/i,Er).replace(/macos/i,Tr)),C},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return P},this.setUA=function(C){return P=typeof C===m&&C.length>T?yn(C,T):C,this},this.setUA(P),this};pe.VERSION=i,pe.BROWSER=Mt([h,p,_]),pe.CPU=Mt([S]),pe.DEVICE=Mt([f,d,u,$,y,O,v,k,W]),pe.ENGINE=pe.OS=Mt([h,p]),t.exports&&(e=t.exports=pe),e.UAParser=pe;var qe=typeof n!==c&&(n.jQuery||n.Zepto);if(qe&&!qe.ua){var At=new pe;qe.ua=At.getResult(),qe.ua.get=function(){return At.getUA()},qe.ua.set=function(D){At.setUA(D);var U=At.getResult();for(var x in U)qe.ua[x]=U[x]}}})(typeof window=="object"?window:zi)})(af,rn);function Is(){const t=new rn.UAParser(window.navigator.userAgent),{type:e}=t.getDevice(),n=e==="mobile"||e==="tablet";function r(){switch(t.getOS().name){case"iOS":return"iOS";case"Android":return"Android";default:return"Unknown"}}const i=r()==="iOS",s=r()==="Android";return{isMobile:n,isIos:i,isAndroid:s}}const of=["isRabby","isBraveWallet","isTrustWallet","isLedgerConnect"];function cf(){const{isMobile:t}=Is();function e(){var r;return Boolean(((r=window.ethereum)==null?void 0:r.isMetaMask)&&!of.some(i=>{var s;return(s=window.ethereum)==null?void 0:s[i]}))}function n(){return t&&e()}return{getIsMetaMaskWallet:e,getIsMetaMaskBrowser:n}}const uf={class:"pb-3 pl-1 -mt-1 mb-2 text-base"},lf={className:"link"},df={className:"link"},ff={className:"link"},hf={className:"link"},pf=re({__name:"WalletSelectModal",props:{isVisible:{type:Boolean,default:!1},onShowThirdParty:{}},emits:["close"],setup(t,{emit:e}){const n=t,{isMobile:r}=Is(),{getIsMetaMaskBrowser:i}=cf(),s=pa.filter(m=>m==="metamask"&&r&&!i()||m!=="metamask"&&i()?!1:m!=="safe"),a=localStorage.getItem(Yr.App.TermsAccepted),o=fe(a||"0"),c=wt(()=>o.value==="1");function l(){o.value=c.value?"0":"1",localStorage.setItem(Yr.App.TermsAccepted,o.value)}return(m,_)=>{const f=cn("router-link"),h=or,u=eo,d=un;return R(),q(d,{show:n.isVisible,title:"Connect to a wallet",onClose:_[5]||(_[5]=p=>e("close"))},{default:F(()=>[N(u,{checked:I(c),value:"bal-rules",name:"bal-rules",size:"lg","onUpdate:modelValue":l},{label:F(()=>[w("p",uf,[Ue(z(m.$t("byConnectingWallet"))+" ",1),N(f,{to:{name:"terms-of-use"},target:"_blank",onClick:_[0]||(_[0]=ut(()=>{},["stop"]))},{default:F(()=>[w("span",lf,z(m.$t("policies.termsOfUse")),1),Ue(", ")]),_:1}),N(f,{to:{name:"risks"},target:"_blank",onClick:_[1]||(_[1]=ut(()=>{},["stop"]))},{default:F(()=>[w("span",df,z(m.$t("policies.risks")),1),Ue(", ")]),_:1}),N(f,{to:{name:"cookies-policy"},target:"_blank",onClick:_[2]||(_[2]=ut(()=>{},["stop"]))},{default:F(()=>[w("span",ff,z(m.$t("policies.cookiesPolicy")),1)]),_:1}),Ue(", "),w("span",null,z(m.$t("useOf"))+" ",1),w("button",{onClick:_[3]||(_[3]=ut((...p)=>m.onShowThirdParty&&m.onShowThirdParty(...p),["stop"]))},[N(h,null,{default:F(()=>[w("span",null,z(m.$t("policies.thirdPartyServices")),1)]),_:1})]),Ue(" "+z(m.$t("and"))+" ",1),N(f,{to:{name:"privacy-policy"},target:"_blank",onClick:_[4]||(_[4]=ut(()=>{},["stop"]))},{default:F(()=>[w("span",hf,z(m.$t("policies.privacyPolicy")),1),Ue(". ")]),_:1})])]),_:1},8,["checked"]),w("div",{class:$i([!I(c)&&"grayscale pointer-events-none opacity-20","transition-opacity duration-200"])},[(R(!0),H(Le,null,nt(I(s),p=>(R(),q(sf,{key:p,wallet:p},null,8,["wallet"]))),128))],2)]),_:1},8,["show"])}}}),mf=["0x7Db418b5D567A4e0E8c59Ad71BE1FcE48f3E6107","0x72a5843cc08275C8171E582972Aa4fDa8C397B2A","0x7F19720A857F834887FC9A7bC0a0fBe7Fc7f8102","0xA7e5d5A720f06526557c513402f2e6B5fA20b008","0x1da5821544e25c636c1417Ba96Ade4Cf6D2f9B5A","0x9F4cda013E354b8fC285BF4b9A60460cEe7f7Ea9","0x19Aa5Fe80D33a56D56c78e82eA5E50E5d80b4Dff","0x2f389cE8bD8ff92De3402FFCe4691d17fC4f6535","0xe7aa314c77F4233C18C6CC84384A9247c0cf367B","0x7F367cC41522cE07553e823bf3be79A889DEbe1B","0xd882cFc20F52f2599D84b8e8D58C7FB62cfE344b","0x901bb9583b24D97e995513C6778dc6888AB6870e","0x8576aCC5C05D6Ce88f4e49bf65BdF0C62F91353C","0xC8a65Fadf0e0dDAf421F28FEAb69Bf6E2E589963","0x308eD4B7b49797e1A98D3818bFF6fe5385410370"];function _f(){return Intl.DateTimeFormat().resolvedOptions().timeZone}function gf(){return _f()==="Europe/London"}function vf(){const{t}=Rt(),e=st(),{appNetworkConfig:n,chainId:r,account:i,isMismatchedNetwork:s,isUnsupportedNetwork:a,blockNumber:o,connectToAppNetwork:c,isWalletReady:l,disconnectWallet:m,isSubgraphUnsynced:_}=kt(),{addAlert:f,removeAlert:h}=ln(),{handlePendingTransactions:u}=Ca();async function d(){await _()?f({id:"subgraph-unsynced",label:t("subgraphUnsynced"),type:Oe.ERROR,persistent:!0,action:void 0,actionLabel:void 0,priority:De.HIGH}):h("subgraph-unsynced")}function p(){r.value&&(a.value||s.value)?f({id:"network-mismatch",label:t("networkMismatch",[n.name]),type:Oe.ERROR,persistent:!0,action:c,actionLabel:t("switchNetwork"),priority:De.HIGH}):h("network-mismatch")}function S(){gf()?f({id:"uk-disclaimer",label:t("ukDisclaimer"),type:Oe.INFO,persistent:!0,action:()=>e.push("/uk-disclaimer"),actionLabel:t("viewUkDisclaimer"),priority:De.MEDIUM}):h("uk-disclaimer")}ce(r,()=>{p()}),ce(l,()=>{p(),d(),S()}),ce(o,async()=>{l.value&&u()}),ce(i,()=>{Pi(mf,i.value)&&m()})}const yf={class:"whitespace-pre-line"},bf={class:"grid grid-cols-2 grid-rows-1 gap-4 mt-4"},wf=re({__name:"VeBalRedirectModal",setup(t){const e=fe(),{showRedirectModal:n,setShowRedirectModal:r}=Gi(),i=st();function s(){var a;(a=e==null?void 0:e.value)==null||a.hide()}return(a,o)=>{const c=ma;return R(),q(un,{ref_key:"redirectModal",ref:e,show:I(n),onClose:o[1]||(o[1]=l=>I(r)(!1))},{header:F(()=>[w("h3",null,z(a.$t("modals.veBalRedirectModal.title")),1)]),default:F(()=>[w("div",null,[w("p",yf,z(a.$t("modals.veBalRedirectModal.description")),1),w("div",bf,[N(c,{tag:"a",label:a.$t("proceed"),color:"gradient",onClick:o[0]||(o[0]=l=>I(i).push({name:"vesymm",params:{networkSlug:I(Fa)(I(za).TELOS)}}))},null,8,["label"]),N(c,{color:"gray",label:a.$t("cancel"),outline:"",onClick:s},null,8,["label"])])])]),_:1},8,["show"])}}}),Sf=re({__name:"GlobalModalContainer",setup(t){return(e,n)=>(R(),q($a,{to:"#modal"},[N(wf)]))}}),Ms=fe(!1);function Ef(t){Ms.value=t}function br(){return{sidebarOpen:Ms,setSidebarOpen:Ef}}const Tf={},Cf={width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},kf=Ui('<g clip-path="url(#clip0)"><path d="M12.9767 17C15.7381 17 17.9767 14.7614 17.9767 12C17.9767 9.23858 15.7381 7 12.9767 7C10.2153 7 7.97668 9.23858 7.97668 12C7.97668 14.7614 10.2153 17 12.9767 17Z" fill="url(#sun-gradient-0)"></path><path d="M12.9767 1V3" stroke="url(#sun-gradient-1)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M12.9767 21V23" stroke="url(#sun-gradient-2)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M5.19669 4.22L6.61669 5.64" stroke="url(#sun-gradient-3)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M19.3367 18.36L20.7567 19.78" stroke="url(#sun-gradient-4)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M1.97668 12H3.97668" stroke="url(#sun-gradient-5)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M21.9767 12H23.9767" stroke="url(#sun-gradient-6)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M5.19669 19.78L6.61669 18.36" stroke="url(#sun-gradient-7)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M19.3367 5.64L20.7567 4.22" stroke="url(#sun-gradient-8)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></g><defs><linearGradient id="sun-gradient-0" x1="12.9767" y1="7" x2="12.9767" y2="17" gradientUnits="userSpaceOnUse"><stop stop-color="#EF7744"></stop><stop offset="1" stop-color="#FFB800"></stop></linearGradient><linearGradient id="sun-gradient-1" x1="13.4767" y1="1" x2="13.4767" y2="3" gradientUnits="userSpaceOnUse"><stop stop-color="#F09744"></stop><stop offset="1" stop-color="#FBBE25"></stop></linearGradient><linearGradient id="sun-gradient-2" x1="13.4767" y1="21" x2="13.4767" y2="23" gradientUnits="userSpaceOnUse"><stop stop-color="#F09744"></stop><stop offset="1" stop-color="#FBBE25"></stop></linearGradient><linearGradient id="sun-gradient-3" x1="5.90669" y1="4.22" x2="5.90669" y2="5.64" gradientUnits="userSpaceOnUse"><stop stop-color="#F09744"></stop><stop offset="1" stop-color="#FBBE25"></stop></linearGradient><linearGradient id="sun-gradient-4" x1="20.0467" y1="18.36" x2="20.0467" y2="19.78" gradientUnits="userSpaceOnUse"><stop stop-color="#F09744"></stop><stop offset="1" stop-color="#FBBE25"></stop></linearGradient><linearGradient id="sun-gradient-5" x1="2.97668" y1="12" x2="2.97668" y2="13" gradientUnits="userSpaceOnUse"><stop stop-color="#F09744"></stop><stop offset="1" stop-color="#FBBE25"></stop></linearGradient><linearGradient id="sun-gradient-6" x1="22.9767" y1="12" x2="22.9767" y2="13" gradientUnits="userSpaceOnUse"><stop stop-color="#F09744"></stop><stop offset="1" stop-color="#FBBE25"></stop></linearGradient><linearGradient id="sun-gradient-7" x1="5.90669" y1="18.36" x2="5.90669" y2="19.78" gradientUnits="userSpaceOnUse"><stop stop-color="#F09744"></stop><stop offset="1" stop-color="#FBBE25"></stop></linearGradient><linearGradient id="sun-gradient-8" x1="20.0467" y1="4.22" x2="20.0467" y2="5.64" gradientUnits="userSpaceOnUse"><stop stop-color="#F09744"></stop><stop offset="1" stop-color="#FBBE25"></stop></linearGradient><clipPath id="clip0"><rect width="24" height="24" fill="white" transform="translate(0.976685)"></rect></clipPath></defs>',2),Rf=[kf];function xf(t,e){return R(),H("svg",Cf,Rf)}const Of=ie(Tf,[["render",xf]]),Df={},Nf={width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},If=w("path",{d:"M21.9767 12.79C21.8194 14.4922 21.1805 16.1144 20.1349 17.4668C19.0893 18.8192 17.6802 19.8458 16.0724 20.4265C14.4646 21.0073 12.7247 21.1181 11.0562 20.7461C9.3877 20.3741 7.85967 19.5345 6.6509 18.3258C5.44213 17.117 4.60262 15.589 4.23058 13.9205C3.85855 12.252 3.96939 10.5121 4.55014 8.9043C5.13088 7.29651 6.15751 5.88737 7.50989 4.84175C8.86227 3.79614 10.4845 3.15731 12.1867 3C11.1901 4.34827 10.7105 6.00945 10.8352 7.68141C10.9599 9.35338 11.6805 10.9251 12.8661 12.1106C14.0516 13.2961 15.6233 14.0168 17.2953 14.1415C18.9672 14.2662 20.6284 13.7866 21.9767 12.79Z",fill:"url(#moon-gradient)"},null,-1),Mf=w("defs",null,[w("linearGradient",{id:"moon-gradient",x1:"13.9768",y1:"8.5",x2:"6.47678",y2:"23",gradientUnits:"userSpaceOnUse"},[w("stop",{"stop-color":"#FFFDEB"}),w("stop",{offset:"1","stop-color":"#FFB800"})])],-1),Af=[If,Mf];function $f(t,e){return R(),H("svg",Nf,Af)}const Uf=ie(Df,[["render",$f]]),As=t=>(Ua("data-v-9062fdf1"),t=t(),Ba(),t),Bf={class:"flex items-center sm:mr-4 app-logo"},Pf={id:"logo",viewBox:"0 0 300 34",height:"25",class:"logo-svg",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":"logoTitle logoDesc",role:"img"},Ff=As(()=>w("title",{id:"logoTitle"},"Balancer logo homepage link",-1)),zf=As(()=>w("desc",{id:"logoDesc"},"Balancer Logotype homepage link",-1)),Gf=["fill"],Lf=Ui('<path d="M33.0872 5.62108C33.0872 5.62108 32.8628 5.3405 31.6971 5.3469C30.5314 5.3533 17.5169 5.3469 17.5169 5.3469L20.4363 0.000257252C20.4363 0.000257252 24.9818 -0.000321565 26.8313 0.000257252C28.7843 0.000866533 30.0305 0.620399 31.2799 2.60513C32.2281 4.11082 32.4865 4.55575 33.0872 5.62108Z" data-v-9062fdf1></path><path d="M15.4317 0.000254711C15.4317 0.000254711 8.82451 11.5113 8.06348 12.8872C7.30246 14.2631 6.80819 14.6521 6.81236 15.9033C6.81653 17.1545 7.07648 19.071 9.87082 19.0565C9.87082 19.0565 23.5933 19.0702 24.8849 19.0565C25.9781 19.0448 26.2921 19.2429 26.2752 19.6048C26.2584 19.9668 25.7739 20.6592 25.1631 21.6613C24.9084 22.079 24.6129 22.5652 24.3289 23.0322C23.9318 23.6854 23.6326 24.2666 22.7997 24.266C22.7997 24.266 7.20747 24.275 5.56123 24.266C3.58353 24.2553 2.81169 23.9067 1.52956 21.6613C0.247438 19.416 0.0160266 19.1875 0.000410746 17.5484C-0.0152052 15.9092 0.41302 15.4966 1.52964 13.5727C2.64626 11.6487 6.39987 5.14827 7.78553 2.87931C9.17119 0.610343 10.7025 -0.000369803 12.6513 0.000254711H15.4317Z" data-v-9062fdf1></path><path d="M5.56124 28.3799C5.56124 28.3799 5.78551 28.6604 6.95138 28.654C8.11724 28.6476 21.1314 28.654 21.1314 28.654L18.212 33.9997C18.212 33.9997 13.6665 34.0003 11.817 33.9997C9.86418 33.9991 8.618 33.3796 7.36842 31.3954C6.42034 29.8898 6.16193 29.445 5.56124 28.3799Z" data-v-9062fdf1></path><path d="M23.2168 33.9997C23.2168 33.9997 29.8239 22.4909 30.5848 21.1151C31.3457 19.7393 31.8401 19.3505 31.8361 18.0996C31.8321 16.8488 31.572 14.9326 28.7776 14.947C28.7776 14.947 15.0549 14.9332 13.7634 14.947C12.6704 14.9586 12.3564 14.7604 12.3732 14.3987C12.39 14.0369 12.8746 13.3445 13.4853 12.3427C13.7399 11.925 14.0355 11.4388 14.3194 10.9719C14.7167 10.3188 15.0159 9.73769 15.8487 9.7383C15.8487 9.7383 31.441 9.72931 33.0872 9.7383C35.0649 9.74896 35.8368 10.0976 37.1188 12.3427C38.4008 14.5877 38.6323 14.8159 38.6481 16.4547C38.6638 18.0935 38.2355 18.5062 37.1188 20.4298C36.002 22.3535 32.2487 28.8527 30.8628 31.1213C29.477 33.39 27.9459 34.0003 25.9972 33.9997H23.2168Z" data-v-9062fdf1></path><path d="M58.5162 13.0567C58.4477 12.3749 58.1534 11.8452 57.6334 11.4677C57.1134 11.0901 56.4077 10.9013 55.5163 10.9013C54.9106 10.9013 54.3992 10.9859 53.9821 11.1549C53.565 11.3183 53.245 11.5465 53.0221 11.8396C52.805 12.1326 52.6964 12.465 52.6964 12.8369C52.685 13.1469 52.7507 13.4173 52.8936 13.6484C53.0421 13.8794 53.245 14.0794 53.5021 14.2485C53.7593 14.4119 54.0564 14.5556 54.3935 14.6796C54.7307 14.7979 55.0906 14.8993 55.4735 14.9838L57.0506 15.3558C57.8163 15.5248 58.5191 15.7502 59.1591 16.0319C59.799 16.3137 60.3533 16.6602 60.8219 17.0716C61.2904 17.4829 61.6533 17.9675 61.9104 18.5254C62.1732 19.0833 62.3075 19.7228 62.3132 20.4441C62.3075 21.5035 62.0333 22.422 61.4904 23.1996C60.9533 23.9716 60.1762 24.5717 59.1591 24.9999C58.1477 25.4226 56.9277 25.6339 55.4992 25.6339C54.0821 25.6339 52.8479 25.4197 51.7965 24.9915C50.7508 24.5632 49.9337 23.9293 49.3451 23.0897C48.7623 22.2445 48.4566 21.1992 48.428 19.9539H52.0193C52.0593 20.5343 52.2279 21.0189 52.525 21.4077C52.8279 21.7908 53.2307 22.081 53.7335 22.2783C54.2421 22.4699 54.8164 22.5657 55.4563 22.5657C56.0849 22.5657 56.6306 22.4755 57.0934 22.2952C57.562 22.1149 57.9248 21.8641 58.182 21.5429C58.4391 21.2217 58.5677 20.8526 58.5677 20.4356C58.5677 20.0468 58.4505 19.72 58.2162 19.4552C57.9877 19.1903 57.6505 18.9649 57.2048 18.779C56.7649 18.593 56.2249 18.424 55.5849 18.2718L53.6735 17.7985C52.1936 17.4435 51.0251 16.8885 50.168 16.1334C49.3108 15.3783 48.8851 14.3612 48.8909 13.0821C48.8851 12.034 49.168 11.1183 49.7394 10.335C50.3165 9.55177 51.1079 8.94038 52.1136 8.50086C53.1193 8.06133 54.2621 7.84157 55.5421 7.84157C56.8449 7.84157 57.982 8.06133 58.9534 8.50086C59.9305 8.94038 60.6904 9.55177 61.2333 10.335C61.7761 11.1183 62.0561 12.0255 62.0733 13.0567H58.5162Z" data-v-9062fdf1></path><path d="M66.9952 30.2573C66.5324 30.2573 66.0981 30.2207 65.6924 30.1475C65.2924 30.0798 64.961 29.9925 64.6982 29.8854L65.521 27.1976C65.9495 27.3272 66.3352 27.3976 66.6781 27.4089C67.0266 27.4201 67.3266 27.3413 67.5781 27.1722C67.8352 27.0032 68.0438 26.7158 68.2038 26.3101L68.418 25.7607L63.6953 12.4059H67.5352L70.2608 21.9402H70.398L73.1493 12.4059H77.0149L71.8979 26.7919C71.6522 27.4906 71.3179 28.0992 70.8951 28.6176C70.478 29.1416 69.9494 29.5445 69.3094 29.8263C68.6694 30.1136 67.898 30.2573 66.9952 30.2573Z" data-v-9062fdf1></path><path d="M78.8834 25.3888V12.4059H82.3633V14.6965H82.5175C82.7918 13.9358 83.2489 13.3356 83.8889 12.8961C84.5289 12.4566 85.2946 12.2368 86.186 12.2368C87.0888 12.2368 87.8573 12.4594 88.4916 12.9046C89.1259 13.3441 89.5487 13.9414 89.7601 14.6965H89.8973C90.1658 13.9527 90.6515 13.3582 91.3544 12.913C92.0629 12.4622 92.9 12.2368 93.8657 12.2368C95.0942 12.2368 96.0913 12.6228 96.857 13.3948C97.6284 14.1611 98.0141 15.2487 98.0141 16.6574V25.3888H94.3714V17.3674C94.3714 16.6462 94.1771 16.1052 93.7886 15.7446C93.4 15.3839 92.9143 15.2036 92.3315 15.2036C91.6686 15.2036 91.1515 15.4121 90.7801 15.8291C90.4087 16.2404 90.223 16.7842 90.223 17.4604V25.3888H86.6831V17.2914C86.6831 16.6546 86.4974 16.1475 86.126 15.7699C85.7603 15.3924 85.2774 15.2036 84.6775 15.2036C84.2718 15.2036 83.9061 15.305 83.5804 15.5079C83.2604 15.7051 83.0061 15.9841 82.8175 16.3447C82.629 16.6997 82.5347 17.1167 82.5347 17.5956V25.3888H78.8834Z" data-v-9062fdf1></path><path d="M100.898 25.3888V12.4059H104.378V14.6965H104.532C104.807 13.9358 105.264 13.3356 105.904 12.8961C106.544 12.4566 107.31 12.2368 108.201 12.2368C109.104 12.2368 109.872 12.4594 110.507 12.9046C111.141 13.3441 111.564 13.9414 111.775 14.6965H111.912C112.181 13.9527 112.666 13.3582 113.369 12.913C114.078 12.4622 114.915 12.2368 115.881 12.2368C117.109 12.2368 118.106 12.6228 118.872 13.3948C119.643 14.1611 120.029 15.2487 120.029 16.6574V25.3888H116.386V17.3674C116.386 16.6462 116.192 16.1052 115.804 15.7446C115.415 15.3839 114.929 15.2036 114.346 15.2036C113.684 15.2036 113.166 15.4121 112.795 15.8291C112.424 16.2404 112.238 16.7842 112.238 17.4604V25.3888H108.698V17.2914C108.698 16.6546 108.512 16.1475 108.141 15.7699C107.775 15.3924 107.292 15.2036 106.692 15.2036C106.287 15.2036 105.921 15.305 105.595 15.5079C105.275 15.7051 105.021 15.9841 104.832 16.3447C104.644 16.6997 104.55 17.1167 104.55 17.5956V25.3888H100.898Z" data-v-9062fdf1></path><path d="M128.913 25.6423C127.559 25.6423 126.393 25.3718 125.416 24.8309C124.445 24.2843 123.696 23.5123 123.17 22.5149C122.645 21.5119 122.382 20.3258 122.382 18.9565C122.382 17.621 122.645 16.4489 123.17 15.4403C123.696 14.4316 124.436 13.6456 125.39 13.0821C126.35 12.5186 127.476 12.2368 128.767 12.2368C129.636 12.2368 130.444 12.3749 131.193 12.651C131.947 12.9215 132.604 13.33 133.164 13.8766C133.73 14.4232 134.17 15.1106 134.484 15.939C134.799 16.7617 134.956 17.7252 134.956 18.8297V19.8186H123.839V17.5872H131.519C131.519 17.0688 131.404 16.6095 131.176 16.2094C130.947 15.8094 130.63 15.4966 130.224 15.2712C129.824 15.0402 129.359 14.9247 128.827 14.9247C128.273 14.9247 127.782 15.0515 127.353 15.305C126.93 15.553 126.599 15.8883 126.359 16.3109C126.119 16.7279 125.996 17.1927 125.99 17.7055V19.8271C125.99 20.4695 126.11 21.0245 126.35 21.4922C126.596 21.9599 126.942 22.3205 127.387 22.5741C127.833 22.8277 128.362 22.9545 128.973 22.9545C129.379 22.9545 129.75 22.8981 130.087 22.7854C130.424 22.6727 130.713 22.5037 130.953 22.2783C131.193 22.0529 131.376 21.7768 131.502 21.4499L134.879 21.6697C134.707 22.4699 134.356 23.1686 133.824 23.7659C133.299 24.3576 132.619 24.8196 131.784 25.1521C130.956 25.4789 129.999 25.6423 128.913 25.6423Z" data-v-9062fdf1></path><path d="M144.341 12.4059V15.1106H136.413V12.4059H144.341ZM138.213 9.29539H141.864V21.3992C141.864 21.7317 141.915 21.9909 142.018 22.1768C142.121 22.3572 142.264 22.4839 142.447 22.5572C142.635 22.6305 142.853 22.6671 143.098 22.6671C143.27 22.6671 143.441 22.653 143.613 22.6248C143.784 22.591 143.915 22.5657 144.007 22.5487L144.581 25.2282C144.398 25.2845 144.141 25.3493 143.81 25.4226C143.478 25.5015 143.075 25.5493 142.601 25.5663C141.721 25.6001 140.95 25.4845 140.287 25.2197C139.63 24.9549 139.118 24.5435 138.753 23.9857C138.387 23.4278 138.207 22.7234 138.213 21.8726V9.29539Z" data-v-9062fdf1></path><path d="M146.72 25.3888V12.4059H150.259V14.6711H150.397C150.637 13.8653 151.039 13.2567 151.605 12.8454C152.171 12.4284 152.822 12.2199 153.559 12.2199C153.742 12.2199 153.939 12.2312 154.151 12.2537C154.362 12.2763 154.548 12.3073 154.708 12.3467V15.5417C154.536 15.491 154.299 15.4459 153.996 15.4065C153.694 15.367 153.416 15.3473 153.165 15.3473C152.628 15.3473 152.148 15.4628 151.725 15.6939C151.308 15.9192 150.977 16.2348 150.731 16.6405C150.491 17.0462 150.371 17.5139 150.371 18.0436V25.3888H146.72Z" data-v-9062fdf1></path><path d="M156.596 25.3888V12.4059H160.247V25.3888H156.596ZM158.43 10.7323C157.887 10.7323 157.421 10.5548 157.033 10.1998C156.65 9.83916 156.459 9.40808 156.459 8.90657C156.459 8.4107 156.65 7.98526 157.033 7.63026C157.421 7.26963 157.887 7.08931 158.43 7.08931C158.973 7.08931 159.436 7.26963 159.818 7.63026C160.207 7.98526 160.401 8.4107 160.401 8.90657C160.401 9.40808 160.207 9.83916 159.818 10.1998C159.436 10.5548 158.973 10.7323 158.43 10.7323Z" data-v-9062fdf1></path><path d="M169.12 25.6423C167.772 25.6423 166.612 25.3606 165.64 24.7971C164.675 24.228 163.932 23.4391 163.412 22.4304C162.898 21.4218 162.64 20.261 162.64 18.948C162.64 17.6182 162.9 16.4517 163.42 15.4487C163.946 14.4401 164.692 13.654 165.657 13.0905C166.623 12.5214 167.772 12.2368 169.103 12.2368C170.252 12.2368 171.257 12.4425 172.12 12.8538C172.983 13.2652 173.666 13.8428 174.169 14.5866C174.671 15.3304 174.949 16.2038 175 17.2068H171.554C171.457 16.5588 171.2 16.0376 170.783 15.6431C170.372 15.2431 169.832 15.043 169.163 15.043C168.597 15.043 168.103 15.1952 167.68 15.4994C167.263 15.7981 166.937 16.2348 166.703 16.8096C166.469 17.3843 166.352 18.0802 166.352 18.8973C166.352 19.7256 166.466 20.43 166.695 21.0104C166.929 21.5908 167.257 22.0332 167.68 22.3374C168.103 22.6417 168.597 22.7939 169.163 22.7939C169.58 22.7939 169.954 22.7093 170.286 22.5403C170.623 22.3712 170.9 22.1261 171.117 21.8049C171.34 21.4781 171.486 21.0865 171.554 20.6301H175C174.943 21.6218 174.669 22.4952 174.177 23.2503C173.691 23.9997 173.02 24.5858 172.163 25.0084C171.306 25.431 170.292 25.6423 169.12 25.6423Z" data-v-9062fdf1></path>',13),Yf=[Lf],qf=re({__name:"AppLogo",props:{forceDark:{type:Boolean,default:!1}},setup(t){const e=t,{darkMode:n}=ar(),r=Wa(),i=wt(()=>e.forceDark||n.value?r.theme.colors.white:r.theme.colors.gray[900]);return(s,a)=>(R(),H("div",Bf,[(R(),H("svg",Pf,[Ff,zf,w("g",{fill:I(i),"fill-rule":"nonzero",class:"svg-path"},Yf,8,Gf)]))]))}});const Hf=ie(qf,[["__scopeId","data-v-9062fdf1"]]),Vf={},jf={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},Wf=w("path",{d:"M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"},null,-1),Qf=[Wf];function Kf(t,e){return R(),H("svg",jf,Qf)}const Xf=ie(Vf,[["render",Kf]]),Zf={},Jf={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 512"},eh=w("path",{d:"M524.531,69.836a1.5,1.5,0,0,0-.764-.7A485.065,485.065,0,0,0,404.081,32.03a1.816,1.816,0,0,0-1.923.91,337.461,337.461,0,0,0-14.9,30.6,447.848,447.848,0,0,0-134.426,0,309.541,309.541,0,0,0-15.135-30.6,1.89,1.89,0,0,0-1.924-.91A483.689,483.689,0,0,0,116.085,69.137a1.712,1.712,0,0,0-.788.676C39.068,183.651,18.186,294.69,28.43,404.354a2.016,2.016,0,0,0,.765,1.375A487.666,487.666,0,0,0,176.02,479.918a1.9,1.9,0,0,0,2.063-.676A348.2,348.2,0,0,0,208.12,430.4a1.86,1.86,0,0,0-1.019-2.588,321.173,321.173,0,0,1-45.868-21.853,1.885,1.885,0,0,1-.185-3.126c3.082-2.309,6.166-4.711,9.109-7.137a1.819,1.819,0,0,1,1.9-.256c96.229,43.917,200.41,43.917,295.5,0a1.812,1.812,0,0,1,1.924.233c2.944,2.426,6.027,4.851,9.132,7.16a1.884,1.884,0,0,1-.162,3.126,301.407,301.407,0,0,1-45.89,21.83,1.875,1.875,0,0,0-1,2.611,391.055,391.055,0,0,0,30.014,48.815,1.864,1.864,0,0,0,2.063.7A486.048,486.048,0,0,0,610.7,405.729a1.882,1.882,0,0,0,.765-1.352C623.729,277.594,590.933,167.465,524.531,69.836ZM222.491,337.58c-28.972,0-52.844-26.587-52.844-59.239S193.056,219.1,222.491,219.1c29.665,0,53.306,26.82,52.843,59.239C275.334,310.993,251.924,337.58,222.491,337.58Zm195.38,0c-28.971,0-52.843-26.587-52.843-59.239S388.437,219.1,417.871,219.1c29.667,0,53.307,26.82,52.844,59.239C470.715,310.993,447.538,337.58,417.871,337.58Z"},null,-1),th=[eh];function nh(t,e){return R(),H("svg",Jf,th)}const rh=ie(Zf,[["render",nh]]),ih={},sh={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 512"},ah=w("path",{d:"M180.5,74.262C80.813,74.262,0,155.633,0,256S80.819,437.738,180.5,437.738,361,356.373,361,256,280.191,74.262,180.5,74.262Zm288.25,10.646c-49.845,0-90.245,76.619-90.245,171.095s40.406,171.1,90.251,171.1,90.251-76.619,90.251-171.1H559C559,161.5,518.6,84.908,468.752,84.908Zm139.506,17.821c-17.526,0-31.735,68.628-31.735,153.274s14.2,153.274,31.735,153.274S640,340.631,640,256C640,171.351,625.785,102.729,608.258,102.729Z"},null,-1),oh=[ah];function ch(t,e){return R(),H("svg",sh,oh)}const uh=ie(ih,[["render",ch]]),lh={},dh={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 496 512"},fh=w("path",{d:"M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"},null,-1),hh=[fh];function ph(t,e){return R(),H("svg",dh,hh)}const mh=ie(lh,[["render",ph]]),_h={class:"opacity-0 fade-in-delay"},gh={class:"flex flex-col justify-center px-4 h-20 border-b border-gray-800"},vh={class:"grid mt-2 text-lg grid-col-1"},yh=["onClick"],bh={class:"px-4 mt-6"},wh={class:"grid grid-rows-1 grid-flow-col auto-cols-min gap-2 px-4 mt-4"},Sh={class:"px-4 mt-6 text-xs"},Eh={class:"flex items-center"},Th={class:"ml-2 text-gray-300"},Ch=re({__name:"SidebarContent",emits:["close"],setup(t,{emit:e}){const{darkMode:n,toggleDarkMode:r}=ar(),{blockNumber:i}=kt(),{networkConfig:s}=_a(),{networkSlug:a}=sr(),{t:o}=Rt(),c=st(),l=wt(()=>Gr.network.pools.PointsGauges),m=wt(()=>Gr.network.addresses.lpVault),_=fe(),f=[{label:o("pool"),path:`/${a}`,goal:$e.ClickNavPools},{label:o("swap"),path:`/${a}/swap`,goal:$e.ClickNavSwap},{label:o("claim"),path:`/${a}/claim`,goal:$e.ClickNavClaim,hide:!io.value},{label:o("portfolio"),path:`/${a}/portfolio`,goal:$e.ClickNavPortfolio},{label:"SYMM Points",path:`/${a}/points`,goal:$e.ClickNavPortfolio,hide:!l.value},{label:"Taiko LP Vault",path:`/${a}/lp-vault`,goal:$e.ClickNavPortfolio,hide:!m.value},{label:Ga.value,path:`/${a}/vesymm`,goal:$e.ClickNavVebal,hide:!so.value}],h={TwitterIcon:{component:Xf,url:"https://twitter.com/0xSymmetric"},DiscordIcon:{component:rh,url:"https://discord.gg/z8hJqrFYs3"},MediumIcon:{component:uh,url:"https://medium.com/@Symmetric.finance"},GithubIcon:{url:"https://github.com/centfinance/",component:mh}};function u(p){return h[p].component}async function d(p,S){ga(S),c.push(p),e("close")}return ce(i,async()=>{var p,S;(p=_.value)==null||p.classList.add("block-change"),await La(300),(S=_.value)==null||S.classList.remove("block-change")}),(p,S)=>{const $=Uf,y=Of,v=or,O=rr;return R(),H("div",_h,[w("div",gh,[N(Hf,{forceDark:""})]),w("div",vh,[(R(),H(Le,null,nt(f,k=>w("div",{key:k.label,class:"side-bar-link",onClick:W=>k.hide?null:d(k.path,k.goal)},z(k.hide?"":k.label),9,yh)),64))]),w("div",bh,[w("div",{class:"mt-2 side-bar-btn",onClick:S[0]||(S[0]=(...k)=>I(r)&&I(r)(...k))},[I(n)?(R(),q(y,{key:1,class:"mr-2"})):(R(),q($,{key:0,class:"mr-2"})),w("span",null,z(I(n)?"Light":"Dark")+" mode",1)])]),w("div",wh,[(R(),H(Le,null,nt(h,(k,W)=>N(v,{key:W,href:k.url,class:"social-link",noStyle:"",external:""},{default:F(()=>[(R(),q(Bi(u(W))))]),_:2},1032,["href"])),64))]),w("div",Sh,[w("div",Eh,[w("div",{ref_key:"blockIcon",ref:_,class:"w-2 h-2 bg-green-500 rounded-full block-icon"},null,512),w("span",Th,z(I(s).name)+": Block "+z(I(i)),1)]),N(v,{href:`https://github.com/balancer/frontend-v2/releases/tag/${I(Un)}`,class:"flex items-center mt-2 text-gray-300",external:"",noStyle:""},{default:F(()=>[Ue(" App: v"+z(I(Un))+" ",1),N(O,{name:"arrow-up-right",size:"xs",class:"ml-1"})]),_:1},8,["href"])])])}}});const kh=ie(Ch,[["__scopeId","data-v-8cf7987e"]]),Rh={class:"sidebar-overlay"},xh={key:0,class:"app-sidebar"},Oh=re({__name:"AppSidebar",setup(t){const e=fe(!1),{setSidebarOpen:n}=br();return ce(e,()=>{e.value?document.body.classList.add("overflow-hidden"):document.body.classList.remove("overflow-hidden")}),(r,i)=>{const s=rr;return R(),q(Pr,{name:"overlay",appear:"",onAfterEnter:i[3]||(i[3]=a=>e.value=!0)},{default:F(()=>[w("div",Rh,[N(Pr,{name:"sidebar",onAfterLeave:i[1]||(i[1]=a=>I(n)(!1))},{default:F(()=>[e.value?(R(),H("div",xh,[N(kh,{onClose:i[0]||(i[0]=a=>e.value=!1)})])):Xt("",!0)]),_:1}),w("div",{class:"app-sidebar_empty",onClick:i[2]||(i[2]=a=>e.value=!1)},[N(s,{name:"x",size:"lg",class:"flex fixed top-4 right-2 justify-center items-center text-white cursor-pointer close-icon"})])])]),_:1})}}});const Dh=ie(Oh,[["__scopeId","data-v-5ddba181"]]),Nh=w("p",{class:"pb-3 text-sm"}," Your wallet address cannot use this site because it has been flagged as high risk by our compliance partner, TRM Labs. ",-1),Ih=w("p",{class:"pb-3 text-sm"}," This website is open source and permissionless. Anyone can fork and run their own front end. ",-1),Mh=re({__name:"SanctionedWalletModal",props:{isVisible:{type:Boolean,default:!1}},emits:["close"],setup(t,{emit:e}){const n=t,r=fe(!1);ce(()=>n.isVisible,()=>{r.value=n.isVisible});function i(){r.value=!1,e("close")}return(s,a)=>{const o=un;return R(),q(o,{show:r.value,title:"Your address is blocked from transacting on this site",onClose:a[0]||(a[0]=c=>i())},{default:F(()=>[Nh,Ih]),_:1},8,["show"])}}}),$s="bg-white",Ah="bg-gray-900",In=fe($s),{darkMode:sn}=ar();function an(t){document.documentElement.classList.remove(In.value),In.value=t,document.documentElement.classList.add(In.value)}function Us(){sn.value?an(Ah):Lr!=="etherlink"&&Lr!=="taiko"&&an($s)}function gi(t){var e,n;sn.value&&((e=t.meta.bgColors)!=null&&e.dark)?an(t.meta.bgColors.dark):!sn.value&&((n=t.meta.bgColors)!=null&&n.light)?an(t.meta.bgColors.light):Us()}Us();function $h(){const t=Fi();return ce(sn,()=>gi(t)),{newRouteHandler:gi}}var Jn={},Uh={get exports(){return Jn},set exports(t){Jn=t}};/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress
 * @license MIT */(function(t,e){(function(n,r){t.exports=r()})(zi,function(){var n={};n.version="0.2.0";var r=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};n.configure=function(u){var d,p;for(d in u)p=u[d],p!==void 0&&u.hasOwnProperty(d)&&(r[d]=p);return this},n.status=null,n.set=function(u){var d=n.isStarted();u=i(u,r.minimum,1),n.status=u===1?null:u;var p=n.render(!d),S=p.querySelector(r.barSelector),$=r.speed,y=r.easing;return p.offsetWidth,o(function(v){r.positionUsing===""&&(r.positionUsing=n.getPositioningCSS()),c(S,a(u,$,y)),u===1?(c(p,{transition:"none",opacity:1}),p.offsetWidth,setTimeout(function(){c(p,{transition:"all "+$+"ms linear",opacity:0}),setTimeout(function(){n.remove(),v()},$)},$)):setTimeout(v,$)}),this},n.isStarted=function(){return typeof n.status=="number"},n.start=function(){n.status||n.set(0);var u=function(){setTimeout(function(){n.status&&(n.trickle(),u())},r.trickleSpeed)};return r.trickle&&u(),this},n.done=function(u){return!u&&!n.status?this:n.inc(.3+.5*Math.random()).set(1)},n.inc=function(u){var d=n.status;return d?(typeof u!="number"&&(u=(1-d)*i(Math.random()*d,.1,.95)),d=i(d+u,0,.994),n.set(d)):n.start()},n.trickle=function(){return n.inc(Math.random()*r.trickleRate)},function(){var u=0,d=0;n.promise=function(p){return!p||p.state()==="resolved"?this:(d===0&&n.start(),u++,d++,p.always(function(){d--,d===0?(u=0,n.done()):n.set((u-d)/u)}),this)}}(),n.render=function(u){if(n.isRendered())return document.getElementById("nprogress");m(document.documentElement,"nprogress-busy");var d=document.createElement("div");d.id="nprogress",d.innerHTML=r.template;var p=d.querySelector(r.barSelector),S=u?"-100":s(n.status||0),$=document.querySelector(r.parent),y;return c(p,{transition:"all 0 linear",transform:"translate3d("+S+"%,0,0)"}),r.showSpinner||(y=d.querySelector(r.spinnerSelector),y&&h(y)),$!=document.body&&m($,"nprogress-custom-parent"),$.appendChild(d),d},n.remove=function(){_(document.documentElement,"nprogress-busy"),_(document.querySelector(r.parent),"nprogress-custom-parent");var u=document.getElementById("nprogress");u&&h(u)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var u=document.body.style,d="WebkitTransform"in u?"Webkit":"MozTransform"in u?"Moz":"msTransform"in u?"ms":"OTransform"in u?"O":"";return d+"Perspective"in u?"translate3d":d+"Transform"in u?"translate":"margin"};function i(u,d,p){return u<d?d:u>p?p:u}function s(u){return(-1+u)*100}function a(u,d,p){var S;return r.positionUsing==="translate3d"?S={transform:"translate3d("+s(u)+"%,0,0)"}:r.positionUsing==="translate"?S={transform:"translate("+s(u)+"%,0)"}:S={"margin-left":s(u)+"%"},S.transition="all "+d+"ms "+p,S}var o=function(){var u=[];function d(){var p=u.shift();p&&p(d)}return function(p){u.push(p),u.length==1&&d()}}(),c=function(){var u=["Webkit","O","Moz","ms"],d={};function p(v){return v.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(O,k){return k.toUpperCase()})}function S(v){var O=document.body.style;if(v in O)return v;for(var k=u.length,W=v.charAt(0).toUpperCase()+v.slice(1),T;k--;)if(T=u[k]+W,T in O)return T;return v}function $(v){return v=p(v),d[v]||(d[v]=S(v))}function y(v,O,k){O=$(O),v.style[O]=k}return function(v,O){var k=arguments,W,T;if(k.length==2)for(W in O)T=O[W],T!==void 0&&O.hasOwnProperty(W)&&y(v,W,T);else y(v,k[1],k[2])}}();function l(u,d){var p=typeof u=="string"?u:f(u);return p.indexOf(" "+d+" ")>=0}function m(u,d){var p=f(u),S=p+d;l(p,d)||(u.className=S.substring(1))}function _(u,d){var p=f(u),S;l(u,d)&&(S=p.replace(" "+d+" "," "),u.className=S.substring(1,S.length-1))}function f(u){return(" "+(u.className||"")+" ").replace(/\s+/gi," ")}function h(u){u&&u.parentNode&&u.parentNode.removeChild(u)}return n})})(Uh);const Wt=Jn;Wt.configure({showSpinner:!1});let vi;function Bh(){const t=st(),{setShowRedirectModal:e,isVeBalSupported:n}=Gi(),{setSidebarOpen:r}=br();t.beforeEach((i,s,a)=>{if(localStorage.setItem("networkId",Ya.value.toString()),i.name=="vesymm")if(n.value)a();else return r(!1),e(!0),!1;else a()}),t.beforeEach(()=>{vi=setTimeout(()=>{Wt.start()},1e3)}),t.afterEach(()=>{clearTimeout(vi),Wt.done()}),t.onError(()=>{Wt.done()})}function Ph(){const{account:t}=kt(),e=Object.keys(Fr),{addAlert:n}=ln();function r(i){window.open(i,"_blank")}ce(t,()=>{if(t.value)for(const i of e){const s=Fr[i];Pi(s.wallets,t.value)&&n({id:i,label:s.message,actionLabel:s.actionLabel,action:()=>r(s.link),type:Oe.ERROR,priority:De.HIGH})}})}function Fh(){const{priceQueryError:t,balancesQueryError:e,refetchBalances:n,allowancesQueryError:r,refetchAllowances:i}=va(),{addAlert:s,removeAlert:a}=ln(),{t:o}=Rt();ce(t,()=>{}),ce(e,()=>{e.value?s({id:"balances-fetch-error",label:o("alerts.balances-fetch-error"),type:Oe.ERROR,persistent:!0,action:n,actionLabel:o("alerts.retry-label"),priority:De.MEDIUM}):a("balances-fetch-error")}),ce(r,()=>{r.value?s({id:"allowances-fetch-error",label:o("alerts.allowances-fetch-error"),type:Oe.ERROR,persistent:!0,action:i,actionLabel:o("alerts.retry-label"),priority:De.MEDIUM}):a("allowances-fetch-error")})}function zh(){const{addAlert:t}=ln(),{t:e}=Rt(),n=st(),{networkSlug:r}=sr();function i(){n.push({name:"create-pool",params:{networkSlug:r}})}ir(()=>{qa(no,null,to)&&t({id:"return-to-pool-creation",label:ro.needsSeeding?e("finishSeedingPoolAlert"):e("finishCreatingPoolAlert"),type:Oe.ERROR,persistent:!1,action:i,actionLabel:e("returnToPoolCreation"),priority:De.LOW,rememberClose:!0})})}const yi=fe(!1);function Gh(){function t(e){yi.value=e}return{handleThirdPartyModalToggle:t,isThirdPartyServicesModalVisible:yi}}const Lh=w("div",{id:"modal"},null,-1),Yh={id:"app"},qh=re({__name:"App",setup(t){const e=lt(()=>dt(()=>import("./DefaultLayout-51400235.js"),["assets/DefaultLayout-51400235.js","assets/BalBtn-b289e883.js","assets/runtime-core.esm-bundler-bdb6b696.js","assets/connector-d426cebf.js","assets/_commonjsHelpers-042e6b4d.js","assets/pools-0be8077b.js","assets/useDarkMode-6634e7da.js","assets/browser-ff491f1a.js","assets/metamask.connector-b6502f69.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/BalBtn-493ef81f.css","assets/DefaultLayout.vue_vue_type_style_index_0_lang-ef8b0155.js","assets/AppNav-259bb595.js","assets/BalLink-7318e3c1.js","assets/BalLink-586c9913.css","assets/links-beeeff81.js","assets/useVeBAL-76ab8f47.js","assets/testnet-voting-pools-9dd1d504.js","assets/usePoolHelpers-696dd608.js","assets/browser-ponyfill-b57fed40.js","assets/useAlerts-868195f6.js","assets/useBreakpoints-6cd06d21.js","assets/BalPopover-6e89e4c8.js","assets/BalPopover-09fb91c0.css","assets/Avatar.vue_vue_type_script_setup_true_lang-a71d3d54.js","assets/BalBtnGroup-bb425e37.js","assets/BalBtnGroup-6854cecb.css","assets/BalTooltip.vue_vue_type_style_index_0_lang-95d5f876.js","assets/BalTooltip-445a1335.css","assets/options-748786da.js","assets/options-1537b94d.css","assets/wallet-logos-0cecaf97.js","assets/wallet-names-b4355c66.js","assets/useTransactions-d0607fb1.js","assets/index-b86d3b44.js","assets/events-5f626723.js","assets/readable-browser-0b4510b9.js","assets/immutable-2b056f5a.js","assets/index-069951be.js","assets/vue-router-38a5ee6e.js","assets/urls-0b23d52b.js","assets/nav-guards-7d09b2df.js","assets/index.esm-5f62683c.js","assets/meta.service-b19ff48c.js","assets/voting.provider-cafff44c.js","assets/liquidity-gauge-53b36e60.js","assets/useVotingPools-405db155.js","assets/useQueryHelpers-8fe10019.js","assets/index-21a4d380.js","assets/AppNavAlert-26432219.js","assets/AppNavAlert-95729a32.css","assets/index-a8deb47c.js","assets/AppNav-4347e8d5.css","assets/DefaultLayout-44ba2236.css","assets/usePoolsQuery-835485bc.js","assets/api-25d4d767.js","assets/balancer-sdk-b930f4ec.js","assets/balancer.sdk-4d4bc55d.js","assets/balancer-sdk-6199c301.css","assets/index-af495a85.js","assets/StaticATokenLM-4871ff6a.js","assets/balancer-api.service-6dd9532d.js","assets/useTailwind-88cdb31a.js","assets/tailwind.config-67544b1d.js","assets/BalStack.vue_vue_type_script_lang-621c552c.js","assets/usePoolCreation-1a5de0d0.js","assets/index-57f3b87f.js","assets/usePoolCreation-9f95f0f8.css","assets/useGnosisSafeApp-de33f7d9.js","assets/token-lists.provider-ad4c042c.js","assets/user-data.provider-46edc0c2.js","assets/balancer-contracts.service-5696124b.js","assets/useVeBalLockInfoQuery-0ac512b2.js"])),n=lt(()=>dt(()=>import("./BlankLayout-73386e29.js"),["assets/BlankLayout-73386e29.js","assets/BalBtn-b289e883.js","assets/runtime-core.esm-bundler-bdb6b696.js","assets/connector-d426cebf.js","assets/_commonjsHelpers-042e6b4d.js","assets/pools-0be8077b.js","assets/useDarkMode-6634e7da.js","assets/browser-ff491f1a.js","assets/metamask.connector-b6502f69.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/BalBtn-493ef81f.css"])),r=lt(()=>dt(()=>import("./FocussedLayout-91305ee3.js"),["assets/FocussedLayout-91305ee3.js","assets/BalBtn-b289e883.js","assets/runtime-core.esm-bundler-bdb6b696.js","assets/connector-d426cebf.js","assets/_commonjsHelpers-042e6b4d.js","assets/pools-0be8077b.js","assets/useDarkMode-6634e7da.js","assets/browser-ff491f1a.js","assets/metamask.connector-b6502f69.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/BalBtn-493ef81f.css","assets/FocussedLayout-9543c238.js","assets/useAlerts-868195f6.js","assets/vue-router-38a5ee6e.js","assets/AppNavAlert-26432219.js","assets/AppNavAlert-95729a32.css","assets/useFakeModal-e6e56f76.js","assets/FocussedLayout-362555a2.css"])),i=lt(()=>dt(()=>import("./ContentLayout-6f2ca8fe.js"),["assets/ContentLayout-6f2ca8fe.js","assets/BalBtn-b289e883.js","assets/runtime-core.esm-bundler-bdb6b696.js","assets/connector-d426cebf.js","assets/_commonjsHelpers-042e6b4d.js","assets/pools-0be8077b.js","assets/useDarkMode-6634e7da.js","assets/browser-ff491f1a.js","assets/metamask.connector-b6502f69.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/BalBtn-493ef81f.css","assets/AppNav-259bb595.js","assets/BalLink-7318e3c1.js","assets/BalLink-586c9913.css","assets/links-beeeff81.js","assets/useVeBAL-76ab8f47.js","assets/testnet-voting-pools-9dd1d504.js","assets/usePoolHelpers-696dd608.js","assets/browser-ponyfill-b57fed40.js","assets/useAlerts-868195f6.js","assets/useBreakpoints-6cd06d21.js","assets/BalPopover-6e89e4c8.js","assets/BalPopover-09fb91c0.css","assets/Avatar.vue_vue_type_script_setup_true_lang-a71d3d54.js","assets/BalBtnGroup-bb425e37.js","assets/BalBtnGroup-6854cecb.css","assets/BalTooltip.vue_vue_type_style_index_0_lang-95d5f876.js","assets/BalTooltip-445a1335.css","assets/options-748786da.js","assets/options-1537b94d.css","assets/wallet-logos-0cecaf97.js","assets/wallet-names-b4355c66.js","assets/useTransactions-d0607fb1.js","assets/index-b86d3b44.js","assets/events-5f626723.js","assets/readable-browser-0b4510b9.js","assets/immutable-2b056f5a.js","assets/index-069951be.js","assets/vue-router-38a5ee6e.js","assets/urls-0b23d52b.js","assets/nav-guards-7d09b2df.js","assets/index.esm-5f62683c.js","assets/meta.service-b19ff48c.js","assets/voting.provider-cafff44c.js","assets/liquidity-gauge-53b36e60.js","assets/useVotingPools-405db155.js","assets/useQueryHelpers-8fe10019.js","assets/index-21a4d380.js","assets/AppNavAlert-26432219.js","assets/AppNavAlert-95729a32.css","assets/index-a8deb47c.js","assets/AppNav-4347e8d5.css","assets/usePoolsQuery-835485bc.js","assets/api-25d4d767.js","assets/balancer-sdk-b930f4ec.js","assets/balancer.sdk-4d4bc55d.js","assets/balancer-sdk-6199c301.css","assets/index-af495a85.js","assets/StaticATokenLM-4871ff6a.js","assets/balancer-api.service-6dd9532d.js","assets/useTailwind-88cdb31a.js","assets/tailwind.config-67544b1d.js","assets/BalStack.vue_vue_type_script_lang-621c552c.js","assets/usePoolCreation-1a5de0d0.js","assets/index-57f3b87f.js","assets/usePoolCreation-9f95f0f8.css","assets/useGnosisSafeApp-de33f7d9.js","assets/token-lists.provider-ad4c042c.js","assets/user-data.provider-46edc0c2.js","assets/balancer-contracts.service-5696124b.js","assets/useVeBalLockInfoQuery-0ac512b2.js","assets/ContentLayout-7110645c.css"])),s=lt(()=>dt(()=>import("./PoolLayout-a645ae37.js"),["assets/PoolLayout-a645ae37.js","assets/BalBtn-b289e883.js","assets/runtime-core.esm-bundler-bdb6b696.js","assets/connector-d426cebf.js","assets/_commonjsHelpers-042e6b4d.js","assets/pools-0be8077b.js","assets/useDarkMode-6634e7da.js","assets/browser-ff491f1a.js","assets/metamask.connector-b6502f69.js","assets/_plugin-vue_export-helper-c27b6911.js","assets/BalBtn-493ef81f.css","assets/DefaultLayout.vue_vue_type_style_index_0_lang-ef8b0155.js","assets/AppNav-259bb595.js","assets/BalLink-7318e3c1.js","assets/BalLink-586c9913.css","assets/links-beeeff81.js","assets/useVeBAL-76ab8f47.js","assets/testnet-voting-pools-9dd1d504.js","assets/usePoolHelpers-696dd608.js","assets/browser-ponyfill-b57fed40.js","assets/useAlerts-868195f6.js","assets/useBreakpoints-6cd06d21.js","assets/BalPopover-6e89e4c8.js","assets/BalPopover-09fb91c0.css","assets/Avatar.vue_vue_type_script_setup_true_lang-a71d3d54.js","assets/BalBtnGroup-bb425e37.js","assets/BalBtnGroup-6854cecb.css","assets/BalTooltip.vue_vue_type_style_index_0_lang-95d5f876.js","assets/BalTooltip-445a1335.css","assets/options-748786da.js","assets/options-1537b94d.css","assets/wallet-logos-0cecaf97.js","assets/wallet-names-b4355c66.js","assets/useTransactions-d0607fb1.js","assets/index-b86d3b44.js","assets/events-5f626723.js","assets/readable-browser-0b4510b9.js","assets/immutable-2b056f5a.js","assets/index-069951be.js","assets/vue-router-38a5ee6e.js","assets/urls-0b23d52b.js","assets/nav-guards-7d09b2df.js","assets/index.esm-5f62683c.js","assets/meta.service-b19ff48c.js","assets/voting.provider-cafff44c.js","assets/liquidity-gauge-53b36e60.js","assets/useVotingPools-405db155.js","assets/useQueryHelpers-8fe10019.js","assets/index-21a4d380.js","assets/AppNavAlert-26432219.js","assets/AppNavAlert-95729a32.css","assets/index-a8deb47c.js","assets/AppNav-4347e8d5.css","assets/DefaultLayout-44ba2236.css","assets/FocussedLayout-9543c238.js","assets/useFakeModal-e6e56f76.js","assets/FocussedLayout-362555a2.css","assets/pool.provider-716d11b7.js","assets/api-25d4d767.js","assets/balancer-sdk-b930f4ec.js","assets/balancer.sdk-4d4bc55d.js","assets/balancer-sdk-6199c301.css","assets/index-af495a85.js","assets/StaticATokenLM-4871ff6a.js","assets/usePoolQuery-4bede5a9.js","assets/balancer-api.service-6dd9532d.js","assets/pool-staking.provider-fc8089ef.js","assets/user-data.provider-46edc0c2.js","assets/balancer-contracts.service-5696124b.js","assets/useVeBalLockInfoQuery-0ac512b2.js","assets/pool-points-staking.provider-e566ffca.js","assets/user-tokens.provider-5a51fba9.js","assets/usePoolsQuery-835485bc.js","assets/useTailwind-88cdb31a.js","assets/tailwind.config-67544b1d.js","assets/BalStack.vue_vue_type_script_lang-621c552c.js","assets/usePoolCreation-1a5de0d0.js","assets/index-57f3b87f.js","assets/usePoolCreation-9f95f0f8.css","assets/useGnosisSafeApp-de33f7d9.js","assets/token-lists.provider-ad4c042c.js"]));Ha.config({DECIMAL_PLACES:Va});const a=fe("DefaultLayout"),o={BlankLayout:n,ContentLayout:i,DefaultLayout:e,FocussedLayout:r,PoolLayout:s};vf(),zh(),Fh(),ao(),Ph(),Bh();const{isWalletSelectVisible:c,toggleWalletSelectModal:l,isBlocked:m}=kt(),_=Fi(),{newRouteHandler:f}=$h(),{sidebarOpen:h}=br(),{handleThirdPartyModalToggle:u,isThirdPartyServicesModalVisible:d}=Gh(),{t:p}=Rt(),S=st(),{networkSlug:$}=sr(),y={"telos-testnet":"telos",telos:"telos",celo:"celo",sepolia:"celo","gnosis-chain":"gnosis-chain",meter:"meter",taiko:"taiko",etherlink:"etherlink","vana-moksha":"vana-moksha"},v=()=>{const O=y[$]||"telos";document.documentElement.setAttribute("data-theme",O)};return De.HIGH,p("poolWarnings.cspPoolVulnWarning.generalTitle"),Oe.ERROR,ce(_,O=>{v(),f(O),O.meta.layout?a.value=O.meta.layout:a.value="DefaultLayout"}),(O,k)=>(R(),H(Le,null,[Lh,w("div",Yh,[(R(),q(Bi(o[I(a)]))),N(pf,{isVisible:I(c),onShowThirdParty:()=>I(u)(!0),onClose:I(l)},null,8,["isVisible","onShowThirdParty","onClose"]),N(Mh,{isVisible:I(m)},null,8,["isVisible"]),N(Jd,{isVisible:I(d),onClose:k[0]||(k[0]=W=>I(u)(!1))},null,8,["isVisible"]),I(h)?(R(),q(Dh,{key:0})):Xt("",!0),N(Vd)]),N(Sf)],64))}});function bi(t){return re({setup(){t()},render(){var e;return(e=this.$slots)!=null&&e.default?this.$slots.default():[]}})}const Hh={__name:"Root",setup(t){const e=bi(()=>ya()),n=bi(()=>{const r=ba(),i=oo();wa(r,i),co()});return(r,i)=>(R(),q(I(e),null,{default:F(()=>[N(I(n),null,{default:F(()=>[N(qh)]),_:1})]),_:1}))}};Sa();const Ot=Ea(Hh);Ot.component("Jazzicon",Td);cl(Ot);uo(Ot);jl(Ot);Ot.mount("#app");export{Hf as A,Uf as _,Of as a,br as b,bi as c,Gh as u};
//# sourceMappingURL=index-3667bb92.js.map
