"use strict";(self.webpackChunkui=self.webpackChunkui||[]).push([[42],{187:(e,t,n)=>{n.r(t),n.d(t,{default:()=>r});const r={container:"babg89e0",eyecon:"NvCVmY29"}},186:(e,t,n)=>{const r=n(79);(0,n(2).createEntrypoint)("product_viewing",r.ProductViewing)},79:function(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ProductViewing=function({viewingProduct:e,message:t}){const n=e.min,r=e.max;if(!n||!r)return(0,o.jsx)(s.Fragment,{});const[u,l]=(0,c.useState)(a(n,r));(0,c.useEffect)((()=>{const e=setInterval((()=>{l(u+a(25,180))}),5e3);return()=>{clearInterval(e)}}),[]);const d=t.replace("__NUMBER__",null==u?void 0:u.toLocaleString());return d?(0,o.jsxs)("p",{class:i.default.container,children:[(0,o.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",class:i.default.eyecon,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,o.jsx)("path",{d:"M1 12C1 12 5 4 12 4C19 4 23 12 23 12C23 12 19 20 12 20C5 20 1 12 1 12Z",stroke:"black","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}),(0,o.jsx)("path",{d:"M12 15C13.6569 15 15 13.6569 15 12C15 10.3431 13.6569 9 12 9C10.3431 9 9 10.3431 9 12C9 13.6569 10.3431 15 12 15Z",stroke:"black","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})]})," ",d]}):(0,o.jsx)(s.Fragment,{})};const o=n(0),s=n(1),i=r(n(187)),c=n(3);function a(e,t){return Math.floor(Math.random()*(t-e)+1)+e}}},e=>{e.O(0,[1,2],(()=>e(e.s=186))),e.O()}]);