PageSourceSearch

https://www.andbeyond.com/wp-content/themes/andbeyond2024/dist/assets/stat-2508a4d4.js

js andbeyond.com collected 2026-10-02 03:56:08 UTC 1,029 bytes, 1 lines download raw bytes

1import{_ as d,d as c,x as u,o as i,c as l,b as p,t as r,n as _,aD as m}from"./main-49d8887f.js";import{a as f}from"./index-952bbd46.js";const y=c({name:"Stat",props:{modelValue:{type:Number,required:!0},unit:{type:String,default:""},duration:{type:Number,default:180},delay:{type:Number,default:0},countup:{type:Boolean,default:!1}},setup(t){const e=u(null),n=f(e,{once:!0}),a=u(t.countup?0:t.modelValue);var s={var:0};function o(){m.to(s,{var:t.modelValue,duration:t.duration/1e3,delay:t.delay/1e3,ease:"Linear.easeNone",snap:{stat:1},onUpdate:()=>a.value=s.var})}return{isVisible:n,el:e,stat:a,doCountup:o}},computed:{diaplayStat(){return Math.floor(this.stat)}},watch:{isVisible:{handler:"handleInView"}},methods:{handleInView(t){t&&this.countup&&this.doCountup()}}}),h={ref:"el",class:"stat"},V={class:"stat-value"},v={key:0,class:"stat-unit"};function S(t,e,n,a,s,o){return i(),l("div",h,[p("strong",V,r(t.diaplayStat),1),t.unit?(i(),l("span",v,r(t.unit),1)):_("",!0)],512)}const g=d(y,[["render",S]]);export{g 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.