"use strict";(self.webpackChunkui=self.webpackChunkui||[]).push([[46],{145:(t,n,e)=>{var r=e(0);const s="pgWdmTUL",c="dwxplt0d",i="slzTEg3A",o="kb_JaEtv";var a=e(2);function u({title:t,currentVisitorCount:n}){const e=(0,a.useRef)(null);return(0,a.useEffect)((()=>{const t=parseInt(n.replace(/,/g,""),10);let r=null;const s=requestAnimationFrame((function n(s){r||(r=s);const c=s-r,i=Math.min(c/3e3,1),o=(a=i,1-Math.pow(1-a,4));var a;const u=Math.floor(o*t);e.current&&(e.current.textContent=u.toLocaleString()),i<1&&requestAnimationFrame(n)}));return()=>cancelAnimationFrame(s)}),[n]),(0,r.jsxs)("div",{className:o,children:[(0,r.jsx)("span",{ref:e,children:"0"})," ",t]})}(0,e(1).createEntrypoint)("comfy_customers",(function({narrow_design:t,title:n,currentVisitorCount:e}){return t?(0,r.jsx)(u,{title:n,currentVisitorCount:e}):(0,r.jsxs)("div",{class:s,children:[(0,r.jsx)("h1",{class:c,children:n}),(0,r.jsx)("h2",{class:i,children:e})]})}))}},t=>{t.O(0,[1],(()=>t(t.s=145))),t.O()}]);