PageSourceSearch

https://www.nimiq.com/_nuxt/BhOrmd6o.js

js nimiq.com collected 2026-09-24 08:52:22 UTC 2,381 bytes, 1 lines download raw bytes

1import{ad as f,R as i,S as l,aq as o,a6 as t,aF as h,T as d,a2 as g,V as c,aG as v,at as b,ap as _,az as y}from"#entry";import{S as m}from"./C0j_6SDa.js";import{_ as F}from"./DlAUqK2U.js";const w={class:"relative"},p=["width","height"],S=["stroke","cx","cy","r"],M=["stroke","stroke-width","stroke-dasharray","cx","cy","r"],B={class:"text-16 font-bold flex size-full items-center left-0 top-0 justify-center absolute"},$={key:0},V=f({__name:"RadialProgress",props:{progress:{},radius:{},strokeWidth:{},innerStrokeWidth:{},innerStroke:{},stroke:{}},setup(e){const r=e,a=c(()=>r.radius-r.strokeWidth*2),s=c(()=>a.value*2*Math.PI),k=c(()=>`stroke-dashoffset: ${s.value-r.progress*s.value}`);return(n,u)=>{const x=v;return i(),l("div",w,[(i(),l("svg",{class:"block -rotate-90",width:e.radius*2,height:e.radius*2,fill:"none"},[o("circle",{style:h([{transition:"stroke-dashoffset 0.6s var(--nq-ease)"},{"stroke-width":e.innerStrokeWidth}]),stroke:e.innerStroke,cx:e.radius,cy:e.radius,r:t(a)},null,12,S),o("circle",{class:"progress-circle",stroke:e.stroke,"stroke-width":e.strokeWidth,"stroke-dasharray":`${t(s)} ${t(s)}`,style:h(t(k)),cx:e.radius,cy:e.radius,r:t(a)},null,12,M)],8,p)),o("div",B,[e.progress<1?(i(),l("span",$,d(Math.round(100*e.progress))+"% ",1)):(i(),g(x,{key:1,name:"nimiq:check-thin",class:"text-24"}))])])}}}),z=Object.assign(V,{__name:"AlbatrossLiveviewRadialProgress"}),R={class:"text-24 font-bold leading-none"},W={class:"text-24 mb-16"},j=f({__name:"MacroBlock.client",props:{block:{}},setup(e){const r=e,a=c(()=>Math.ceil(m*2/3)),s=c(()=>Math.min(r.block.votes/a.value,1));return(k,n)=>{const u=z;return i(),l("div",{class:y([{accepted:t(s)===1},"flex flex-col justify-between items-center shrink-0 text-14 text-white text-center -my-24 rounded-8 bg-green h-[208px] w-160 transition duration-300 relative"]),title:"Macro Block"},[n[1]||(n[1]=o("header",{class:"text-11 font-bold leading-[24px] uppercase tracking-[0.1em]"}," Macro Block ",-1)),o("div",R," M"+d(e.block.batch),1),b(u,{progress:t(s),radius:36,stroke:"#FFFFFFFF","inner-stroke":"#FFFFFF66","stroke-width":2,"inner-stroke-width":2},null,8,["progress"]),o("div",W,[_(d(e.block.votes)+" / "+d(t(m))+" ",1),n[0]||(n[0]=o("div",{class:"text-12 leading-none"}," Votes ",-1))])],2)}}}),A=Object.assign(F(j,[["__scopeId","data-v-8bce8679"]]),{__name:"AlbatrossLiveviewMacroBlock"});export{A as default};

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.