1try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="c6c2c9b2-5ba7-4970-9018-c1dc6a5d2794",e._sentryDebugIdIdentifier="sentry-dbid-c6c2c9b2-5ba7-4970-9018-c1dc6a5d2794")}()}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3561],{40794:function(e,t,i){"use strict";i.d(t,{Jx:function(){return a},Pi:function(){return n},cZ:function(){return s}});var r=i(36286);let a=async e=>{let{productId:t,reviewId:i,page:a=1}=e,{data:s}=await (0,r.Yu)("/api/products/".concat(t,"/reviews"),{params:{page:a,productId:t,reviewId:i||void 0},sendLocaleInQuery:!1});return{pagination:s.meta.pagination,reviews:s.reviews}},s=async e=>{let{productId:t,reviewId:i,page:a=1}=e,{data:s}=await (0,r.Yu)("/api/products/".concat(t,"/comments"),{params:{page:a,productId:t,reviewId:i||void 0}});return{pagination:s.meta.pagination,questions:s.comments}},n=async()=>{let{data:e}=await (0,r.Yu)("/api/static",{params:{slug:"comments-rules"},useCache:!0});return{title:e.title,content:e.content}}},53076:function(e,t,i){"use strict";i.d(t,{F:function(){return n},G:function(){return s}});var r=i(36286),a=e=>{var t;let{id:i,isDeliverySelfToday:r,latitude:a,longitude:s,workTime:n,name:c,phone:d}=e;return{id:i,isDeliverySelfToday:r,latitude:a,longitude:s,name:c,phone:d,workTime:(null===(t=n[0])||void 0===t?void 0:t.time)||null}};let s=async(e,t)=>{let{data:i}=await (0,r.Yu)("/me/pub/v2/order-types/99/cities/".concat(t,"/delivery-self-today-count?productId=").concat(e),{useCache:!0});return i},n=async(e,t)=>{let{data:i}=await (0,r.Yu)("/me/pub/v2/order-types/99/cities/".concat(t,"/delivery-self-today?productId=").concat(e),{useCache:!0});return i.departments.map(a)}},51552:function(e,t,i){"use strict";i.d(t,{Z:function(){return p}});var r=i(74817),a=i(3333),s=i(96647),n=i(44861),c=i(37518),d=i.n(c),o=i(71248),l=i(85876),u=i.n(l),p=(0,o.memo)(e=>{let{items:t,className:i=""}=e,c=(0,s.ZP)(),l=(0,o.useMemo)(()=>({itemListElement:t.map((e,t)=>({"@type":"ListItem",position:t+1,item:{"@id":c.getAbsoluteUrl(e.url),name:e.name}}))}),[]);return 0===t.length?null:(0,r.jsxs)("div",{className:u().root,children:[(0,r.jsx)(a.Z,{type:"BreadcrumbList",sc
1hema:l}),(0,r.jsx)(n.default,{Link:d(),items:t,className:i})]})})},68670:function(e,t,i){"use strict";var r=i(74817),a=i(66403),s=i(356),n=i(66202),c=i.n(n),d=i(26861),o=i(96647),l=i(86326),u=i(3222),p=i.n(u);t.Z=e=>{let{tags:t,isCard:i,isScroll:n}=e,u=(0,o.ZP)(),m=e=>{let{label:t,url:i,urlEnc:n,isChecked:c,isDisabled:d,nofollow:o,isRegionalUrl:p,renderAsAnchor:m}=e,h=i||n||t;return d?(0,r.jsx)(s.Z,{isChecked:c,isDisabled:!0,isBordered:!0,children:t},h):!1===m?(0,r.jsx)("span",{onClick:()=>u.push((0,l.iK)(n),void 0,{scroll:!1}),children:(0,r.jsx)(s.Z,{isChecked:c,isDisabled:d,isBordered:!0,children:t})},h):(0,r.jsx)(a.Z,{href:i,isRegionalUrl:p,children:(0,r.jsx)("a",{rel:o?"nofollow":void 0,children:(0,r.jsx)(s.Z,{isChecked:c,isDisabled:d,isBordered:!0,children:t})})},h)};return n?(0,r.jsx)(d.default,{children:(0,r.jsx)("div",{className:c()("df",p().scrollWrapper),children:t.map(m)})}):(0,r.jsx)("div",{className:i?"card":"",children:(0,r.jsx)("div",{className:c()("df fww",p().wrapper),children:t.map(m)})})}},13561:function(e,t,i){"use strict";i.r(t),i.d(t,{default:function(){return eG}});var r=i(74817),a=i(71248),s=i(61956),n=i(49172),c=i(66202),d=i.n(c),o=i(51552),l=i(51188),u=i(66403),p=i(84834),m=i(13826),h=i(92243),g=i(82698),_=i(9351),f=i(98821),b=i.n(f),x=b()(()=>i.e(2383).then(i.bind(i,22383)),{loadableGenerated:{webpack:()=>[22383]},ssr:!1}),v=i(6367),y=b()(()=>Promise.all([i.e(1255),i.e(7856)]).then(i.bind(i,47856)),{loadableGenerated:{webpack:()=>[47856]},ssr:!1}),j=i(70434);let w=()=>{let e=document.createElement("script");e.async=!0,e.setAttribute("src","//js-na1.hs-scripts.com/5269792.js"),e.setAttribute("id","hs-script-loader"),document.head.appendChild(e)},C=()=>{let e=document.getElementById("hubspot-messages-iframe-container");e&&e.setAttribute("style","display: none !important")},k=()=>{let e=document.getElementById("hubspot-messages-iframe-container");e&&e.setAttribute("style","display: block !important")},N=()=>!!document.getElementById("hs-script-loader");var P=e=>{let{brandId:t=null}=e;return(0,a.useEffect)(()=>{201===t?N()&&k():N&&C();let e=setTimeout(()=>{201!==t||N()||(w(),k())},5e3);return()=>{e&&clearTimeout(e),C()}},[t]),(0,r.jsx)(r.Fragment,{})},S=i(3333),I=i(96647),R=i(67260),E=i(58585),B=()=>{let[e,t]=(0,a.useState)(0);return(0,a.useEffect)(()=>{let i=()=>{let i=document.documentElement,r=document.body,a=Number(((i.scrollTop||r.scrollTop)/((i.scrollHeight||r.scrollHeight)-i.clientHeight)*100).toFixed(0));e!==a&&t(a)};return i(),window.addEventListener("scroll",i),()=>{window.removeEventListener("scroll",i)}},[]),e},Z=i(59984),T=i(81591),W=i(78278),F=i(36497),L=[{brandId:5,categoriesIds:[20,63,160,161,26],scriptSrc:"https://bitrix.samsung.ua/upload/crm/site_button/loader_145_71ojmc.js",id:1,kwConfig:'{"language_code":"uk","bot_id":"5","title":"ÐонÑÑлÑÑÐ°Ð½Ñ SAMSUNG","subtitle":"","params_from_site":{"url":window.location.href,"type":"mobile"},"widgetButton":{"type":"button","position":{"y":"bottom","x":"right","offset":25}},"colors":{"device":{"bg":"#FCFCFC","dot":"#95CBFB","border":"#188BE4","container":"#FCFCFC"},"keyboardButton":{"border":"#00B3E3","bg":"#00B3E3","text":"#FFFFFF"},"header":{"bg":"#00B3E3","text":"#ffffff"},"poweredLink":{"color":"#188BE4"},"userInput":{"bg":"#eaeaea","border":"#75787B","text":"#565867"},"sentMessage":{"bg":"#00B3E3","text":"#ffffff"},"receivedMessage":{"bg":"#eaeaea","text":"#222222"},"inlineKeyboardButton":{"bg":"#00B3E3","text":"#00B3E3","bgc":"#ffffff"}},"displayMode":"widget","launcher":{"type":"icon","closeIcon":"close","openIcon":"chat_bubble"},"recognize_user_meta":"false","titleImageUrl":"https://storage.static.kwizbot.io/samsung.kwizbot.io/static/photo_2024-02-07_16-55-35.jpg","botAvatarImageUrl":"https://storage.static.kwizbot.io/samsung.kwizbot.io/static/photo_2024-02-07_16-55-35.jpg","open_on_msg":false,"btn_restart_enabled":false,"callout":{"type": "text","text": "<div>Ð§Ð°Ñ SAMSUNG</div>ÐÑÑаÑмо! ÐоÑÑÑбна допомога з пÑодÑкÑÑÑÑ Samsung? Ðи ÑÑÑ, Ñоб допомогÑи","imgSrc": "https://storage.static.kwizbot.io/samsung.kwizbot.io/static/photo_2024-02-07_16-55-35.jpg","show": "true","showDelay": 4000,"minWidth": 300,"position":{"y": "bottom","x": ""}},"widget_button_animation": true}'},{brandId:5,categoriesIds:[2681,139,39,930],scriptSrc:"https://bitrix.samsung.ua/upload/crm/site_button/loader_147_df48mk.js",id:2,kwConfig:'{"language_code":"uk","bot_id":"5","title":"ÐонÑÑлÑÑÐ°Ð½Ñ SAMSUNG","subtitle":"","params_from_site":{"url":window.location.href,"type":"tv-it"},"widgetButton":{"type":"button","position":{"y":"bottom","x":"right","offset":25}},"colors":{"device":{"bg":"#FCFCFC","dot":"#95CBFB","border":"#188BE4","container":"#FCFCFC"}
1,"keyboardButton":{"border":"#00B3E3","bg":"#00B3E3","text":"#FFFFFF"},"header":{"bg":"#00B3E3","text":"#ffffff"},"poweredLink":{"color":"#188BE4"},"userInput":{"bg":"#eaeaea","border":"#75787B","text":"#565867"},"sentMessage":{"bg":"#00B3E3","text":"#ffffff"},"receivedMessage":{"bg":"#eaeaea","text":"#222222"},"inlineKeyboardButton":{"bg":"#00B3E3","text":"#00B3E3","bgc":"#ffffff"}},"displayMode":"widget","launcher":{"type":"icon","closeIcon":"close","openIcon":"chat_bubble"},"recognize_user_meta":"false","titleImageUrl":"https://storage.static.kwizbot.io/samsung.kwizbot.io/static/photo_2024-02-07_16-55-35.jpg","botAvatarImageUrl":"https://storage.static.kwizbot.io/samsung.kwizbot.io/static/photo_2024-02-07_16-55-35.jpg","open_on_msg":false,"btn_restart_enabled":false,"callout":{"type": "text","text": "<div>Ð§Ð°Ñ SAMSUNG</div>ÐÑÑаÑмо! ÐоÑÑÑбна допомога з пÑодÑкÑÑÑÑ Samsung? Ðи ÑÑÑ, Ñоб допомогÑи","imgSrc": "https://storage.static.kwizbot.io/samsung.kwizbot.io/static/photo_2024-02-07_16-55-35.jpg","show": "true","showDelay": 4000,"minWidth": 300,"position":{"y": "bottom","x": ""}},"widget_button_animation": true}'},{brandId:5,categoriesIds:[2099,2283,2243,2231,146,1524,1161,2316,2383,2514],scriptSrc:"https://bitrix.samsung.ua/upload/crm/site_button/loader_146_74dyvd.js",id:3,kwConfig:'{"language_code":"uk","bot_id":"5","title":"ÐонÑÑлÑÑÐ°Ð½Ñ SAMSUNG","subtitle":"","params_from_site":{"url":window.location.href,"type":"homeAppliances"},"widgetButton":{"type":"button","position":{"y":"bottom","x":"right","offset":25}},"colors":{"device":{"bg":"#FCFCFC","dot":"#95CBFB","border":"#188BE4","container":"#FCFCFC"},"keyboardButton":{"border":"#00B3E3","bg":"#00B3E3","text":"#FFFFFF"},"header":{"bg":"#00B3E3","text":"#ffffff"},"poweredLink":{"color":"#188BE4"},"userInput":{"bg":"#eaeaea","border":"#75787B","text":"#565867"},"sentMessage":{"bg":"#00B3E3","text":"#ffffff"},"receivedMessage":{"bg":"#eaeaea","text":"#222222"},"inlineKeyboardButton":{"bg":"#00B3E3","text":"#00B3E3","bgc":"#ffffff"}},"displayMode":"widget","launcher":{"type":"icon","closeIcon":"close","openIcon":"chat_bubble"},"recognize_user_meta":"false","titleImageUrl":"https://storage.static.kwizbot.io/samsung.kwizbot.io/static/photo_2024-02-07_16-55-35.jpg","botAvatarImageUrl":"https://storage.static.kwizbot.io/samsung.kwizbot.io/static/photo_2024-02-07_16-55-35.jpg","open_on_msg":false,"btn_restart_enabled":false,"callout":{"type": "text","text": "<div>Ð§Ð°Ñ SAMSUNG</div>ÐÑÑаÑмо! ÐоÑÑÑбна допомога з пÑодÑкÑÑÑÑ Samsung? Ðи ÑÑÑ, Ñоб допомогÑи","imgSrc": "https://storage.static.kwizbot.io/samsung.kwizbot.io/static/photo_2024-02-07_16-55-35.jpg","show": "true","showDelay": 4000,"minWidth": 300,"position":{"y": "bottom","x": ""}},"widget_button_animation": true}'}],z=e=>{let{brandId:t,categoryId:i}=e,r=(0,a.useMemo)(()=>L.find(e=>e.brandId===t&&e.categoriesIds.includes(i)),[t,i]),s=()=>document.getElementById("kwizbot_widget"),n=e=>{if(s())void 0!==window.kw_event&&(window.kw_event("kwreinitwidget",JSON.parse(e.replace("window.location.href",'"'.concat(window.location.href,'"')))),window.kw_event("kwvisiblelauncher",{visible:!0}));else{let t=document.createElement("script"),i=document.createElement("div");t.innerHTML="(function (k, w, i, z, b, o, t) {k['KwizbotWidget'] = b; k[b] = k[b] || function () { w.head.insertAdjacentHTML('beforeend', '<style type=\"text/css\">.showAfterCssLoaded{display: none} .sc-powered-by{display:none} .scchat-window{letter-spacing: 1px;} @media screen and (min-width: 451px) {.sc-chat-window{max-height: 550px;}}</style>'); (k[b].q = k[b].q || []).push(arguments) }, k[b].l = 1 * new Date(); o = w.createElement(i), t = w.getElementsByTagName(i)[0]; o.async = 1; o.src = z; t.parentNode.insertBefore(o, t) })(window, document, 'script', 'https://widget-samsung.kwizbot.io/kwjs.js', 'kw'); kw('init', ".concat(e,");"),i.setAttribute("id","kwizbot_widget"),document.body.appendChild(i),document.body.appendChild(t)}};return(0,a.useEffect)(()=>{let e;let t=s();return r&&(t?n(r.kwConfig):e=setTimeout(()=>{n(r.kwConfig)},5e3)),()=>{e&&clearTimeout(e),void 0!==window.kw_event&&window.kw_event("kwvisiblelauncher",{visible:!1})}},[r]),null}
1,M=i(58861),A=i(15775),D=i(91961),O=i(76608),G=i(8062);let Y=[...v.QV,v.nu];var U=e=>{let{product:t,classes:i,name:c,tabs:o}=e,[l,u]=(0,a.useState)(!1),[p,m]=(0,a.useState)(!1),[h,g]=(0,a.useState)(!1),{t:_}=(0,s.$)("product_page"),f=(0,n.Z)("(min-width: 320px)"),b=(0,n.Z)("(min-width: 768px)"),x=(0,n.Z)("(min-width: 1025px)"),y=(0,n.Z)("(min-width: 1366px)"),{push:j,query:w,pathname:C}=(0,F.useRouter)(),k=String(w.tab||o[0].key),{buttonBuy:N,prices:P}=(0,a.useMemo)(()=>t?(0,v.NT)(t,_,!0):{},[t]);(0,a.useEffect)(()=>{u(!0)},[]),(0,a.useEffect)(()=>{let e=()=>{b&&window.scrollY>200||f&&window.scrollY>100?m(!0):m(!1),b&&window.scrollY>520?g(!0):g(!1)};return window.addEventListener("scroll",e,{passive:!0}),()=>{window.removeEventListener("scroll",e)}},[b]);let S=e=>{e!==k&&j({pathname:C,query:{...w,tab:e}},void 0,{shallow:!0})};return(0,a.useEffect)(()=>{if(["accessories","characteristic"].includes(k)){let e=document.getElementById(k);e?window.scroll({top:e.offsetTop-(h?114:248),behavior:"auto"}):(0,D.Z)(0,0)}else(0,D.Z)(0,0)},[k]),(0,r.jsxs)(r.Fragment,{children:[(!l||!b)&&(0,r.jsx)(M.Z,{currentTab:k,onChange:S,className:d()("product-tabs",i.tabs,{"stiky-tabs":p}),children:o.map(e=>(0,r.jsx)(M.Z.TabPane,{title:e.title},e.key))}),l&&b&&!x&&(0,r.jsx)(M.Z,{currentTab:k,onChange:S,className:d()("product-tabs",i.tabs,{"stiky-tabs":p,"stiky-tabs-animate":h}),thema:"light",children:o.map(e=>(0,r.jsx)(M.Z.TabPane,{title:e.title},e.key))}),l&&x&&(0,r.jsx)("div",{className:d()("product-tabs",{"stiky-tabs":p,"stiky-tabs-animate":h}),children:(0,r.jsxs)("div",{className:d()("df jcsb aic",{"main-container":p,[i.scrolledTabs]:p}),children:[(0,r.jsx)(M.Z,{currentTab:k,onChange:S,className:d()(i.tabs,{"tabs-animate":h}),thema:"light",children:o.map(e=>(0,r.jsx)(M.Z.TabPane,{title:e.title},e.key))}),y&&(0,r.jsxs)("div",{className:"df aic tabs-buy",children:[t&&t.images.length>0&&(0,r.jsx)("div",{className:d()("df aic jcc mr8",i.tabsImage),children:(0,r.jsx)("img",{src:t.images[0].previewSrc,width:40,height:40})}),(0,r.jsx)("div",{className:d()("fz12 mr16 line-clamp-2",i.tabsTitle),children:c}),(0,r.jsx)("div",{className:d()("df fdc mr24",i.tabsPrices),children:P&&0!==P.price&&(0,r.jsx)(G.Z,{cashback:P.bonus,children:(0,r.jsxs)("div",{className:d()("df aic",i.tabsPricesContainer),children:[0!==P.old&&(0,r.jsx)("span",{className:d()("fz12 old-price",i.tabsOldPrice),children:(0,A.toFormatNumber)(P.old)}),0!==P.sale&&(0,r.jsxs)("span",{className:d()("fz12 ml8 mr16",i.tabsSale),children:["-",P.sale,"%"]}),(0,r.jsxs)("span",{className:d()("price fz16 medium",i.tabsPrice),children:[(0,A.toFormatNumber)(P.price)," ",(0,r.jsx)("span",{children:"â´"})]})]})})}),t&&!Y.includes(t.status.id)&&(0,r.jsx)(O.Z,{place:"ProductPageHeader",buttonBuy:N,price:P.price,statusId:t.status.id,name:c})]})]})})]})},q=i(1449),V=i(69361),H=i.n(V),J=e=>{let{html:t,scripts:i}=e,{ref:s,inView:n}=(0,q.YD)({triggerOnce:!0,delay:500}),{ref:c,inView:o}=(0,q.YD)({triggerOnce:!0,threshold:.1});function l(e){let t=document.createElement("script");t.setAttribute("data-rich-script","true"),t.innerHTML=e,document.body.appendChild(t)}(0,a.useEffect)(()=>{o&&Z.Z.track("rich_content_view")},[o]),(0,a.useEffect)(()=>(n&&i.forEach(l),()=>{i.length>0&&document.querySelectorAll("[data-rich-script]").forEach(e=>e.remove())}),[n,t]);let u=e=>{e.preventDefault()};return t?(0,r.jsx)("div",{ref:s,className:d()("big-container product full-height pr fz14 full-width ovh",H().bigContainer),children:(0,r.jsx)("div",{ref:c,className:d()(H().productDescription,H().basePadding,"product__description container base-padding"),children:(0,r.jsx)("div",{dangerouslySetInnerHTML:{__html:t},onCopy:u,onContextMenu:u,className:H().noSelect})})}):null},K=b()(()=>Promise.all([i.e(6239),i.e(2181),i.e(9878)]).then(i.bind(i,79878)),{loadableGenerated:{webpack:()=>[79878]}}),Q=b()(()=>Promise.all([i.e(5514),i.e(5770)]).then(i.bind(i,55770)),{loadableGenerated:{webpack:()=>[55770]}}),$=b()(()=>Promise.all([i.e(3016),i.e(318)]).then(i.bind(i,30318)),{loadableGenerated:{webpack:()=>[30318]}}),X=i(40794),ee=i(85775),et=i(42090),ei=i(69835),er=i(88795),ea=i(82446),es=i(86326),en=i(17126),ec=i(86800),ed=i(36725),eo=i(36286);let el=b()(()=>Promise.all([i.e(582),i.e(1074)]).then(i.bind(i,41074)),{loadableGenerated:{webpack:()=>[41074]},ssr:!1,loading:function(){return(0,r.jsx)("div",{style:{width:216}})}}),eu=b()(()=>Promise.all([i.e(8054),i.e(1260),i.e(6568)]).then(i.bind(i,56568)),{loadableGenerated:{webpack:()=>[56568]},ssr:!1}),ep=(e,t)=>{let i={badThings:e.params.bad_things,goodThings:e.params.good_things,createdAt:e.created_at,id:e.id,isComplained:e.is_complained,isLiked:e.is_liked,likes:e.counters.like
1s,mark:e.params.mark,content:e.params.content||(null==e?void 0:e.text),tags:1===e.status?[t("tags.moderation")]:[],name:e.user_data.name,comments:[]};if(e.top_answer){let r=[t("tags.answer")];1===e.top_answer.status&&r.push(t("tags.moderation")),i.comments.push({tags:r,createdAt:e.top_answer.created_at,id:e.top_answer.id,isComplained:e.top_answer.is_complained,isLiked:e.top_answer.is_liked,likes:e.top_answer.counters.likes,mark:e.top_answer.status,content:e.top_answer.text,name:e.top_answer.user_data.name})}return i},em=(e,t)=>{let i={};return i[e.id]=e[t],e.comments.forEach(e=>{i[e.id]=e[t]}),i};var eh=e=>{let{review:t,productId:i}=e,{t:n}=(0,s.$)("product_page"),c=(0,ee.Z)(),[d,o,l]=(0,en.default)(),u=(0,a.useMemo)(()=>ep(t,n),[t,n]),[p,m]=(0,a.useState)(em(u,"isLiked")),[h,g]=(0,a.useState)(em(u,"isComplained"));return(0,r.jsx)(ed.Z,{data:{...u,isLiked:p[u.id],isComplained:h[u.id],likes:u.likes+Number(p[u.id]),comments:u.comments.map(e=>({...e,isLiked:p[e.id],isComplained:h[e.id],likes:u.likes+Number(p[e.id])}))},locales:{userExperience:n("common:comments.experience"),pluses:n("common:comments.advantages"),minuses:n("common:comments.disadvantages"),reply:n("common:comments.reply"),isUsefulReview:n("common:comments.isUsefulReview"),showMore:"",hideAll:""},isOpenedReply:d,handleReportClick:e=>{c.onlyAuthorization(async()=>{try{h[e]||await (0,eo.qC)("/api/comments/".concat(e,"/complain")),g({...h,[e]:!0})}catch(e){console.info("Complain:",e.message)}})},handleLikeClick:e=>{c.onlyAuthorization(async()=>{try{p[e]?await (0,eo.SR)("/api/comments/".concat(e,"/like")):await (0,eo.qC)("/api/comments/".concat(e,"/like")),m({...p,[e]:!p[e]})}catch(e){console.info("Like:",e.message)}})},handleOpenCommentClick:()=>{c.onlyAuthorization(()=>{d?l():o()})},Socials:el,CommentForm:e=>{let{id:t}=e;return(0,r.jsx)(eu,{id:t,productId:i,onClose:l})}})},eg=i(59887),e_=i.n(eg);let ef=b()(()=>Promise.all([i.e(8054),i.e(1260),i.e(8456)]).then(i.bind(i,18456)),{loadableGenerated:{webpack:()=>[18456]},ssr:!1});var eb=(0,a.memo)(e=>{let{metadata:t,product:i,isProductPage:n=!1}=e,{t:c}=(0,s.$)("product_page"),o=(0,ee.Z)(),[l,u]=(0,a.useState)(es.C5?Number(String(window.location.hash).replace("#id-","")):null),[p,m,h]=(0,en.default)(!1),[g,_]=(0,a.useState)(!0),[f,b]=(0,a.useState)(1),[x,v]=(0,a.useState)({reviews:[],pagination:null}),y=async()=>{let e=await (0,X.Jx)({page:f,reviewId:l,productId:i.id});v(e),b(e.pagination.current_page),_(!1),l&&setTimeout(()=>{let e=document.getElementById("id-".concat(l));e&&(0,D.Z)(e.offsetTop-105,300),u(null)},0)};return((0,a.useEffect)(()=>{var e;(null===(e=x.pagination)||void 0===e?void 0:e.current_page)!==f&&o.isLoad&&y()},[i.id,f,o.isAuthorized,o.isLoad]),g)?(0,r.jsx)("div",{className:"df jcc",children:(0,r.jsx)("div",{className:"m32",style:{width:100,height:100},children:(0,r.jsx)(ea.default,{})})}):(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("div",{className:d()(e_().container,"widgets",{[e_().root]:!n}),children:[(0,r.jsxs)("div",{className:e_().wrapper,children:[n?(0,r.jsxs)("div",{className:"widgets card",children:[(0,r.jsx)("h3",{children:t.h1}),(0,r.jsx)("div",{className:e_().addCommentButton,children:(0,r.jsx)(ei.default,{onClick:m,fullWidth:!0,variant:"stroke",children:c("reviews.forms.addNew.leaveFeedback")})})]}):(0,r.jsxs)("div",{className:"widgets pb16",children:[(0,r.jsxs)("h3",{children:[c("reviews.title"),(0,r.jsx)("span",{children:" ".concat(t.h1)})]}),(0,r.jsx)("div",{className:e_().addCommentButton,children:(0,r.jsx)(ei.default,{onClick:m,fullWidth:!0,variant:"stroke",children:c("reviews.forms.addNew.leaveFeedback")})})]}),x.reviews.length>0?(0,r.jsx)("div",{className:e_().comment,children:x.reviews.map(e=>(0,r.jsx)("div",{id:"id-".concat(e.id),className:d()({card:n}),children:(0,r.jsx)(eh,{productId:i.id,review:e})},e.id))}):(0,r.jsxs)("div",{className:d()("df fdc aic tc widgets",e_().empty),children:[(0,r.jsx)(er.default,{}),(0,r.jsx)("p",{children:c("reviews.empty")})]})]}),!n&&x.pagination&&x.pagination.total>1&&(0,r.jsx)("div",{className:d()(e_().paginationContainer,"df jcc"),children:(0,r.jsx)(et.Z,{onChange:b,page:f,pageCount:x.pagination.per_page,total:x.pagination.total})}),p&&(0,r.jsx)(ec.default,{size:"medium",onClose:h,children:(0,r.jsx)(ef,{onClose:h,productId:i.id})})]})})}),ex=b()(()=>Promise.all([i.e(8054),i.e(1260),i.e(6996)]).then(i.bind(i,86996)),{loadableGenerated:{webpack:()=>[86996]}});let ev=e=>{let{counters:t,product:i,t:a}=e;return[{key:"description",title:a("tabs.description"),component:K},{key:"characteristic",title:a("tabs.characteristic"),component:K},{key:"accessories",title:a("tabs.accessories"),component:K},i.images.length>0&&{key:"photo",title:a("tabs.photo"),component:Q},i.videos.length>0&&{key:"videoreviews",title:a("tabs.videoreviews"),component:$},{key:"reviews",title:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{children:a(t.reviews>0?"tabs.reviews":"tabs.leaveReview")}),t.reviews>0&&(0,r.jsx)("span",{className:"reviews-badg",children:t.reviews})]}),component:eb},{key:"questions",title:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{children:a(t.comments>0?"tabs.questions":"tabs.askQuestions")}),t.comments>0&&(0,r.jsx)("span",{className:"comments-badg",children:t.comments})]}),component:ex}
1].filter(Boolean)};var ey=i(7009),ej=i.n(ey),ew=i(15834),eC=i(78018),ek=i(50575),eN=i(79582),eP=i(39281),eS=i(5599),eI=i(12834),eR=i.n(eI),eE=i(10679),eB=i(6143),eZ=i(57246),eT=e=>{let{product:t,title:i,favorites:n,category:c,tradeInUrl:o}=e,{t:l}=(0,s.$)("product_page"),[u,p]=(0,a.useState)(!1),[m,h]=(0,a.useState)(!1),[g,_]=(0,a.useState)(!0),[f,b]=(0,a.useState)(!1),{buttonBuy:x,description:y,prices:j}=(0,a.useMemo)(()=>(0,v.NT)(t,l,!0),[t]);return(0,a.useEffect)(()=>{let e=()=>{window.scrollY>72?p(!0):p(!1),window.scrollY>520?h(!0):h(!1)};return window.addEventListener("scroll",e,{passive:!0}),()=>{window.removeEventListener("scroll",e)}},[]),(0,r.jsxs)("div",{className:d()("ml8",eR().container,{[eR().containerScroll]:u,[eR().containerScrollTabs]:m}),children:[(0,r.jsxs)("div",{className:d()("dg",eR().preview),children:[t.images.length>0&&(0,r.jsx)("div",{className:d()("df aic jcc",eR().imageContainer),children:(0,r.jsx)("img",{src:t.images[0].previewSrc,width:100,height:100})}),(0,r.jsxs)("div",{className:"",children:[(0,r.jsx)("div",{className:d()("fz16",eR().title),children:i}),(0,r.jsxs)("div",{className:"df aic mt8",children:[(0,r.jsx)(eC.default,{readonly:!0,size:18,rating:t.rating}),t.rating>0&&(0,r.jsx)("span",{className:d()("pl8 fz12 medium",eR().rating),children:t.rating.toFixed(1)})]}),(0,r.jsxs)("div",{className:"df aic fz12 mt8",children:[(0,r.jsx)("span",{children:"Ðод:"}),(0,r.jsx)("span",{className:"medium",children:t.id}),(0,r.jsx)(ek.default,{onClick:()=>{(0,es.vQ)(t.id),(0,ew.h)(l("codeCopied"),{type:"info"})},className:d()("icon cup ml8",eR().iconCopy)})]})]})]}),(0,r.jsxs)("div",{className:d()(eR().cardContainer,{[eR().cardContainerOpened]:g}),onTransitionEnd:e=>{"max-height"!==e.propertyName||g||b(!f)},children:[""!==y&&(0,r.jsx)(eB.Z,{description:y,statusId:t.status.id,type:"right"}),t.stickers.length>0&&(0,r.jsx)(eP.Z,{stickers:t.stickers,className:"mt24",productId:t.id,brandId:t.brand.id,type:"right"}),(0,r.jsx)(eZ.Z,{product:t,tradeInUrl:o,type:"right",className:"mt24"}),(0,r.jsx)(eS.Z,{buttonBuy:x,prices:j,statusId:t.status.id,productId:t.id,name:i,showBuyInCreditButton:t.showBuyInCreditButton,type:"right",favorites:n,categoryId:c.id,className:eR().priceWrapper})]}),(0,r.jsx)("div",{className:d()(eR().cardContainer,{[eR().cardContainerOpened]:f,pt32:f}),onTransitionEnd:e=>{"max-height"!==e.propertyName||f||_(!g)},children:(0,r.jsx)(eE.Z,{productId:t.id,productWarranty:t.warranty,type:"card-right",statusId:t.status.id,price:j.price})}),(0,r.jsx)(ei.default,{onClick:()=>f?b(!1):_(!1),fullWidth:!0,variant:"stroke",className:d()("mt24",eR().cardRightTrigger),children:(0,r.jsxs)("span",{className:"df aic capitalize",children:[g?l("description.delivery"):l("description.toProduct")," ",(0,r.jsx)(eN.default,{className:d()(eR().arrow,{transform180:f})})]})})]})},eW=i(68670),eF=i(29641),eL=i(65612),ez=i.n(eL),eM=e=>{let{product:t,metadata:i}=e,{t:n}=(0,s.$)("product_page");return(0,r.jsxs)("div",{className:d()("widgets",ez().container),children:[t.properties_tree.grouped.map((e,t)=>{var i;return(0,r.jsxs)(a.Fragment,{children:[(0,r.jsx)("h3",{className:"pt8",children:e.name}),(0,r.jsx)("div",{className:ez().characteristic,children:null===(i=e.property)||void 0===i?void 0:i.map(e=>{var t;return(0,r.jsxs)(a.Fragment,{children:[(0,r.jsx)("div",{children:(0,r.jsx)("div",{className:"row",children:(0,r.jsx)("span",{children:e.name})})},"first-".concat(e.id)),(0,r.jsx)("div",{children:null==e?void 0:null===(t=e.values)||void 0===t?void 0:t.map((e,t)=>{let{value:i,link:a}=e;return a?(0,r.jsx)("p",{children:(0,r.jsx)(u.Z,{href:a,children:(0,r.jsx)("a",{className:"link",children:i})})},a):(0,r.jsx)("p",{dangerouslySetInnerHTML:{__html:i}},t)})},"second-".concat(e.id))]},e.id)})})]},"".concat(e.name,"-").concat(t))}),t.files.length>0&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("h3",{children:n("downloads")}),(0,r.jsx)("div",{className:ez().characteristic,children:t.files.map(e=>(0,r.jsxs)(a.Fragment,{children:[(0,r.jsx)("div",{children:(0,r.jsx)("div",{className:"row",children:(0,r.jsx)("span",{children:e.name})})}),(0,r.jsx)("div",{children:(0,r.jsx)("p",{children:(0,r.jsxs)("a",{className:"link",href:e.url,target:"_blank",rel:"noopener noreferrer",children:[n("download")," (",e.size,")"]})})})]},e.id))})]})]})};let eA=["description","accessories","characteristic"],eD=()=>{let e=new Date,t=new Date(e.getFullYear(),e.getMonth()+1,0),i=t.getMonth()+1;return i<10&&(i="0".concat(i)),"".concat(t.getFullYear(),"-").concat(i,"-").concat(t.getDate())},eO=e=>[...v.QV,v.nu].includes(e);var eG=e=>{let{t}=(0,s.$)("product_page"),i=(0,n.Z)("(min-width: 1024px)"),c=(0,F.useRouter)(),f=B(),b=(0,a.useMemo)(()=>ev({...e,t}),[e]),w=String(c.query.tab||b[0].key),[C,k]=(0,h.Z)("arrayViwed",[]),{tags:N,reviews:L,product:M,counters:A,breadcrumbs:D,segmentTags:O}=e,[G,Y]=(0,a.useState)(()=>eO(M.status.id));(0,a.useEffect)(()=>{k([...new Set([M.id,...C.slice(0,29)])]),R.Z.productPage(M)},[M.id]),(0,a.useEffect)(()=>{Y(eO(M.status.id)),eO(M.status.id)||document.body.classList.remove("scroll-disabled")},[M.id]),(0,a.useEffect)(()=>(document.body.classList.add("product-page"),()=>{document.body.classList.remove("product-page")}),[]),(0,a.useEffect)(()=>{Z.Z.scrolling(M.id,f)},[f]);let q=(0,a.useMemo)(()=>{var e;return(null===(e=b.find(e=>{let{key:t}=e;return t===w}))||void 0===e?void 0:e.component)||b[0].component},[w]),V=(0,a.useMemo)(()=>{var t,i,r;let a="OutOfStock";[v.EO,v.Ym].includes(M.status.id)||M.status.id===v.Nx&&M.prices.price?a="InStock":M.status.id===v.hs&&(a="PreOrder");let s={name:M.name,mpn:M.id,sku:M.id,description:e.metadata.description||void 0,image:M.images.map(e=>e.original),brand:{"@type":"Brand",name:M.brand.name},offers:{"@type":"Offer",priceValidUntil:eD(),url:(0,I.WN)(M.url),priceCurrency:"UAH",price:M.prices.price,seller:{"@type":"Organization",name:"ЦиÑÑÑÑ"},availability:"http://schema.org/".concat(a)}};return(null===(t=M.aggrigates)||void 0===t?void 0:t.reviews_count)>0&&(s.aggregateRating={"@type":"AggregateRating",ratingValue:null===(i=M.aggrigates)||void 0===i?void 0:i.rating_value,reviewCount:null===(r=M.aggrigates)||void 0===r?void 0:r.reviews_count,bestRating:5,worstRating:1}),e.topReviews.length&&(s.review=e.topReviews.map(e=>({"@type":"Review",reviewRating:{"@type":"Rating",ratingValue:e.mark},author:{"@type":"Person",name:e.author},reviewBody:e.text}))),s},[]);return(0,r.jsxs)(eF.H.Provider,{value:M,children:[G&&(0,r.jsx)(y,{productId:M.id,onClose:()=>Y(!1)}),(0,r.jsx)(l.Z,{}),(0,r.jsx)(S.Z,{type:"Product",schema:V}),(0,r.jsxs)("div",{className:"widgets",children:[(0,r.jsx)("div",{className:"main-container mt16 ovh",children:(0,r.jsx)(o.Z,{items:D})}),(0,r.jsx)("div",{className:d()("main-container",ej().cardContainer),children:(0,r.jsxs)("div",{className:d()({[ej().cardContainerAnotherTabs]:!eA.includes(w)}),children:[(0,r.jsxs)("div",{className:d()(ej().card,{ovh:"description"!==w,[ej().cardAnotherTabs]:!eA.includes(w)}),children:[(0,r.jsx)(U,{classes:ej(),product:M,name:e.metadata.h1,tabs:b}),(0,r.jsx)(q,{...e})]}),i&&!eA.includes(w)&&(0,r.jsx)(eT,{product:M,title:e.metadata.h1,favorites:A.favorite,category:M.category,tradeInUrl:e.tradeInUrl})]})}),eA.includes(w)&&(0,r.jsx)("div",{className:"widgets",children:(0,r.jsx)(g.Z,{type:"product",productId:M.id,children:e=>{let{products:i}=e;return(0,r.jsx)(m.Z,{onChange:e=>{e&&R.Z.sendEvent("ProductImpressions",{ProductImpression:i.map(e=>({product_id:e.id}))})},children:(0,r.jsx)(W.Z,{className:"main-container",place:"Product Page - You May Like",rubric:{title:t("common:youMayAlsoLike"),banners:[],products:i}})})}})}),eA.includes(w)&&(0,r.jsx)(J,{html:L.html,scripts:L.scripts}),(0,r.jsxs)("div",{className:"main-container widgets",children:[["description","characteristic"].includes(w)&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(p.Z,{id:"characteristic",title:t("tabs.characteristic"),children:(0,r.jsx)(T.default,{trigger:e=>{let{isOpen:i}=e;return(0,r.jsx)("div",{className:"df",children:(0,r.jsx)("div",{className:d()("link mt16"),children:i?t("description.lessCharacteristics"):t("description.allCharacteristics")})})},minHeight:435,triggerPosition:"bottom",children:(0,r.jsx)("div",{className:"card",children:(0,r.jsx)(eM,{...e})})})}),e.comments.pagination.total>0&&(0,r.jsxs)(p.Z,{id:"reviews",title:t("tabs.reviews"),children:[(0,r.jsx)(eb,{...e,isProductPage:!0}),(0,r.jsx)("div",{className:"df",children:(0,r.jsx)("div",{onClick:()=>c.push({pathname:c.pathname,query:{...c.query,tab:"reviews"}}),className:d()("link mt16"),children:t("description.allReviews")})})]})]}),(0,r.jsx)(E.Z,{product_id:M.id,type:"buy_with",currentTab:w})]}),(0,r.jsx)(x,{productId:M.id,children:e=>{let{products:i}=e;return(0,r.jsx)(m.Z,{children:(0,r.jsx)(W.Z,{className:"main-container",place:"Product Page - Same Series",rubric:{title:t("common:similarProducts"),banners:[],products:i}})})}}),(0,r.jsx)(_.Z,{children:e=>{let{products:i}=e;return(0,r.jsx)(m.Z,{children:(0,r.jsx)(W.Z,{className:"main-container",place:"Product Page - Last Seen",rubric:{title:t("common:viewedProducts"),banners:[],products:i}})})}}),(0,r.jsxs)("div",{className:"main-container widgets",children:[O.length>0&&(0,r.jsx)("div",{className:"card df aic fww",children:O.map(e=>(0,r.jsx)(u.Z,{href:e.url,children:(0,r.jsx)("a",{className:d()("link m8",ej().link),children:e.title})},e.id))}),N.length>0&&(0,r.jsx)(p.Z,{title:t("common:tagsTitle",{category:e.metadata.h1}),children:(0,r.jsx)(eW.Z,{tags:N.map(e=>({label:e.title,isChecked:!1,isDisabled:!1,url:e.url})),isCard:!0})})]})]}),(0,r.jsx)("div",{className:"p32"}),(0,r.jsx)(j.Z,{brandId:M.brand.id}),(0,r.jsx)(P,{brandId:M.brand.id}),(0,r.jsx)(z,{brandId:M.brand.id,categoryId:M.category.id})]})}},57246:function(e,t,i){"use strict";i.d(t,{Z:function(){return Z}});var r=i(74817),a=i(71248),s=i(66202),n=i.n(s),c=i(8997),d=i(61956),o=i(15775),l=i(33306),u=i.n(l),p=e=>{let{percent:t,saleValue:i}=e,{t:a}=(0,d.$)("product_page");return(0,r.jsxs)("div",{className:n()("df",u().sale),children:[(0,r.jsxs)("div",{className:n()("fz14 sale-percent",u().percent),"data-sale-percent":t,children:["-",t,"%"]}),(0,r.jsxs)("div",{className:n()("fz12 sale-value",u().benefit),"data-sale-value":i,children:[a("description.benefit")," ",(0,r.jsx)("span",{className:u().benefitCurrency,children:(0,o.toFormatNumber)(i,"currency")})]})]})},m=i(66403),h=i(92243),g=i(86629),_=i.n(g),f=e=>{let{productId:t,apiUrl:i}=e,{t:a}=(0,d.$)("product_page"),[,s]=(0,h.Z)("exchangePreselectedProduct",{});return(0,r.jsx)(m.Z,{href:"/obmen",children:(0,r.jsx)("a",{onClick:()=>{s(JSON.stringify({productId:t,apiUrl:i}))},className:n()(_().link,"df aife f-secondary"),target:"_blank",rel:"noopener noreferrer",children:a("description.tradeIn")})})},b=i(8062),x=i(6367);let v=[x.Ym,x.EO,x.Nx],y=[20,63,96],j=(e,t)=>v.includes(e)&&y.includes(t),w=e=>Math.floor(e-.9*e);var C=i(78297),k=i(86800),N=i(49172),P=i(17126),S=i(34074),I=i.n(S),R=e=>{let{image:t,logo:i}=e,[s,c]=(0,a.useState)(!1),[d,o,l]=(0,P.default)(!1),u=(0,N.Z)("(min-width: 768px)");return(0,a.useEffect)(()=>{c(!0)},[]),(0,r.jsxs)(r.Fragment,{children:[(!s||!u)&&(0,r.jsx)("img",{src:i,alt:"product energy efficie
1ncy class",onClick:o}),u&&(t?(0,r.jsx)(C.default,{classNameTrigger:n()(I().energyEfficienty,"df"),content:(0,r.jsx)("img",{src:t,alt:"product energy efficiency class info image",className:"full-width"}),children:(0,r.jsx)("img",{src:i,alt:"product energy efficiency class"})}):(0,r.jsx)("img",{src:i,alt:"product energy efficiency class"})),d&&t&&(0,r.jsx)(k.default,{isTransition:!1,onClose:l,children:(0,r.jsx)("div",{className:"df jcc",children:(0,r.jsx)("img",{src:t,alt:"product energy efficiency class info image",className:"full-width"})})})]})},E=i(94900),B=i.n(E),Z=e=>{let{product:t,tradeInUrl:i,type:s="default",className:d}=e,o=j(t.status.id,t.category.id)&&t.prices.price,l=(0,a.useMemo)(()=>{let e=[];return o&&e.push({id:"trade-in",component:(0,r.jsx)(f,{productId:t.id,price:w(t.prices.price),apiUrl:i})}),0!==t.prices.sale&&0!==t.prices.old&&e.push({id:"benefit",component:(0,r.jsx)(p,{percent:t.prices.sale,saleValue:t.prices.saleValue})}),0!==t.prices.bonus&&e.push({id:"cashback",component:(0,r.jsx)(b.Z,{cashback:t.prices.bonus})}),t.energyEfficiency.logo&&e.push({id:"energy-efficienty",component:(0,r.jsx)(R,{logo:t.energyEfficiency.logo,image:t.energyEfficiency.image})}),e},[t,o,i]);return l.length?(0,r.jsx)(c.Z,{className:n()(B().wrapper,d),margin:24,items:l,isButtons:!0,children:e=>(0,r.jsx)("div",{className:"no-wrap",children:e.component},e.id)}):null}},10679:function(e,t,i){"use strict";i.d(t,{Z:function(){return E}});var r=i(74817),a=i(71248),s=i(96647),n=i(66202),c=i.n(n),d=i(78243),o=i(17126),l=i(49172),u=i(61956),p=i(56719),m=i(81591),h=i(79582),g=i(53076),_=i(6367),f=i(64930),b=i(63594),x=i(72227),v=i(66403),y=i(86800),j=i(78297),w=i(69835),C=i(77451),k=i.n(C);let N=[3,4];var P=e=>{let{deliveryType:t,type:i="default",price:s}=e,n=(0,l.Z)("(min-width: 768px)"),[d,p]=(0,a.useState)(!1),[m,h,g]=(0,o.default)(),{t:_}=(0,u.$)("product_page");return((0,a.useEffect)(()=>{p(!0)},[]),d)?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:c()("aic dg",k().deliveryWrapper),children:[(0,r.jsx)("img",{src:t.image,alt:t.name}),(0,r.jsxs)("div",{className:c()("dg aic",k().delivery,{[k().deliveryCardRight]:"card-right"===i}),children:[(0,r.jsxs)("div",{className:c()("dg fz12 aic",k().deliveryInfo,{[k().deliveryInfoTerm]:t.term}),children:[3===t.id?(0,r.jsxs)("div",{className:k().linkContainer,children:[(0,r.jsxs)("span",{children:[_("description.pickup")," "]}),(0,r.jsx)(v.Z,{href:"/stores",children:(0,r.jsx)("a",{className:c()("fz14",k().link),children:_("description.shops")})})]}):(0,r.jsx)("div",{children:t.name}),t.term&&(0,r.jsx)("div",{children:t.term}),(0,r.jsx)("div",{className:c()(k().currency,{[k().free]:N.includes(t.id)}),children:t.price.replace("гÑн","â´")})]}),!n&&(0,r.jsx)(w.default,{variant:"text",className:k().info,icon:(0,r.jsx)(b.default,{className:c()("icon",k().iconInfo)}),onClick:h}),!n&&m&&(0,r.jsx)(y.default,{isTransition:!1,onClose:g,children:(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:"fz18 medium pb16 pr32 uppercase",children:t.name}),(0,r.jsx)("div",{className:"fz14",children:t.description})]})}),n&&(0,r.jsx)(j.default,{content:(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:"fz18 medium pb16 pr32 uppercase",children:t.name}),(0,r.jsx)("div",{className:"fz14",children:t.description})]}),children:(0,r.jsx)(b.default,{className:c()("icon",k().iconInfo)})})]})]}),1===t.id&&s<1e3&&(0,r.jsxs)("div",{className:c()("p16 df aic",k().newPostInformer),children:[(0,r.jsx)(x.default,{className:c()("icon",k().iconInformer)}),(0,r.jsx)("div",{children:_("description.newPostDescription")})]})]}):(0,r.jsxs)("div",{className:c()("aic dg",k().deliveryWrapper),children:[(0,r.jsx)("img",{src:t.image,alt:t.name}),(0,r.jsxs)("div",{className:c()("dg",k().delivery),children:[(0,r.jsxs)("div",{className:c()("dg fz12 aic",k().deliveryInfo,{[k().deliveryInfoTerm]:t.term}),children:[3===t.id?(0,r.jsxs)("div",{className:k().linkContainer,children:[(0,r.jsxs)("span",{children:[_("description.pickup")," "]}),(0,r.jsx)(v.Z,{href:"/stores",children:(0,r.jsx)("a",{className:c()("fz14",k().link),children:_("description.shops")})})]}):(0,r.jsx)("div",{children:t.name}),t.term&&(0,r.jsx)("div",{children:t.term}),(0,r.jsx)("div",{className:c()(k().currency,{[k().free]:N.includes(t.id)}),children:t.price.replace("гÑн","â´")})]}),(0,r.jsx)("div",{})]})]})},S=i(98821),I=i.n(S)()(()=>Promise.all([i.e(4989),i.e(9269),i.e(8444)]).then(i.bind(i,58444)),{loadableGenerated:{webpack:()=>[58444]},ssr:!1});let R=e=>Math.round(e/30);var E=e=>{let{productId:t,productWarranty:i,type:n="default",statusId:b,price:x}=e,{locale:v}=(0,s.ZP)(),{t:y}=(0,u.$)("product_page"),j=(0,l.Z)("(min-width: 768px)"),{city:w,toggle:C}=(0,d.Z)(),[N,S]=(0,a.useState)([]),[E,B]=(0,a.useState)(!1),[Z,T]=(0,a.useState)(!1),[W,F]=(0,a.useState)(0),[L,z,M]=(0,o.default)();(0,a.useEffect)(()=>{w.id&&(0,p.Me)(t,w.id).then(S).catch(()=>{B(!0)})},[w.id,v]),(0,a.useEffect)(()=>{T(!0)},[]),(0,a.useEffect)(()=>{w.id&&(0,g.G)(t,w.id).then(e=>F(e.departmentsCount))},[w.id,t]);let A=()=>{C(!0)};return E?null:Z&&j?"card-right"===n?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:c()("mt32",k().trigger),children:(0,r.jsxs)("div",{className:c()("pr fz12",k().deliveryItemsContainer),children:[(0,r.jsx)("div",{className:c()("fz14 pa tac full-width",k().cardRightTitle),children:(0,r.jsxs)("span",{className:k().cardRightWrapper,children:["".concat(y("description.cardRightTitle")," "),(0,r.jsx)("button",{className:c()("on bd0 cup f-secondary",k().link),type:"button",onClick:A,children:w.shortName})]})}),W>0&&[..._.Wn,_.Ym].includes(b)&&(0,r.jsxs)("div",{className:c()("aic dg fz12",k().deliveryWrapper),children:[(0,r.jsx)(f.Z,{fill:"#ffffff"}),(0,r.jsx)("div",{className:c()("pt16 pb16",k().takeTodayContainer),children:(0,r.jsx)("button",{onClick:z,className:c()("pr on bd0 cup",k().takeToday,k().deliveryRight),children:(0,r.jsxs)("span",{className:"no-wrap",children:[y("description.takeToday")," ",y("description.countTakeToday",{count:W})]})})})]}),(0,r.jsx)("div",{className:c()("fz12 dg pb24 pt16",k().container),children:N.map(e=>(0,r.jsx)(P,{deliveryType:e,type:"card-right",price:x},e.id))}),(0,r.jsx)("p",{className:c()("fz14 pt24",k().cardRightWarranty),children:(0,r.jsx)(u.c,{i18nKey:"product_page:description.warrantyPolicy",components:[(0,r.jsx)("span",{className:"medium"},"0")],values:{warranty:R(i),returnDays:14}})})]})}),L&&(0,r.jsx)(I,{onClose:M,cityId:w.id,productId:t})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:c()("df aic jcsb pr medium fz16",k().trigger),children:(0,r.jsxs)("div",{className:"medium fz14 df f-secondary",children:[y("description.deliveryIn")," ",(0,r.jsx)("button",{className:c()("on bd0 cup f-secondary",k().link),type:"button",onClick:A,children:w.shortName})]})}),W>0&&[..._.Wn,_.Ym].includes(b)&&(0,r.jsxs)("div",{className:c()("aic dg",k().deliveryWrapper),children:[(0,r.jsx)(f.Z,{fill:"#ffffff"}),(0,r.jsx)("div",{className:c()("pt16 pb16 fz12",k().takeTodayContainer),children:(0,r.jsx)("button",{onClick:z,className:c()("pr on bd0 cup",k().takeToday),children:(0,r.jsx)("span",{className:"no-wrap",children:"".concat(y("description.takeToday")," (").concat(y("description.countTakeToday",{count:W}),")")})})})]}),(0,r.jsx)("div",{className:c()("fz12 dg pt16",k().container),children:N.map(e=>(0,r.jsx)(P,{deliveryType:e,price:x},e.id))})]}),L&&(0,r.jsx)(I,{onClose:M,cityId:w.id,productId:t})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(m.default,{trigger:e=>{let{isOpen:t}=e;return(0,r.jsxs)("div",{className:c()("df aic jcsb pr",k().trigger),children:[(0,r.jsxs)("div",{className:c()("medium fz14 df f-secondary",k().changeCityWra
1pper),children:[y("description.deliveryIn")," ",(0,r.jsx)("button",{className:c()("on bd0 cup f-secondary",k().link),type:"button",onClick:A,children:w.shortName})]}),(0,r.jsx)(h.default,{className:c()("icon",{transform180:t})})]})},isDefaultOpened:!0,children:[W>0&&[..._.Wn,_.Ym].includes(b)&&(0,r.jsxs)("div",{className:c()("aic dg fz12",k().deliveryWrapper),children:[(0,r.jsx)(f.Z,{fill:"#ffffff"}),(0,r.jsx)("div",{className:c()("pt16 pb16",k().takeTodayContainer),children:(0,r.jsx)("button",{onClick:z,className:c()("pr on bd0 cup",k().takeToday),children:(0,r.jsxs)("span",{className:"no-wrap",children:[y("description.takeToday")," ",y("description.countTakeToday",{count:W})]})})})]}),(0,r.jsx)("div",{className:c()("fz12 dg pt16",k().container),children:N.map(e=>(0,r.jsx)(P,{deliveryType:e,price:x},e.id))})]}),L&&(0,r.jsx)(I,{onClose:M,cityId:w.id,productId:t})]})}},91583:function(e,t,i){"use strict";i.d(t,{Z:function(){return x}});var r=i(74817);i(71248);var a=i(61956),s=i(48295),n=i(25071),c=i(66202),d=i.n(c),o=i(11464),l=i(78453),u=i(91371),p=i(57616),m=i(82446),h=i(67121),g=i(451),_=i(958),f=i.n(_),b=e=>{let{children:t,text:i,onClick:a,className:s,classNameAnalytics:n}=e,c=(0,g.default)({color:"rgba(0, 0, 0, 0.1)"});return(0,r.jsxs)("button",{className:d()("on bd0 df cup",f().button,n),type:"button",onClick:a,children:[(0,r.jsx)("div",{className:d()("df aic jcc br10",s,f().containerIcon,n),ref:c.register,children:t}),(0,r.jsx)("div",{className:d()("df aic fz12",f().text,n),children:i})]})},x=e=>{let{favorites:t,price:i,productId:c,categoryId:_,type:x="default"}=e,{t:v}=(0,a.$)("product_page"),y=(0,s.Z)(),j=(0,n.Z)(),w=(0,g.default)({color:"rgba(0, 0, 0, 0.1)"});return(0,r.jsxs)("div",{className:d()("df",f().container,{[(f().containerRight,"jcsb")]:"right"===x,[f().containerWitoutPrice]:0===i}),children:[(0,r.jsx)(b,{onClick:()=>{y.has(c)?y.remove(c):y.add(c,_,{id:c,name:"",price:i,brand:"",category:"",variant:"",availability:""})},classNameAnalytics:"add-compare",children:y.has(c)?(0,r.jsx)(p.default,{className:"icon"}):(0,r.jsx)(l.default,{className:"icon"})}),(0,r.jsxs)(b,{onClick:()=>{j.favoritesList.includes(c)?j.deleteProductFromFavorite(c):j.addProductToFavorite({productId:c,price:i})},classNameAnalytics:"add-favorire",children:[j.favoritesList.includes(c)&&!j.isLoading&&(0,r.jsx)(u.default,{className:d()("icon add-favorire",f().favorite)}),!j.favoritesList.includes(c)&&!j.isLoading&&(0,r.jsx)(o.default,{className:"icon add-favorire"}),j.isLoading&&(0,r.jsx)(m.default,{className:f().snipper})]}),0!==i&&(0,r.jsx)("a",{className:d()("track-price on bd0 df cup",f().button),href:"https://t.me/CitrusShopBot?start=monitoring_".concat(c),target:"_blank",rel:"noreferrer",children:(0,r.jsx)("div",{ref:w.register,className:d()("track-price df aic jcc br10",f().containerIcon),children:(0,r.jsx)(h.default,{className:"icon track-price"})})})]})}},76608:function(e,t,i){"use strict";var r=i(74817),a=i(71248),s=i(98821),n=i.n(s),c=i(66202),d=i.n(c),o=i(69835),l=i(15775),u=i(49172),p=i(50509),m=i(46842),h=i(6367),g=i(29641),_=i(93803),f=i.n(_);let b=n()(()=>Promise.all([i.e(4470),i.e(1260),i.e(7318)]).then(i.bind(i,67318)),{loadableGenerated:{webpack:()=>[67318]},ssr:!1});t.Z=e=>{let{buttonBuy:t,price:i,className:s,statusId:n,name:c,type:_="default",typeCard:x="default",place:v="ProductPage"}=e,y=(0,a.useContext)(g.H),[j,w]=(0,a.useState)(null),[C,k]=(0,a.useState)(!1),N=(0,u.Z)("(min-width: 768px)"),P=(0,p.Z)();(0,a.useEffect)(()=>{k(!0)},[]);let S=()=>{P.addCrossSaleProduct({product:y,place:v})},I=()=>{var e,t,r,a,s;w({id:y.id,name:c||y.name,image:null===(t=y.images)||void 0===t?void 0:null===(e=t[0])||void 0===e?void 0:e.previewSrc,price:null!=i?i:null===(r=y.prices)||void 0===r?void 0:r.price,oldPrice:null===(a=y.prices)||void 0===a?void 0:a.old,discount:null===(s=y.prices)||void 0===s?void 0:s.sale,status:{id:n}})},R=h.Wn.includes(n)||h.Ym===n&&0!==i,E=h.vS.includes(n)||h.Ym===n&&0===i;return(0,r.jsxs)(r.Fragment,{children:[(!C||!N)&&"default"===_&&(0,r.jsxs)("div",{className:d()("b0 r0 l0",f().buyContainer),children:[R&&(0,r.jsxs)(o.default,{fullWidth:!0,onClick:S,size:"large",className:d()("df aic",f().buyButton,s,{[f().buyButtonRight]:"right"===x}),borderRadius:24,children:[(0,r.jsx)("span",{children:(0,l.toFormatNumber)(i,"currency")}),(0,r.jsxs)("span",{className:"df aic",children:[(0,r.jsx)(m.default,{})," ",(0,r.jsx)("span",{className:"ml8",children:t})]})]}),E&&(0,r.jsx)(o.default,{fullWidth:!0,onClick:I,size:"large",className:d()("df",f().buyButton,f().buyPreOrder,s,{[f().buyButtonRight]:"right"===x}),variant:"contained",children:t})]}),(C&&N&&R||"another"===_)&&(0,r.jsx)(o.default,{icon:"another"===_?void 0:(0,r.jsx)(m.default,{}),fullWidth:!0,onClick:S,size:"large",className:d()("df",f().buyButton,s,{[f().buyButtonRight]:"right"===x}),children:t}),C&&N&&E&&(0,r.jsx)(o.default,{fullWidth:!0,onClick:I,size:"large",className:d()("df",f().buyButton,f().buyPreOrder,s,{[f().buyButtonRight]:"right"===x}),variant:"contained",children:t}),j&&(0,r.jsx)(b,{product:j,onClose:()=>w(null)})]})}},8062:function(e,t,i){"use strict";var r=i(98821),a=i.n(r);t.Z=a()(()=>Promise.all([i.e(4972),i.e(9376)]).then(i.bind(i,89376)),{loadableGenerated:{webpack:()=>[89376]}})},6143:function(e,t,i){"use strict";var r=i(74817),a=i(66202),s=i.n(a),n=i(89885),c=i(81639),d=i(45767),o=i(72227),l=i(22007),u=i(34657),p=i(7768),m=i(6367),h=i(72447),g=i.n(h);let _=[m.Ym,m.Vq,m.Nx];t.Z=e=>{let{description:t,statusId:i,type:a="default"}=e;return(0,r.jsx)(r.Fragment,{children:""!==t&&(0,r.jsxs)("span",{className:s()("fz14 aic",g().description,{[g().descriptionGreen]:_.includes(i),[g().descriptionOrange]:m.hs===i,[g().descriptionRed]:m.EO===i,[g().descriptionWant]:m.Vq===i,[g().descriptionRight]:"right"===a}),children:[m.Ym===i&&(0,r.jsx)(n.default,{className:g().icon}),m.hs===i&&(0,r.jsx)(c.default,{className:s()("icon",g().icon)}),m.QV.includes(i)&&(0,r.jsx)(d.default,{className:s()("icon",g().icon)}),m.EO===i&&(0,r.jsx)(o.default,{className:g().icon}),m.nu===i&&(0,r.jsx)(l.default,{className:s()("icon",g().icon)}),m.Vq===i&&(0,r.jsx)(u.default,{className:s()("icon",g().icon)}),m.Nx===i&&(0,r.jsx)(p.default,{className:g().icon}),t]})})}},5599:function(e,t,i){"use strict";i.d(t,{Z:function(){return F}});var r=i(74817),a=i(71248),s=i(66202),n=i.n(s),c=i(15775),d=i(49172),o=i(6367),l=i(56719),u=i(50509),p=i(78297),m=i(63594),h=i(36286),g=i(22895),_=i(76608),f=i(98821),b=i.n(f),x=b()(()=>Promise.all([i.e(8916),i.e(3600)]).then(i.bind(i,63600)),{loadableGenerated:{webpack:()=>[63600]}}),v=i(57809),y=i.n(v),j=e=>{let{oldPrice:t}=e;return(0,r.jsxs)("div",{className:n()("old-price old-price--error mr24 f-secondary",y().oldPrice),"data-old-price":t,children:[(0,c.toFormatNumber)(t)," ",(0,r.jsx)("span",{className:"medium",children:"â´"})]})},w=i(69835),C=i(96350),k=i(29641),N=i(61956),P=i(25379),S=i.n(P),I=e=>{let{place:t="ProductPageCredit",selectedCreditProgram:i}=e,s=(0,u.Z)(),n=(0,a.useContext)(k.H),{t:c}=(0,N.$)(),[d,o]=(0,a.useState)(!1),l=async()=>{o(!0),await s.addProduct({product_id:n.id,place:t}),s.setSelectedCreditProgramId(i),s.openPopup("credit"),C.Z.trackCredit(),o(!1)};return(0,r.jsx)(w.default,{fullWidth:!0,onClick:l,loading:d,size:"large",variant:"stroke",className:S().buttonBuyCredit,children:c("basket:buyInCredit")})},R=b()(()=>Promise.all([i.e(1114),i.e(2686)]).then(i.bind(i,62686)),{loadableGenerated:{webpack:()=>[62686]}}),E=b()(()=>Promise.all([i.e(3099),i.e(453)]).then(i.bind(i,40453)),{loadableGenerated:{webpack:()=>[40453]}}),B=i(49261),Z=i.n(B),T=i(91583);let W=[...o.QV,o.nu];var F=e=>{let{buttonBuy:t,prices:i,statusId:s,name:f,showBuyInCreditButton:b,type:v="default",productId:y,className:w,favorites:C,categoryId:k}=e,N=(0,u.Z)(),[P,S]=(0,a.useState)(!1),[B,F]=(0,a.useState)([]),[L,z]=(0,a.useState)(0),M=(0,d.Z)("(min-width: 768px)"),A=(0,d.Z)("(min-width: 1024px)"),D=(0,d.Z)("(min-width: 1366px)"),[O,G]=(0,a.useState)(null),Y=o.hs&&!b;(0,a.useEffect)(()=>{S(!0),(0,l.rf)(y,N.getId()).then(e=>{F(e.creditPrograms),z(e.minCreditPayment)})},[y]);let U=[o.Ym,o.EO].includes(s)&&0!==L&&b||Y,q=async e=>{let{creditPrograms:t}=await (0,h.Yu)("/me/pub/v1/products/".concat(e,"/credit-programs"),{useCache:!0});return t.map(e=>{var t;return{id:e.id,logo:e.logo,name:e.name,descriptions:(null===(t=e.descriptions[0])||void 0===t?void 0:t.text)||""}})};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:w,children:(0,r.jsxs)("div",{className:n()({[Z().buyWrapperRight]:"right"===v,[Z().buyWrapper]:"default"===v}),children:[0!==i.price&&(0,r.jsxs)("div",{className:n()({[Z().priceWrapper]:"default"===v,[Z().priceWrapperRight]:"right"===v}),children:[(0,r.jsxs)("div",{children:[0!==i.old&&(0,r.jsx)(j,{oldPrice:i.old}),(0,r.jsxs)("div",{className:n()("price medium no-wrap f-secondary",Z().price),"data-price":i.price,children:[(0,c.toFormatNumber)(i.price)," ",(0,r.jsx)("span",{className:n()("medium",Z().priceCurrency),children:"â´"})]})]}),"right"===v&&(0,r.jsx)(T.Z,{productId:y,categoryId:k,price:i.price,type:"right"})]}),(0,r.jsxs)("div",{className:n()({[Z().buttonWrapper]:"default"===v,[Z().buttonWrapperRight]:"right"===v}),children:[P&&!W.includes(s)&&(0,r.jsx)(_.Z,{place:"ProductPage",buttonBuy:t,price:i.price,statusId:s,name:f,typeCard:v}),P&&A&&o.Ym===s&&0===i.price&&(0,r.jsx)(_.Z,{place:"right"===v?"ProductPageSpecifications":"ProductPage",buttonBuy:t,price:i.price,statusId:s,name:f}),P&&(0,r.jsx)(R,{className:n()(Z().quickBuy)})]})]})}),P&&U&&(0,r.jsx)("div",{className:w,children:(0,r.jsxs)("div",{className:n()(Z().credit,{[Z().creditRight]:"right"===v,[Z().waitingCredits]:Y}),children:[B.length>0&&(!D||A&&"right"===v)&&(0,r.jsxs)(r.Fragment,{children:[L>0&&"default"===v&&(0,r.jsx)(x,{minCreditPrice:L}),(0,r.jsx)(E,{items:B,type:"right",value:O,onSelect:G,className:Y&&Z().waitingCredits})]}),(0,r.jsxs)("div",{className:"db aic",children:[L>0&&D&&(0,r.jsx)(x,{minCreditPrice:L}),B.length>0&&D&&"default"===v&&(0,r.jsx)(E,{items:B,value:O,onSelect:G,className:Y&&"pr16"}),!Y&&(0,r.jsxs)("div",{className:"df aic full-width",children:[(0,r.jsx)("div",{className:"mr16 full-width",children:(0,r.jsx)(I,{selectedCreditProgram:O,place:"right"===v?"ProductPageSpecificationsCredit":"ProductPageCredit"})}),(0,r.jsx)(p.default,{content:(0,r.jsx)("div",{children:(0,r.jsx)(g.default,{productId:y,requestCreditPrograms:q})}),children:(0,r.jsx)(m.default,{className:"icon",style:{width:18,height:18}})})]})]})]})}),(!P||!M)&&!W.includes(s)&&(0,r.jsx)(_.Z,{place:"right"===v?"ProductPageSpecifications":"ProductPage",buttonBuy:t,price:i.price,statusId:s,name:f})]})}},39281:function(e,t,i){"use strict";var r=i(98821),a=i.n(r);t.Z=a()(()=>Promise.all([i.e(6357),i.e(4752)]).then(i.bind(i,14752)),{loadableGenerated:{webpack:()=>[14752]}})},29641:function(e,t,i){"use strict";i.d(t,{H:function(){return r}});let r=(0,i(71248).createContext)(null)},78278:function(e,t,i){"use strict";i.d(t,{Z:function(){return C}});var r=i(74817),a=i(71248),s=i(37518),n=i.n(s),c=i(66202),d=i.n(c),o=i(49172),l=i(86326),u=i(68507),p=i(451),m=i(66403),h=i(80659),g=i.n(h),_=(0,a.memo)(e=>{let{banners:t}=e,[i,s]=(0,a.useState)(0),n=(0,a.useMemo)(()=>t[i],[i]);return(0,a.useEffect)(()=>{let e=setInterval(()=>{s(t[i+1]?i+1:0)},5e3);return()=>clearInterval(e)},[i]),(0,r.jsx)("div",{className:g().root,children:(0,r.jsx)(m.Z,{href:n.url,children:(0,r.jsx)("a",{children:(0,r.jsx)("img",{alt:n.alt,src:n.img})})})})}),f=i(59648),b=i(84834),x=i(21853),v=i.n(x);let y=(e,t)=>{let i=e.getBoundingClientRect(),r=t.getBoundingClientRect();return i.left-r.left+t.scrollLeft},j=(e,t)=>{let i=Array.from(e.querySelectorAll('[data-type="product-card"]')),r=[];
1return i.forEach(i=>{i.offsetLeft>=t.scrollLeft&&i.offsetLeft+i.offsetWidth<=t.scrollLeft+e.clientWidth&&r.push(i)}),r},w=e=>{let{children:t,onClick:i}=e,a=(0,p.default)({color:"rgba(0, 0, 0, 0.06)"});return(0,r.jsx)("div",{ref:a.register,className:"cup df aic jcc",onClick:i,children:t})};var C=e=>{let{rubric:t,place:i,className:s,listClassName:c}=e,p=(0,o.Z)("(min-width: 1366px)"),[m,h]=(0,a.useState)(0),[g,x]=(0,a.useState)(void 0),C=(0,a.useRef)(null),[k,N]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{void 0!==g&&x(void 0)},[m]),(0,a.useEffect)(()=>{let e=C.current.firstElementChild.firstElementChild;N(p&&e.scrollWidth>e.clientWidth)},[p,C]),(0,r.jsx)(b.Z,{title:(0,r.jsxs)("div",{className:d()("df aic jcsb full-width",s),children:[(0,r.jsxs)("div",{className:d()("df jcsb full-width",v().rubricTitle),children:[(0,r.jsx)("h2",{children:t.title}),t.viewAllUrl&&t.viewAllTitle&&(0,r.jsxs)(n(),{href:t.viewAllUrl,className:d()("link",v().viewAllLink),children:[t.viewAllTitle,(0,r.jsx)(f.default,{})]})]}),k&&(0,r.jsxs)("div",{className:v().arrow,children:[(0,r.jsx)(w,{onClick:()=>{let e=Array.from(C.current.querySelectorAll('[data-type="product-card"]')),t=C.current.firstElementChild,i=t.firstElementChild,r=j(t,i);if(r.length>0){let t=e.findIndex(e=>e===r[0]);e[t-1]?x(y(e[t-1],i)):x(y(e[e.length-1],i)+e[e.length-1].clientWidth)}},children:(0,r.jsx)(f.default,{className:"transform180"})}),(0,r.jsx)(w,{onClick:()=>{let e=Array.from(C.current.querySelectorAll('[data-type="product-card"]')),t=C.current.firstElementChild,i=t.firstElementChild,r=j(t,i),a=e.findIndex(e=>e===r[r.length-1]);if(e[a+1]){let r=e[a+1];x(y(r,i)-t.clientWidth+r.clientWidth)}else x(0)},children:(0,r.jsx)(f.default,{})})]})]}),children:(0,r.jsx)("div",{ref:C,className:d()(v().productsList,c,{[v().productsListWrapper]:p&&t.banners.length>0,[v().bannersListWrapper]:t.isOnlySlider}),children:t.isOnlySlider?(0,r.jsx)(u.Z,{scroll:g,onScroll:h,banners:t.banners}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(u.Z,{scroll:g,onScroll:h,products:t.products,place:i||(0,l.GH)(t.segmentId)}),p&&t.banners.length>0&&(0,r.jsx)(_,{banners:t.banners})]})})})}},3333:function(e,t,i){"use strict";var r=i(74817),a=i(54389),s=i.n(a),n=i(71248);t.Z=(0,n.memo)(e=>{let{schema:t,type:i}=e;return(0,r.jsx)(s(),{children:(0,r.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"https://schema.org","@type":i,...t})}})})})},70434:function(e,t,i){"use strict";i.d(t,{Z:function(){return o}});var r=i(74817),a=i(71248);let s=()=>{let e=document.createElement("script");e.async=!0,e.setAttribute("src","//code.jivosite.com/widget/yOLJZUq200"),e.setAttribute("id","oppoChatScript"),document.head.appendChild(e)},n=()=>{let e=document.querySelector('jdiv[class^="globalClass"]');e&&(e.parentNode.style.display="none")},c=()=>{let e=document.querySelector('jdiv[class^="globalClass"]');e&&(e.parentNode.style.display="block")},d=()=>!!document.getElementById("oppoChatScript");var o=e=>{let{routePath:t="",brandId:i=null}=e;return(0,a.useEffect)(()=>{let e=d();24858===i||t.includes("brand-oppo/")?e&&c():e&&n();let r=setTimeout(()=>{(24858===i||t.includes("brand-oppo/"))&&!d()&&(s(),c())},5e3);return()=>{r&&clearTimeout(r),n()}},[i,t]),(0,r.jsx)(r.Fragment,{})}},58585:function(e,t,i){"use strict";i.d(t,{Z:function(){return v}});var r=i(74817),a=i(58861),s=i(68507),n=i(61956),c=i(66202),d=i.n(c),o=i(71248),l=i(37469),u=i(6193),p=i(50509),m=i(84834),h=i(56719),g=i(62865),_=i(91961),f=i(96647),b=i(85802),x=i.n(b),v=e=>{var t,i,c;let{product_id:b,setIsLoadingRecommendedProducts:v,type:y,currentTab:j=""}=e,{t:w}=(0,n.$)("basket"),[C,k]=(0,o.useState)({categories:[],products:[]}),[N,P]=(0,o.useState)(!1),S=(0,p.Z)(),[I]=(0,l.Z)(["sc"]),R=(0,o.useRef)(null),{locale:E}=(0,f.ZP)(),{state:B}=(0,u.Z)(),Z=(0,g.Z)(null===(t=B.basket)||void 0===t?void 0:t.isOpenCrossSale);(0,o.useLayoutEffect)(()=>{var e;"accessories"!==j||!R.current||"buy_with"!==y||Z||(null===(e=B.basket)||void 0===e?void 0:e.isOpenCrossSale)||(0,_.Z)(R.current.offsetTop-180,0)},[j,null===(i=R.current)||void 0===i?void 0:i.offsetTop,y,null===(c=B.basket)||void 0===c?void 0:c.isOpenCrossSale,Z]);let T=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;P(!0);let t={product_id:b,type:y,basket_id:S.getId(),sc_id:I.sc};e&&(t.category_id=e),(0,h.Cr)(t).then(e=>{let{products:t,categories:i}=e;k(e=>{let r={...e,products:t};return 0===e.categories.length&&(r.categories=i),r})}).finally(()=>{P(!1),v&&v(!1)})};return((0,o.useEffect)(()=>{S.getOrCreateId().then(()=>{C.categories=[],T()})},[E]),0===C.categories.length)?(0,r.jsx)(r.Fragment,{}):(0,r.jsx)(m.Z,{className:"pt24",title:w("basket:productThatBuyTogether"),children:(0,r.jsxs)("div",{ref:R,className:d()(x().tabs,{[x().tabsSecondary]:"basket_popup"!==y}),children:[(0,r.jsx)(a.Z,{onChange:T,className:d()(x().tabsContainer,{[d()(x().tabsSecondaryContainer,"ovh br10")]:"basket_popup"!==y}),children:(C.categories||[]).map((e,t)=>(0,r.jsx)(a.Z.TabPane,{title:e.title},e.id))}),N?(0,r.jsx)("div",{className:d()("pr",x().preloader),children:(0,r.jsx)("div",{className:"preloader p32"})}):(0,r.jsx)("div",{className:d()(x().products,{[x().productsSecondary]:"basket_popup"!==y}),children:(0,r.jsx)(s.Z,{isCross:!0,className:x().productList,products:C.products,isOpenPopup:"basket_popup"===y,place:"CrossSale - Recomendation"})})]})})}},82698:function(e,t,i){"use strict";var r=i(98821),a=i.n(r);t.Z=a()(()=>i.e(3445).then(i.bind(i,73445)),{loadableGenerated:{webpack:()=>[73445]},ssr:!1})},51188:function(e,t,i){"use strict";var r=i(74817),a=i(17126),s=i(36497),n=i(71248);t.Z=e=>{let{isLoading:t=!1,size:i=50}=e,[c,d,o]=(0,a.default)(!1);return((0,n.useEffect)(()=>(s.Router.events.on("routeChangeStart",d),s.Router.events.on("routeChangeComplete",o),()=>{s.Router.events.off("routeChangeStart",d),s.Router.events.off("routeChangeComplete",o)}),[]),c||t)?(0,r.jsx)("div",{className:"page-loader"}):null}},9351:function(e,t,i){"use strict";var r=i(98821),a=i.n(r);t.Z=a()(()=>i.e(6184).then(i.bind(i,66184)),{loadableGenerated:{webpack:()=>[66184]},ssr:!1})},85876:function(e){e.exports={root:"Breadcrumbs_root__O4BY4"}},3222:function(e){e.exports={wrapper:"TagList_wrapper__2gwFt",scrollWrapper:"TagList_scrollWrapper__BrCNg"}},7009:function(e){e.exports={cardContainer:"ProductPage_cardContainer__pFJub",link:"ProductPage_link__vGgOz",tabPanels:"ProductPage_tabPanels__1vRjI",card:"ProductPage_card__1meua",tabs:"ProductPage_tabs__f23dP",recommendedProducts:"ProductPage_recommendedProducts__29mfH",cardAnotherTabs:"ProductPage_cardAnotherTabs__PmEB5",cardContainerAnotherTabs:"ProductPage_cardContainerAnotherTabs__obiJc",tabsImage:"ProductPage_tabsImage__ZNE5_",tabsTitle:"ProductPage_tabsTitle__Rz1HH",tabsPrices:"ProductPage_tabsPrices__0Y3_a",tabsOldPrice:"ProductPage_tabsOldPrice__OtWVy",tabsSale:"ProductPage_tabsSale__Xrx7q",tabsPrice:"ProductPage_tabsPrice__DwtAX",tabsPricesContainer:"ProductPage_tabsPricesContainer__7kKF_"}},12834:function(e){e.exports={container:"CardRight_container__TEgUb",containerScroll:"CardRight_containerScroll__o9ldS",containerScrollTabs:"CardRight_containerScrollTabs__Rfdf4",preview:"CardRight_preview__rYKIC",imageContainer:"CardRight_imageContainer__yH45a",title:"CardRight_title__u0ceg",rating:"CardRight_rating__5T1AG",iconCopy:"CardRight_iconCopy__lOoBY",stickers:"CardRight_stickers__R58BB",cardRightTrigger:"CardRight_cardRightTrigger__JkRb
1V",cardContainer:"CardRight_cardContainer__pa3Yr",cardContainerOpened:"CardRight_cardContainerOpened__FfIgN",arrow:"CardRight_arrow__DsENm",priceWrapper:"CardRight_priceWrapper__b_Hvh"}},69361:function(e){e.exports={bigContainer:"RichContent_bigContainer__2MIcb",productDescription:"RichContent_productDescription__O9nCF",basePadding:"RichContent_basePadding__QRkWq",noSelect:"RichContent_noSelect__oWmya"}},65612:function(e){e.exports={container:"Characteristic_container__Vj10F",characteristic:"Characteristic_characteristic__NGJor"}},33306:function(e){e.exports={sale:"Benefit_sale__G_Rnf",percent:"Benefit_percent__Co7pY",benefit:"Benefit_benefit__eF6X3",benefitCurrency:"Benefit_benefitCurrency__aeK7O"}},94900:function(e){e.exports={wrapper:"Benefits_wrapper__18bD3"}},77451:function(e){e.exports={trigger:"Delivery_trigger__g1Oeu",linkContainer:"Delivery_linkContainer__dZEI_",link:"Delivery_link__h6V5y",delivery:"Delivery_delivery__S_ICt",deliveryInfo:"Delivery_deliveryInfo__etOwD",currency:"Delivery_currency__NzjXj",free:"Delivery_free___76lX",info:"Delivery_info__PPELc",iconInfo:"Delivery_iconInfo__Tvh38",newPostInformer:"Delivery_newPostInformer__eGQLM",iconInformer:"Delivery_iconInformer__dNtJZ",takeTodayContainer:"Delivery_takeTodayContainer__4R6pj",takeToday:"Delivery_takeToday__EmtJ2",deliveryWrapper:"Delivery_deliveryWrapper__BtU3w",container:"Delivery_container__MTOBQ",cardRightWrapper:"Delivery_cardRightWrapper__59JMg",changeCityWrapper:"Delivery_changeCityWrapper__vGRqB",deliveryInfoTerm:"Delivery_deliveryInfoTerm__q7gow",deliveryRight:"Delivery_deliveryRight__JKRD7",deliveryCardRight:"Delivery_deliveryCardRight__HT3Ek",cardRightTitle:"Delivery_cardRightTitle__LqT6S",cardRightWarranty:"Delivery_cardRightWarranty__QWxWr"}},34074:function(e){e.exports={energyEfficienty:"EnergyEfficienty_energyEfficienty__MRjAc"}},958:function(e){e.exports={container:"Events_container__gNfW9",button:"Events_button__mg5r1",containerIcon:"Events_containerIcon__63KY6",iconTakeToday:"Events_iconTakeToday__b9ElL",favorite:"Events_favorite__ywu35",icon:"Events_icon__r32fN",snipper:"Events_snipper__ZylQD",textTakeToday:"Events_textTakeToday__EK_G9",text:"Events_text__o_UT2",textLink:"Events_textLink__yoWPo",link:"Events_link__pYN8V",containerRight:"Events_containerRight__sw8WZ",containerWitoutPrice:"Events_containerWitoutPrice__fh1Ez",desc:"Events_desc__2p4Uj",descRight:"Events_descRight__DzpRa"}},93803:function(e){e.exports={buyContainer:"ButtonBasket_buyContainer__toKIQ",buyButton:"ButtonBasket_buyButton__bhw3b",buyPreOrder:"ButtonBasket_buyPreOrder__sY6dd",buyButtonRight:"ButtonBasket_buyButtonRight__PA8Dw"}},25379:function(e){e.exports={buttonBuyCredit:"ButtonBuyCredit_buttonBuyCredit__uIdmn"}},57809:function(e){e.exports={oldPrice:"OldPrice_oldPrice__tON_E"}},49261:function(e){e.exports={price:"Price_price__KKCnw",priceCurrency:"Price_priceCurrency__kyMmb",credit:"Price_credit__yycXZ",buyWrapper:"Price_buyWrapper__V1Hxd",buttonWrapper:"Price_buttonWrapper__QsXNG",waitingCredits:"Price_waitingCredits__cvEuU",buttonWrapperRight:"Price_buttonWrapperRight__1hs4y",priceWrapperRight:"Price_priceWrapperRight__7IeCD",priceContainer:"Price_priceContainer__B9MuZ",cashback:"Price_cashback__ihCpg",buyContainer:"Price_buyContainer__VNJUq",buyContainerRight:"Price_buyContainerRight__5NRmx",buy:"Price_buy__5LR8e",priceContainerWithoutCredit:"Price_priceContainerWithoutCredit__x2vf1",priceContainerWithoutBonus:"Price_priceContainerWithoutBonus__V_5Ie",buyWithoutCredit:"Price_buyWithoutCredit__C6RuV",rightCard:"Price_rightCard__oYebl",containerOld:"Price_containerOld__f_5Dw",buyWrapperRight:"Price_buyWrapperRight__pBnSK",priceWrapper:"Price_priceWrapper__BMrY9",creditRight:"Price_creditRight__88gHL",quickBuy:"Price_quickBuy__S7lZJ",quickBuyRight:"Price_quickBuyRight__Rmnr_",right:"Price_right__MdD1Q"}},72447:function(e){e.exports={description:"Status_description__r2tSA",descriptionGreen:"Status_descriptionGreen__lVEmS",descriptionOrange:"Status_descriptionOrange__ixGsA",descriptionWant:"Status_descriptionWant__kGT5_",descriptionRed:"Status_descriptionRed__6LMXA",icon:"Status_icon__KJOB_",descriptionRight:"Status_descriptionRight__8IGGx"}},86629:function(e){e.exports={link:"TradeIn_link__7Mp0P"}},59887:function(e){e.exports={wrapper:"Reviews_wrapper__2rVn7",root:"Reviews_root__G8Ji_",comment:"Reviews_comment__lLauK",addCommentButton:"Reviews_addCommentButton__AMLCD",empty:"Reviews_empty__ugW5A",paginationContainer:"Reviews_paginationContainer__Xw_0i"}},21853:function(e){e.exports={container:"MainPage_container__rDTUR",slider:"MainPage_slider__T20Jj",brands:"MainPage_brands__b2UA_",basketBanner:"MainPage_basketBanner__CUvWt",popularLinks:"MainPage_popularLinks__gTYy7",sectionContainer:"MainPage_sectionContainer__uDbjg",gadgetarium:"MainPage_gadgetarium__Jpkmp",rubricTitle:"MainPage_rubricTitle___1Ygz",viewAllLink:"MainPage_viewAllLink__kNLry",arrow:"MainPage_arrow__ebzTx",productsListWrapper:"MainPage_productsListWrapper__ultrD",productsList:"MainPage_productsList__lRzvw",secondRow:"MainPage_secondRow__MrvUW",seoText:"MainPage_seoText__T6lTe",bannersListWrapper:"MainPage_bannersListWrapper__D4nPS"}},80659:function(e){e.exports={root:"Banners_root__SnCDw"}},85802:function(e){e.exports={tabs:"RecomendationCrossSale_tabs__n_p68",productList:"RecomendationCrossSale_productList__GQVBN",tabsSecondary:"RecomendationCrossSale_tabsSecondary__s9Onp",tabsContainer:"RecomendationCrossSale_tabsContainer__g_YcL",tabsSecondaryContainer:"RecomendationCrossSale_tabsSecondaryContainer__vgIY3",products:"RecomendationCrossSale_products__wiwFd",productsSecondary:"RecomendationCrossSale_productsSecondary__2tQum",preloader:"RecomendationCrossSale_preloader__t__RL"}}}]);
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.