PageSourceSearch

https://curvemonitor.com/assets/AsyncValue-g4aNoiDU.js

js curvemonitor.com collected 2026-10-04 09:22:56 UTC 1,402 bytes, 1 lines download raw bytes

1import{M as e,W as t,_ as n,c as r,d as i,dt as a,kt as o,rt as s,s as c,u as l}from"./runtime-core.esm-bundler-BwUoGYLm.js";import{t as u}from"./_plugin-vue_export-helper-MKWkbUHw.js";import{i as d,r as f}from"./Number-Cu3rP3yP.js";var p={class:`async-value`},m={key:0,class:`symbol`},h={class:`value`},g={key:1,class:`unit`},_={key:2,class:`symbol`},v=`|/-\\`,y=u(n({__name:`AsyncValue`,props:{value:{default:null},type:{default:null},precision:{type:[Number,Function],default:2},showUnit:{type:Boolean,default:!0},showSymbol:{type:Boolean,default:!0},showZero:{type:Boolean,default:!1}},setup(n){let u=0,y=0,b=s(`|`),x=c(()=>typeof n.value==`string`?n.value:n.value===1/0?`∞`:n.value===-1/0?`-∞`:n.value?f(n.value,typeof n.precision==`function`?n.precision(n.value):n.precision,n.type??``):n.value===0&&n.showZero?`0`:n.value===null||n.value===void 0?b.value:`?`),S=c(()=>n.precision===1/0||!n.type||typeof n.value==`string`?``:!n.value||!isFinite(n.value)?n.showUnit?d(0):``:d(n.value));return t(()=>n.value,e=>{clearInterval(y),u=0,!e&&(y=window.setInterval(()=>{u=(u+1)%4,b.value=v[u]},250))},{immediate:!0}),(t,s)=>(e(),i(`div`,p,[n.showSymbol&&n.type===`dollar`?(e(),i(`span`,m,` $ `)):l(``,!0),r(`span`,h,o(a(x)),1),n.showUnit?(e(),i(`span`,g,o(a(S)),1)):l(``,!0),n.showSymbol&&n.type===`percentage`?(e(),i(`span`,_,` % `)):l(``,!0)]))}}),[[`__scopeId`,`data-v-c17e757f`]]);export{y as t};

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.