1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/eruda-CzICw-zE.js","assets/logger-B4OCWT-4.js","assets/web-vitals-Qf-B07YH.js"])))=>i.map(i=>d[i]); 2import{Y as v,w as s,Z as $,$ as _}from"./logger-B4OCWT-4.js";import{defineComponent as O,computed as p,openBlock as T,createElementBlock as A,normalizeClass as I}from"vue";let C=!1;const l=[],N=e=>{l.length=0,l.push(...e),C=!0},m=e=>{if(!C)throw new Error("Crypto currencies list is not initialized yet");return l.includes(e)},be=(e,t,n)=>{if(!n?.length)return 0;const o=r=>{const i=n.indexOf(r);return i===-1?Number.MAX_SAFE_INTEGER:i};return o(e)-o(t)},we=(e,t)=>{const n=m(e)?10:0;return(m(t)?10:0)-n+e.localeCompare(t,"en")},Ee=(e,t)=>{const n=typeof e=="symbol"?e.description:String(e);return t?`${t}-${n}`:void 0};function ve(){const e={};return{off(t,n){e[t]=e[t]?.filter(o=>o!==n)??[]},on(t,n){return e[t]??=[],e[t]?.push(n),()=>{this.off(t,n)}},emit(...[t,n]){for(const o of e[t]??[])o(n)}}}const a="debug-console-enabled",_e=async()=>{if(!localStorage.getItem(a))return;(await v(()=>__retry_dynamic_loader__(()=>import("./eruda-CzICw-zE.js")).then(n=>n.e),__vite__mapDeps([0,1]))).default.init({defaults:{theme:"Dark"}})},Ce=()=>{localStorage.getItem(a)?localStorage.removeItem(a):localStorage.setItem(a,"1"),window.location.reload()};function R(e){let t=e.parentElement;for(;t&&t!==document.documentElement;){if(getComputedStyle(t).overflowX!=="visible"){const o=t.getBoundingClientRect().left+t.clientLeft;return{left:o,right:o+t.clientWidth}}t=t.parentElement}return{left:0,right:document.documentElement.clientWidth}}const h=1;function x(e){const t=e.getBoundingClientRect();return[[t.left+t.width/2,t.top+t.height/2],[t.left+1,t.top+1],[t.right-1,t.top+1],[t.left+1,t.bottom-1],[t.right-1,t.bottom-1]].every(([o,r])=>{if(o<0||r<0||o>innerWidth||r>innerHeight)return!0;const i=document.elementFromPoint(o,r);return i===null?!0:i!==e&&!e.contains(i)})}function H(e){if(document.hidden||typeof e.checkVisibility=="function"&&!e.checkVisibility({opacityProperty:!0,visibilityProperty:!0,contentVisibilityAuto:!0}))return!0;const t=e.getBoundingClientRect();return t.bottom<=0||t.top>=innerHeight||t.right<=0||t.left>=innerWidth?!0:x(e)}function L(e){const t=e.scrollWidth>e.clientWidth||e.scrollHeight>e.clientHeight,n=R(e),o=e.getBoundingClientRect(),r=o.right>n.right+h||o.left<n.left-h;return(t||r)&&H(e)?{overflowing:!1,clip:!1,bounds:!1}
2:{overflowing:t||r,clip:t,bounds:r}}function M(e){if(!e)return"unknown";const t=[];let n=e;for(;n&&n!==document.body&&n!==document.documentElement;){const o=n.tagName.toLowerCase(),r=n.id?`#${n.id}`:"",i=[...n.classList].map(g=>`.${g}`).join("");t.unshift(`${o}${r}${i}`),n=n.parentElement}return t.join(" > ")||"unknown"}function W(e){return{scrollWidth:e.scrollWidth,clientWidth:e.clientWidth,scrollHeight:e.scrollHeight,clientHeight:e.clientHeight}}function B(e){return e.clip&&e.bounds?"clip+bounds":e.clip?"clip":"bounds"}function P(e,t,n){const o=W(e),r=e.textContent??"",i=B(t);window._onelog?.warn({category:"translation",type:"overflow",name:"translation_overflow",params:[i,`Width: ${o.scrollWidth}/${o.clientWidth}`,`Height: ${o.scrollHeight}/${o.clientHeight}`,r.slice(0,50),M(e)]})}const F=5e3,z=100;function ke(e){e.isEnabled}const c=new WeakMap;function U(e,t){const n=Date.now();if(n-t.lastCheckedAt<z)return;t.lastCheckedAt=n;const o=L(e);e.dataset.testOverflow=String(o.overflowing),o.overflowing&&(n-t.lastLoggedAt<F||(t.lastLoggedAt=n,P(e,o)))}const Se={mounted(e){},updated(e){const t=c.get(e);t&&U(e,t)},unmounted(e){const t=c.get(e);t&&(t.ro.disconnect(),t.visibilityHandler&&document.removeEventListener("visibilitychange",t.visibilityHandler),c.delete(e))}},D=()=>{s.info({category:"app",type:"init",name:"start"})},G=/^uncaught\s*(?:\(in promise\)\s*)?/i,j=/^(?:[A-Za-z]*Error|DOMException):\s*/,k=e=>e.replace(G,"").trim(),K=e=>k(e).replace(j,"").trim(),V=/-extension:\/\//i,X=/(?:^\s*at\s)|(?:@\S+:\d+)/,q=e=>{const t=e.split(` 3`);return t.length===1?e:t.find(n=>X.test(n))??""},J=[/^Script error./i,/^An unknown error occurred when fetching the script/i,/^can't access property "parentNode", e is null/,/^Cannot read properties of null \(reading 'parentNode'\)/,/^Error loading dynamically imported module/i,/^Failed to fetch dynamically imported module/i,/^Failed to fetch/i,/^Importing a module script failed/i,/^Load failed/i,/^No internet connection/i,/^null is not an object \(evaluating 'e.parentNode'\)/,/^Unable to fetch .+ - see network log for details/i,/^Unable to preload CSS/i,/^network error/i,/^Script .+ load failed/i,/^NetworkError when attempting to fetch resource/i,/^The Internet connection appears to be offline/i,/^signal is aborted without reason/i,/^Error invoking postMessage: Java object is gone/i,/^Error invoking postMessage: Java exception was raised/i,/^Can't find variable: _AutofillCallbackHandler/i,/^WebViewJavascriptBridge is not defined/i,/^\$ is not a function/i,/^xbrowser is not defined/i,/^swbrowser is not defined/i,/^HTMLOUT is not defined/i,/^Invalid call to runtime\.sendMessage\(\)/i,/^Blocked a frame with origin/i,/^Identifier '.+' has already been declared/i,/^The play\(\) request was interrupted/i,/^play\(\) can only be initiated by a user gesture/i,/^Can't find variable: caches/i,/^Unable to open database file on disk/i,/^Internal error opening backing store for indexedDB/i,/^The user denied permission to access the database/i,/^Error creating Records table/i,/^Write permission denied\./i,/^Failed to execute 'writeText' on 'Clipboard'/i,/^Messaging: This browser doesn't support/i,/^ResizeObserver loop completed with undelivered/i,/^CancelledError/i,/^The user aborted a request/i,/^Fetch is aborted/i,/^The operation was aborted/i,/^Ðе ÑдалоÑÑ Ð¿Ð¾Ð´ÐºÐ»ÑÑиÑÑÑÑ Ðº ÑеÑи/i,/^chrome-extension:\/\//i];function Z(e,t){if(typeof e!="string"||e==="undefined"||typeof t=="string"&&V.test(q(t)))return!0;const n=K(e);return J.some(o=>o.test(n))}const Y=()=>{window.addEventListener("error",e=>{const t=e.filename||e.error?.stack;d(e.error?.message??e.message,t)||s.error({category:"unhandled",name:"error",message:`${e.message} 4${e.error?.stack}`,error:e.error})}),window.addEventListener("unhandledrejection",e=>{d(e.reason?.message,e.reason?.stack)||s.error({category:"unhandled",name:"promise_rejection",message:`${e.reason.message} 5${e.reason?.stack}`,error:e.reason})})},Q=e=>k(e).replaceAll(/https?:\/\/\S+/gi,"<url>").replaceAll(/\b[\da-f]{8,}\b/gi,"<hash>"),y=new Set;function d(e,t){if(typeof e!="string"||e==="undefined"||Z(e,t))return!0;const n=Q(e);return y.has(n)?!0:(y.add(n),!1)}const $e=e=>{e.config.errorHandler=(t,n,o)=>{const r=t instanceof Error?t:new Error(String(t));if(d(r.message,r.stack))return;const i=n?.$options?.name||n?.$options?.__name||n?.$?.type?.__name||n?.$?.type?.name||"AnonymousComponent";s.error({category:"app",name:"error",message:`[${i}] ${o}: ${r.message} 6${r.stack}`,error:r})}},ee=()=>{const[e]=performance.getEntriesByType("navigation"),t=e?.firstInterimResponseStart??0;let n=0;for(const o of performance.getEntriesByType("resource"))o.initiatorType==="early-hints"&&(n+=1);return{received:t>0?1:0,earlyHintsCount:n,interimStartMs:Math.round(t)}},Oe=(e,t)=>
6{const n=()=>{const{received:o,earlyHintsCount:r,interimStartMs:i}=ee();e.info({category:t,type:"performance",name:"early_hints",params:[o,r,i]})};document.readyState==="complete"?n():window.addEventListener("load",n,{once:!0})},Te=()=>{D(),Y(),v(()=>__retry_dynamic_loader__(()=>import("./web-vitals-Qf-B07YH.js")),__vite__mapDeps([2,1])).then(e=>{e.subscribeToTrackWebVitals()})},te="on:fetch-done";function Ae(){addEventListener(te,({detail:e})=>{const{requestInfo:t}=e;if(window.INITIAL_DATA.allowLogRequests){const n=re(t);n.pathname!=="/api"&&ne(n,e)}})}function ne({origin:e,pathname:t},n){location.origin===e&&t.startsWith("/api")||s.info({category:"other",name:"request",params:[oe(t),Date.now()-n.start,n.response?.status??"",e]})}function oe(e){return e.startsWith("/api/translations/v1")?"/api/translations/v1":e}function re(e){return e instanceof URL?e:new URL(e instanceof Request?e.url:e,location.href)}const ie=["viewBox","width","height"],se=O({__name:"icon-base",props:{size:{default:"s"},withoutPadding:{type:Boolean,default:!1},initialWidth:{default:16},initialHeight:{default:16}},setup(e){const t=e,n={xs:.75,s:1,m:1.5,l:2,xl:4},o=p(()=>t.initialWidth*n[t.size]),r=p(()=>t.initialHeight*n[t.size]);return(i,g)=>(T(),A("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:`0 0 ${e.initialWidth} ${e.initialHeight}`,role:"presentation",class:I([i.$style.root,i.$style[t.size],e.withoutPadding&&i.$style.withoutPadding]),width:o.value,height:r.value},null,10,ie))}}),ae="icon-base_root-F1flk",ce="icon-base_withoutPadding-F1flk",le="icon-base_m-F1flk",de="icon-base_l-F1flk",ue="icon-base_xl-F1flk",fe={root:ae,withoutPadding:ce,m:le,l:de,xl:ue},ge={$style:fe},Ie=$(se,[["__cssModules",ge]]),Ne=(e=[])=>(N(e.reduce((n,o)=>(o.type==="crypto"&&n.push(o.code),n),[])),{currencyIcons:Object.fromEntries(e.map(n=>[n.code.toLowerCase(),n.icon]))}),f="x-geo-override",pe=3600*12,u=()=>{const[e="",t="",n=""]=_.get(f)?.split(",")??[];return{country:e,subdivision:t,apiKey:n}},b=({country:e,subdivision:t,apiKey:n},{crossSite:o=!1}={})=>{const r=o?"; SameSite=None; Secure":"";document.cookie=`${f}=${e},${t},${n}; path=/; max-age=${pe}${r}`},S=()=>{_.remove(f)},w=e=>({get(){const{country:t,subdivision:n}=u();return e==="country"?t:e==="countrySubdivision"?n:""},set(t=""){const{country:n,subdivision:o,apiKey:r}=u();let i=r;if(!i&&(i=prompt("Enter API key")??"",!i)){console.error("API key is required");return}t?(e==="country"&&b({country:t,subdivision:o,apiKey:i}),e==="countrySubdivision"&&b({country:n,subdivision:t,apiKey:i})):S(),window.location.reload()},reset(){this.set()}}),E=e=>{console.log(`[TEST MANAGER] ${e}`)},me=()=>{const{country:e,subdivision:t}=u();e&&E(`Country: ${e}`),t&&E(`Country subdivision: ${t}`)},Re=()=>{me(),window.testManager={geo:{country:w("country"),countrySubdivision:w("countrySubdivision")},forceReload:{enabled:!1},reset(){S(),window.location.reload()}}};export{Ie as I,we as a,ke as b,be as c,ve as d,Ae as e,Re as f,Ee as g,m as h,_e as i,$e as j,d as k,Te as l,Oe as m,Ne as s,Ce as t,Se as v}; 7(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".icon-base_root-F1flk{fill:currentColor;display:block}.icon-base_root-F1flk.icon-base_withoutPadding-F1flk{padding:0}.icon-base_m-F1flk{padding:var(--spacing-2)}.icon-base_l-F1flk{padding:var(--spacing-4)}.icon-base_xl-F1flk{padding:var(--spacing-8)}")),document.head.appendChild(e)}}catch(n){console.error("vite-plugin-css-injected-by-js",n)}})();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.