1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="b591ea8d-6ee4-4501-afbd-156fd1663ce3",e._sentryDebugIdIdentifier="sentry-dbid-b591ea8d-6ee4-4501-afbd-156fd1663ce3")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9443],{9012:(e,t,r)=>{"use strict";r.d(t,{f:()=>i});var n=r(6029);let i=(0,r(81272).h)(e=>{let{size:t=24}=e;return(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,n.jsx)("line",{x1:"5",y1:"12",x2:"19",y2:"12"}),(0,n.jsx)("polyline",{points:"12 5 19 12 12 19"})]})})},9802:(e,t,r)=>{"use strict";r.d(t,{V:()=>o});var n=r(6029),i=r(95669),l=r.n(i),s=r(55729);let o=e=>{let{image_url:t,alt:r,width:i,height:o,loading:a="eager",decoding:c="sync",fetchPriority:d="high",srcSet:u=["280x280.{ext} 1x","560x560.{ext} 2x"],optimalFormat:m="webp",imgStyle:h,wrapperStyle:g,isSmartObjectFit:_,ratioDiffThreshold:p=.1,...x}=e,f=t.indexOf("image.torob.com")>-1?t.replace("backend-api/",""):t,j=u.map(e=>f+"_/"+e.replace("{ext}",m)).join(","),y=u.map(e=>f+"_/"+e.replace("{ext}","jpg")).join(","),v=y.split(" ")[0],[b,P]=(0,s.useState)(null==h?void 0:h.objectFit),w=(0,s.useRef)(null);return(0,s.useEffect)(()=>{let e=w.current;if(!e||!_)return;let t=()=>{0===e.naturalHeight||0===e.height||(Math.abs(e.naturalWidth/e.naturalHeight-e.width/e.height)>p?P("contain"):P("cover"))};if(!e.complete)return e.addEventListener("load",t),()=>e.removeEventListener("load",t);t()},[_,p]),(0,n.jsxs)(n.Fragment,{children:["eager"==a&&"high"==d&&(0,n.jsx)(l(),{children:(0,n.jsx)("link",{fetchpriority:"high",rel:"preload",as:"image",imageSrcSet:j})}),(0,n.jsxs)("picture",{style:g,...x,children:[(0,n.jsx)("source",{srcSet:j,type:"image/".concat(m)}),(0,n.jsx)("img",{ref:w,srcSet:y,src:v,alt:r,loading:a,decoding:c,fetchPriority:d,width:i,height:o,style:{width:i,height:o,...h,objectFit:b}})]})]})}},11204:(e,t,r)=>{"use strict";r.d(t,{C:()=>n.C});var n=r(46633)},25506:(e,t,r)=>{"use strict";r.d(t,{w:()=>d});var n=r(6029),i=r(9802),l=r(62900),s=r(50212),o=r(85432),a=r(89175),c=r.n(a);let d=e=>{let{width:t="100%",hookItem:r,containerStyle:a,boostImageLCP:d=!1}=e,u=r.media_urls[0].url;return(0,n.jsxs)("a",{target:"_blank",href:r.redirect_url,rel:"nofollow noopener noreferrer",className:c().container,onClick:()=>{(0,o.fU)(r.shop_id)},style:{...a,width:t},children:[(0,n.jsxs)("div",{className:c().imgContainer,children:[u.includes("image.torob.com")?(0,n.jsx)(i.V,{width:"100%",height:"100%",image_url:u,alt:r.name1,loading:d?"eager":"lazy",fetchPriority:d?"high":"auto",decoding:d?"sync":"async",srcSet:["0x530.{ext} 1x"],imgStyle:{objectFit:"cover",borderRadius:12,position:"absolute"}}):(0,n.jsx)("img",{src:u,style:{objectFit:"cover",borderRadius:12,width:"100%",height:"100%",position:"absolute"},alt:r.name1,loading:d?"eager":"lazy",fetchPriority:d?"high":"auto",decoding:d?"sync":"async"}),(0,n.jsx)("img",{className:c().shopIcon,src:r.icon,alt:r.name1}),r.badge_text&&(0,n.jsx)("div",{className:c().discountBadge,children:r.badge_text})]}),(0,n.jsxs)("div",{className:c().contentContainer,children:[(0,n.jsx)(l.$,{className:c().button,color:"secondary",children:(0,n.jsx)("span",{className:c().clamp1,children:r.button_text})}),(0,n.jsx)("div",{className:c().title,children:r.name1}),(0,n.jsxs)("div",{className:(0,s.A)(c().price,c().newPrice),children:[r.new_price_text," ",(0,n.jsx)("span",{className:(0,s.A)(c().price,c().oldPrice),children:r.old_price_text.replace("تÙÙ
اÙ","").trim()})]}),(0,n.jsxs)("div",{className:c().installmentsContent,children:[(0,n.jsxs)("div",{className:c().installmentsText,children:[(0,n.jsx)("span",{style:{marginBottom:-4},children:r.installment_price.number_of_installments}),(0,n.jsx)("span",{children:"ÙØ³Ø·"})]}),(0,n.jsx)("div",{className:c().installmentsPrice,children:r.installment_price.installment_amount})]})]})]})}},46633:(e,t,r)=>{"use strict";r.d(t,{C:()=>g,d:()=>_});var n=r(6029),i=r(12341),l=r(55729);let s=e=>{let{src:t,animationData:r,loop:i=!0,autoplay:s=!0,speed:o,pauseWhenHidden:a=!0,rootMargin:c="200px",className:d,style:u,ariaLabel:m}=e,h=(0,l.useRef)(null),g=(0,l.useRef)(null);return(0,l.useEffect)(()=>{let e=h.current;if(!e)return;let n=!1,l=window.matchMedia("(prefers-reduced-motion: reduce)").matches,d=async()=>{try{let a=(await import("https://storage.torobpay.com/frontend/vendor/lottie-light.0fb5696261fbb1ef.mjs")).default,c=null!=r?r:t?await fetch(t).then(e=>e.ok?e.json():null):null;if(n||!c)return;let d=a.loadAnimation({container:e,renderer:"svg",loop:i,autoplay:s&&!l,animationData:c});null!=o&&d.setSpeed(o),g.current=d}catch{}},u=new IntersectionObserver(e=>{let[t]=e;t&&(t.isIntersecting?g.current?a&&s&&!l&&g.current.play():d():g.current&&a&&g.current.pause())},{rootMargin:c,threshold:.01});u.observe(e);let m=()=>{g.current&&a&&(document.hidden?g.current.pause():s&&!l&&g.current.play())};return a&&document.addEventListener("visibilitychange",m),()=>{var e;n=!0,u.disconnect(),a&&document.removeEventListener("visibilitychange",m),null==(e=g.current)||e.destroy(),g.current=null}},[t,r,i,s,o,a,c]),(0,n.jsx)("div",{ref:h,className:d,style:{display:"inline-flex",...u},role:m?"img":void 0,"aria-label":m,"aria-hidden":!m||void 0})};
1var o=r(50212),a=r(80971),c=r.n(a);let d=e=>{let t,{value:r,width:i=10.5,textAlign:s="center"}=e,a=(t=(0,l.useRef)(null),(0,l.useEffect)(()=>{t.current=r}),t.current),d=a!==r;return(0,n.jsxs)("span",{className:c().digit,style:{width:i,textAlign:s},children:[d&&(0,n.jsx)("span",{"aria-hidden":!0,className:c().digitOut,children:a},"out-".concat(a)),(0,n.jsx)("span",{className:(0,o.A)(d&&c().digitIn),children:r},"in-".concat(r))]})},u=e=>{let{value:t,digitWidth:r}=e;return(0,n.jsx)("span",{className:c().timePart,children:String(t).padStart(2,"0").split("").map((e,t)=>(0,n.jsx)(d,{value:e,width:r,textAlign:0===t?"end":"start"},t))})};var m=r(82543),h=r.n(m);let g=e=>{let{containerStyle:t,timeLeftMs:r,color:l,bgColor:o}=e,{timeComponents:a}=(0,i.L)(r/1e3,"hours");return(0,n.jsxs)("div",{className:h().container,style:{"--bg-color":o,color:l,...t},children:[(0,n.jsxs)("div",{className:h().timeContainer,children:[(0,n.jsx)(u,{value:a.seconds}),(0,n.jsx)("span",{className:h().timeSeparator,children:":"}),(0,n.jsx)(u,{value:a.minutes}),(0,n.jsx)("span",{className:h().timeSeparator,children:":"}),(0,n.jsx)(u,{value:a.hours})]}),(0,n.jsx)(s,{className:h().timerIcon,src:"/animations/hook-timer.json"})]})},_=e=>{let{timeLeftMs:t}=e,{timeComponents:r}=(0,i.L)(t/1e3,"hours"),l=[r.hours+" ساعت",r.minutes+" دÙÛÙÙ",r.seconds+" ثاÙÛÙ"].join(" Ù ");return(0,n.jsx)(n.Fragment,{children:l})}},60885:(e,t,r)=>{"use strict";r.d(t,{k:()=>m});var n=r(6029),i=r(38326),l=r(55729),s=r(99300),o=r(3279),a=r(24867);let c=(0,l.forwardRef)((e,t)=>{let{children:r,threshold:c=1500,next:d,loading:u=!1,loader:m=(0,n.jsx)(i.R,{wrapperStyle:{padding:20}}),hasMore:h,endMessage:g=null,firstFetch:_=!1,isActive:p,attachScrollOnWindow:x=!1,customScrollParentRef:f,isHorizontal:j=!1,wrapperProps:y,autoFill:v=!1}=e,b=(0,l.useRef)(null),P=(0,o.S)(b,t),w=(0,l.useRef)(!1),k=(0,l.useCallback)(()=>{w.current||(w.current=!0,d().then(()=>{w.current=!1}))},[d]),S=(0,a.D)(()=>{let e=b.current;if(!e||w.current||!h||!p)return;let{scrollHeight:t,scrollTop:r,scrollWidth:n,scrollLeft:i}=(null==f?void 0:f.current)||(x?document.documentElement:e);(!j&&t-r<c||j&&n-Math.abs(i)<c)&&k()});return(0,l.useEffect)(()=>{if(!p)return;let e=(null==f?void 0:f.current)||(x?window:b.current),t=(0,s.n)(150,S);return null==e||e.addEventListener("scroll",t),()=>{null==e||e.removeEventListener("scroll",t)}},[p]),(0,l.useEffect)(()=>{let e=(null==f?void 0:f.current)||(x?document.documentElement:b.current);if(!e||!v||!p)return;let[t,r]=j?[e.scrollWidth,e.clientWidth]:[e.scrollHeight,e.clientHeight];t<=r&&S()}),(0,l.useEffect)(()=>{_&&k()},[_]),(0,n.jsxs)("div",{"data-testid":"infinite-scroll",...y,style:{height:"100%",...f||x?{}:j?{overflowX:"auto"}:{overflowY:"auto"},...null==y?void 0:y.style},ref:P,children:[r,u&&m,!h&&g]})});var d=r(47099),u=r(50402);let m=e=>{let{query:t,Loading:r=(0,n.jsx)(i.R,{style:{margin:"36px auto"}}),Error:l=u.P,Empty:s=d.S,Resource:o,emptyCondition:a=!1,errorContainerStyle:m,emptyText:h,errorText:g}=e;return(0,n.jsxs)(n.Fragment,{children:[!t.isPending&&!t.error&&t.data&&("function"==typeof a?a(t.data):a)&&(0,n.jsx)(s,{data:t.data,emptyText:h}),(0,n.jsx)(c,{isActive:!t.error,loading:t.isPending||t.isFetchingNextPage,wrapperProps:{style:{height:"initial"}},loader:r,next:t.fetchNextPage,hasMore:t.hasNextPage,attachScrollOnWindow:!0,threshold:2500,autoFill:!0,children:o(t)}),t.error&&!t.isFetchingNextPage&&(0,n.jsx)(l,{containerStyle:m,error:t.error,errorText:g,refetch:t.fetchNextPage})]})}},80971:e=>{e.exports={timePart:"RollingTimePart_timePart__oyWdL",digit:"RollingTimePart_digit__FuBVi",digitOut:"RollingTimePart_digitOut__QpQea","digit-roll-out":"RollingTimePart_digit-roll-out__XhKkJ",digitIn:"RollingTimePart_digitIn__ykSga","digit-roll-in":"RollingTimePart_digit-roll-in__zfpS7"}},82543:e=>{e.exports={container:"DeadlineTimer_container__m_05x",timeContainer:"DeadlineTimer_timeContainer__bDWyH",timerIcon:"DeadlineTimer_timerIcon__77b8z"}},89175:e=>{e.exports={container:"HookShopProductItem_container___kGoZ",discountBadge:"HookShopProductItem_discountBadge__xf9Zb",imgContainer:"HookShopProductItem_imgContainer__aCNYk",shopIcon:"HookShopProductItem_shopIcon__p7g1n",installmentsContent:"HookShopProductItem_installmentsContent__zjuyH",installmentsText:"HookShopProductItem_installmentsText__vrA2w",installmentsPrice:"HookShopProductItem_installmentsPrice__E4Ipe",title:"HookShopProductItem_title__u86hJ",price:"HookShopProductItem_price__y2Oi3",oldPrice:"HookShopProductItem_oldPrice__e8_Ol",newPrice:"HookShopProductItem_newPrice__XazR6",contentContainer:"HookShopProductItem_contentContainer__cYYlK",button:"HookShopProductItem_button__jqyzP",clamp1:"HookShopProductItem_clamp1__LtQKu"}},91867:e=>{e.exports={container:"SimpleHeader_container__DowRq",solid:"SimpleHeader_solid__5eOet",glass:"SimpleHeader_glass__gmwuC",content:"SimpleHeader_content__yghI7"}},95655:(e,t,r)=>{"use strict";r.d(t,{k:()=>u});var n=r(6029),i=r(9012),l=r(50212),s=r(74839),o=r(81278),a=r(55729),c=r(91867),d=r.n(c);let u=(0,a.forwardRef)((e,t)=>{let{withBack:r=!1,onBack:a,content:c,containerStyle:u,lastItem:m,variant:h="solid"}=e,{canGoBack:g}=(0,s.S)(),_=(0,o.useRouter)();return(0,n.jsxs)("div",{className:(0,l.A)(d().container,d()[h]),ref:t,style:u,children:[r&&(g||a)&&(0,n.jsx)(i.f,{style:{cursor:"pointer",marginInlineEnd:8},onClick:()=>{a?a():_.back()}}),(0,n.jsx)("div",{className:d().content,children:c}),m]})})}}]);
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.