PageSourceSearch

https://www.claritydeck.app/assets/FlipCards-CsbKFPOn.js

js claritydeck.app collected 2026-10-06 09:29:55 UTC 1,270 bytes, 1 lines download raw bytes

1import{_ as y}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{r as d,w,I as f,J as m,F,S as k,K as r,U as S,R as i}from"./index-Bd1MQ7Oa.js";const C={class:"rotor"},N={class:"rotor-leaf-rear"},B={class:"rotor-leaf-front"},D={class:"rotor-top"},L={class:"rotor-bottom"},I={__name:"FlipCards",props:{number:{type:Number,required:!0,default:0},theme:{type:String,default:"dark"},digits:{type:Number,default:2}},setup(v){const _=v,e=d([]),n=d([]),a=d([]);return w(()=>_.number,(o,u)=>{const c=u===void 0?o:u,t=String(o).length,b=String(c).length,l=Math.max(t,b,_.digits),g=String(o).padStart(l,"0"),h=String(c).padStart(l,"0");n.value=h.split(""),e.value=g.split("");const p=[];for(let s=0;s<l;s++)p.push(g[s]!==h[s]);a.value=p,p.some(s=>s)&&setTimeout(()=>{a.value=Array(l).fill(!1)},500)},{immediate:!0}),(o,u)=>(m(),f("div",{class:S(["flipdown",`flipdown__theme-${v.theme}`])},[(m(!0),f(F,null,k(e.value,(c,t)=>(m(),f("div",{key:t,class:"rotor-wrapper"},[r("div",C,[r("div",{class:S(["rotor-leaf",{flipped:a.value[t]}])},[r("figure",N,i(e.value[t]),1),r("figure",B,i(a.value[t]?n.value[t]:e.value[t]),1)],2),r("div",D,i(e.value[t]),1),r("div",L,i(a.value[t]?n.value[t]:e.value[t]),1)])]))),128))],2))}},A=y(I,[["__scopeId","data-v-08f1421d"]]);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.