PageSourceSearch

https://www.buscape.com.br/ais/_next/static/chunks/80155-73a7dceffcd91f9e.js

js buscape.com.br collected 2026-09-24 08:52:32 UTC 45,554 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[80155],{95773:function(e,i){"use strict";i.Z=e=>/Mobi/.test(e)},31149:function(e,i,o){"use strict";var t=o(52971);i.Z=Object.values(t.eF).includes("buscape")},68093:function(e,i,o){"use strict";o.d(i,{g:function(){return getImage}});var t=o(82156);let mediaClient=async e=>(0,t.L)("sherlock/images",{id:e},{}),getImage=e=>mediaClient(e)},47881:function(e,i,o){"use strict";o.d(i,{a3:function(){return decreaseQuantity},l8:function(){return actions_fetchOfferPage},Qd:function(){return increaseQuantity}});var t,n,l=o(66057),a=o(11689),r=o(53060),d=o(82156);(t=n||(n={})).NEW="NEW",t.USED="USED";var restql_fetchOfferPage=(e,i,o)=>{let t="sherlock/offer_page/1?tenant=DEFAULT&offer_id=".concat(e).concat(o?"&device=".concat(o):"","&brand=").concat(r.Z.BRAND_NAME_LOWERED,"&affiliateId=").concat(null!=i?i:"");return(0,d.Z)(t,{timeout:6e3})},s=o(99379),c=o(62303),u=o(32449),v=o(4863);let increaseQuantity=()=>({type:u.x6}),decreaseQuantity=()=>({type:u.R6}),offerFetchRequested=()=>({type:u.Rg}),offerFetchSucceeded=e=>({type:u.cp,payload:e}),offerFetchFailed=()=>({type:u.rC}),actions_fetchOfferPage=(e,i)=>async o=>{o(offerFetchRequested());try{var t,n,r,d,u,f;let p=await restql_fetchOfferPage(e,l.default.CASHBACK_AFFILIATE_ID_WEB,i),_=(0,v.Tn)(p);null==p||delete p.product_expert_review,null==p||delete p.product_expert_review_brickz,o(offerFetchSucceeded(p));let g=null==p?void 0:null===(n=p.offerList)||void 0===n?void 0:null===(t=n.result)||void 0===t?void 0:t.bestOffer;if(g){let e=(0,c.pF)(g);o((0,s.ky)(e))}o(_?(0,a.tf)(null==p?void 0:null===(d=p.sku)||void 0===d?void 0:null===(r=d.result)||void 0===r?void 0:r.product_id,_):(0,a.XY)(null==p?void 0:null===(f=p.sku)||void 0===f?void 0:null===(u=f.result)||void 0===u?void 0:u.product_id,Error("undefined review")))}catch(e){o(offerFetchFailed())}}},36289:function(e,i,o){"use strict";o.d(i,{H0:function(){return s},T_:function(){return r},UO:function(){return a},sQ:function(){return d},vI:function(){return l}});var t=o(98059),n=o(32449);let offerPageStoreSelector=e=>e[n.Un],l=(0,t.P1)(offerPageStoreSelector,e=>e.quantity),a=(0,t.P1)(offerPageStoreSelector,e=>e.offerPage);(0,t.P1)(offerPageStoreSelector,e=>!!e.offerPage);let r=(0,t.P1)(offerPageStoreSelector,e=>{var i,o;let t=null==e?void 0:null===(o=e.offerPage)||void 0===o?void 0:null===(i=o.sales_condition)||void 0===i?void 0:i.result;return t?{value:null==t?void 0:t.list_price,baseValue:null==t?void 0:t.base_price}:null}),d=(0,t.P1)(offerPageStoreSelector,e=>{var i,o,t,n,l,a,r;return"/".concat(null==e?void 0:null===(n=e.offerPage)||void 0===n?void 0:null===(t=n.category)||void 0===t?void 0:null===(o=t.result)||void 0===o?void 0:null===(i=o.category)||void 0===i?void 0:i.slug,"/").concat(null==e?void 0:null===(r=e.offerPage)||void 0===r?void 0:null===(a=r.product)||void 0===a?void 0:null===(l=a.result)||void 0===l?void 0:l.slug)}),s=(0,t.P1)(offerPageStoreSelector,e=>{var i,o,t;return null==e?void 0:null===(t=e.offerPage)||void 0===t?void 0:null===(o=t.offer)||void 0===o?void 0:null===(i=o.result)||void 0===i?void 0:i.name})},19561:function(e,i,o){"use strict";o.d(i,{C6:function(){return fetchProductSkus}});var t=o(69106),n=o.n(t),l=o(68093),a=o(82156);let getProductSkus=async e=>{let{prodId:i,merchantid:o}=e;return null==i||""===i||"null"===i||"undefined"===i?Promise.reject():(0,a.Z)("/sherlock/skus/1?product_id=".concat(i,"&merchantid=").concat(o,"&tenant=DEFAULT"),{headers:{Accept:"application/json","Content-Type":"application/json"},timeout:2e3,skipNoticeErrors:!0})},getOffersSalesCondition=async e=>{let{offerIds:i}=e;return(0,a.Z)("/sherlock/sales_condition_by_offer_ids/1?offer_ids=".concat(i,"&tenant=DEFAULT"),{headers:{Accept:"application/json","Content-Type":"application/json"}})};var r=o(45373);let filterActiveOptionsMap=e=>{let{productSkus:i,activeOffersSalesCondition:o}=e,t={};return o.forEach(e=>{t={...t,...Object.keys(null==i?void 0:i.offer_options_map).filter(i=>e.offer_id===i).reduce((e,o)=>(e[o]=null==i?void 0:i.offer_options_map[o],e),{})}}),t},inputVariationDeterminantGroupWithImagesAndOfferIdOnVariationValues=async e=>{var i,o;let{productSkus:t,filteredActiveOffersOnOptionsMap:n}=e;return Promise.all(null==t?void 0:null===(o=t.variation_determinant_group[0])||void 0===o?void 0:null===(i=o.variation_values)||void 0===i?void 0:i.map(async e=>{let i,o;try{i=await (0,l.g)(null==e?void 0:e.media_id.toString())}catch(e){i=null}return Object.keys(n).every(i=>!n[i].includes(e.id)||(o=i,!1)),{...e,images:i,offerId:o}}))},inputVariationNonDeterminantGroupVariationValuesWithOfferId=async e=>{var i,o;let{productSkus:t,filteredActiveOffersOnOptionsMap:n,selectedOfferVariation:l}=e;return null==t?void 0:null===(o=t.variation_non_determinant_group[0])||void 0===o?void 0:null===(i=o.variation_values)||void 0===i?void 0:i.map(e=>{let i;return Object.keys(n).every(o=>n[o].toString()!=="".concat(l[0],",").concat(e.id)||(i=o,!1)),{...e,offerId:i}})},getSalesCondition=async e=>{if(n()(e))return[];let{sales_condition_by_offer_ids:i}=await getOffersSalesCondition({offerIds:e});return(null==i?void 0:i.result)||[]},fetchProductSkus=e=>{let{prodId:i,offerId:o,merchantid:t}=e;return async e=>{var n,l,a,d,s,c,u,v;e({type:r.X_});try{let{product_sku:v}=await getProductSkus({prodId:i,merchantid:t}),f=null==v?void 0:v.result,p=Object.keys(null==f?void 0:f.offer_options_map).toString(),_=getSalesCondition(p),g=null===(n=await _)||void 0===n?void 0:n.filter(e=>(null==e?void 0:e.status)==="ACTIVE"&&(null==e?void 0:e.stock)>0),h=filterActiveOptionsMap({activeOffersSalesCondition:g,productSkus:f}),m=h[o],[A,E]=await Promise.all([inputVariationDeterminantGroupWithImagesAndOfferIdOnVariationValues({productSkus:f,filteredActiveOffersOnOptionsMap:h}),inputVariationNonDeterminantGroupVariationValuesWithOfferId({productSkus:f,filteredActiveOffersOnOptionsMap:h,selectedOfferVariation:m})]);e((u={variationDeterminantGroup:{id:null==f?void 0:null===(l=f.variation_determinant_group[0])||void 0===l?void 0:l.id,name:null==f?void 0:null===(a=f.variation_determinant_group[0])||void 0===a?void 0:a.name,variationValues:A},variationNonDeterminantGroup:{id:null==f?void 0:null===(d=f.variation_non_determinant_group[0])||void 0===d?void 0:d.id,name:null==f?void 0:null===(s=f.variation_non_determinant_group[0])||void 0===s?void 0:s.name,variationValues:E},selectedVariationDeterminantGroup:A.find(e=>(null==e?void 0:e.id)===m[0]),selectedVariationNonDeterminantGroup:null==f?void 0:null===(c=f.variation_non_determinant_group[0])||void 0===c?void 0:c.variation_values.find(e=>(null==e?void 0:e.id)===m[1])},{type:r.RA,payload:u}))}catch(i){e((v=i.message,{type:r.nD,payload:v.message,error:!0}))}}}},77530:function(e,i,o){"use strict";o.d(i,{Ys:function(){return l}});var t=o(98059),n=o(45373);let productSkusStoreSelector=e=>e[n.B5],l=(0,t.P1)(productSkusStoreSelector,e=>null==e?void 0:e.productSkus);(0,t.P1)(productSkusStoreSelector,e=>e.isFetching),(0,t.P1)(productSkusStoreSelector,e=>e.hasError)},65141:function(e,i,o){"use strict";o.d(i,{Z:function(){return fetchOfferPLA}});var t=o(82156);async function fetchOfferPLA(e,i){let o="sherlock/offer_pla/1?tenant=DEFAULT&product_id=".concat(e,"&offer_id=").concat(i);try{var n,l;let e=await (0,t.Z)(o,{timeout:2e3});return(null==e?void 0:null===(l=e.offers)||void 0===l?void 0:null===(n=l.result)||void 0===n?void 0:n.highlighted_item)||null}catch(e){return console.log("Failed to fetchOfferPLA",e),null}}},6557:function(e,i,o){"use strict";o.d(i,{Au:function(){return fetchProductPageNonEssentialsWithoutComments},b2:function(){return fetchProductPageEssentials},lv:function(){return fetchProductPageNonEssentials}});var t,n,l=o(53060),a=o(82156);(t=n||(n={})).Draft="Draft",t.Active="Active",t.Inactive="Inactive",t.Retired="Retired";let fetchProductPageEssentials=e=>{let i="sherlock/productpageessentials/1?tenant=DEFAULT&product_id=".concat(e);return(0,a.Z)(i)},fetchProductPageNonEssentials=e=>{let i="sherlock/productpagenonessentials/1?tenant=DEFAULT&product_id=".concat(e,"&brand=").concat(l.Z.BRAND_NAME_LOWERED);return(0,a.Z)(i)},fetchProductPageNonEssentialsWithoutComments=e=>{let i="sherlock/productpagenonessentialswithoutcomments/1?tenant=DEFAULT&product_id=".concat(e);return(0,a.Z)(i)}},40272:function(e,i,o){"use strict";var t=o(14710);o(42081),i.Z=e=>{let{json:i}=e;return(0,t.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(i)}})}},87813:function(e,i,o){"use strict";o.d(i,{Z:function(){return OfferBuilder}});let OfferBuilder=class OfferBuilder{build(){let e={"@context":"https://schema.org","@type":"Product",description:this.product.description,name:this.product.name,image:this.product.image,itemCondition:this.getItemCondition(),offers:this.getOffer()};return e}getOffer(){return{"@type":"Offer",availability:this.getStock(),price:this.offer.price,priceCurrency:"BRL"}}getStock(){return this.offer.availability?"InStock":"OutOfStock"}getItemCondition(){return"USED"===this.offer.condition?"UsedCondition":"NewCondition"}constructor(e){this.offer=e.offer,this.product=e.product}}},74981:function(e,i,o){"use strict";var t=o(4275);let logAndGtmMkpJsonOfferDataLayer=async(e,i,o)=>
1{let n="/produto?oid=".concat(e,"&logAndGtmMkpJson=1&pw=2").concat(i?"&vtex=true":"").concat(o?"&experiencevariant=".concat(o):""),l=await (0,t.Z)(n);return l};i.Z=logAndGtmMkpJsonOfferDataLayer},30179:function(e,i,o){"use strict";o.d(i,{Z:function(){return ErrorPage}});var t=o(14710),n=o(42081),l=o(46034),a=o(74851),r=o(63403),d=o(85214),s=o(83722),c=o.n(s);let getPageTypeByStatusCode=e=>{switch(e){case 404:return"error_page_404";case 500:return"error_page_500";default:return"error_page"}};function ErrorPage(e){let i=null==e?void 0:e.statusCode,o=getPageTypeByStatusCode(i);return(0,n.useEffect)(()=>{l.ZP.trackPageView(o,{dimension3:o,event:"fireVisitPageView"},{event:a.u5,eventName:a.pz,pagetype:o})},[o]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(d.Z,{pageName:o}),(0,t.jsxs)("div",{className:c().content,children:[(0,t.jsx)("h1",{className:c().code,children:e.statusCode}),(0,t.jsx)("p",{className:c().title,children:"Oops, esta pagina n\xe3o foi encontrada!"}),(0,t.jsx)("p",{className:c().description,children:"Este link pode estar corrompido"}),(0,t.jsx)("p",{className:c().descriptio_or,children:"ou a pagina pode ter sido removida"}),(0,t.jsx)("a",{href:"/",children:"Voltar ao in\xedcio"})]}),(0,t.jsx)(r.Z,{pageType:"error_page"})]})}},98410:function(e,i,o){"use strict";o.d(i,{Z:function(){return CashbackChip}});var t=o(14710),n=o(28149),l=o(80755),a=o(92957),r=o(53060),d=o(6559),s=o(22306),c=o(48377),u=o.n(c);function CashbackChip(e){let{onClick:i,value:o,rate:c,classname:v}=e,f={buscape:(0,t.jsx)(a.ZP,{type:"symbol",height:13,width:10}),zoom:(0,t.jsx)(a.ZP,{type:"little",height:15,width:15}),bpan:(0,t.jsx)(a.ZP,{type:"symbol",height:13,width:10})}[r.Z.BRAND_NAME_LOWERED];return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("div",{className:u().CashbackChip,children:(0,t.jsxs)(n.Z,{onClick:()=>{i&&i()},variant:"secondary",beforeIcon:f,value:(0,t.jsx)(t.Fragment,{children:o&&" • ".concat((0,s.eY)(o))}),size:l.I.SMALL,className:v,children:[c&&(0,d.Z)(c),"% "," de volta"]})})})}},99971:function(e,i,o){"use strict";var t=o(98410);i.Z=t.Z},31739:function(e,i,o){"use strict";o.d(i,{v:function(){return mountOfferData}});var t=o(86561);let getSeller=e=>{var i;let o=null==e?void 0:null===(i=e.seller)||void 0===i?void 0:i.result;if(o)return{name:o.name,url:o.url}},getRating=e=>{var i;let o=null==e?void 0:null===(i=e.product_user_review)||void 0===i?void 0:i.result;if(o)return{overall:null==o?void 0:o.rating,count:null==o?void 0:o.countOfComments}},getCashback=e=>{var i,o,t,n;let l=null==e?void 0:null===(i=e.offer)||void 0===i?void 0:i.result;if(l&&(null==l?void 0:l.cashback))return{value:null==l?void 0:null===(o=l.cashback)||void 0===o?void 0:o.cashbackValue,rate:null==l?void 0:null===(n=l.cashback)||void 0===n?void 0:null===(t=n.formula)||void 0===t?void 0:t.cashbackRate}},mountOfferData=(e,i)=>{let o=getSeller(i),n=getRating(i),l=getCashback(i),a=l&&l.rate&&l.value?[{type:"cashback",label:"",rawType:"",title:"",value:l.rate,price:l.value}]:[];return{id:e.offer_id,price:e.sales_condition.price,totalPrice:e.sales_condition.total_price,image:{src:e.thumb_url,alt:e.name},merchant:{id:"".concat(e.seller.id),name:e.seller.name,deliverName:"".concat(e.seller.name),image:{src:e.seller.logo_url,alt:e.seller.name},roundedImage:{src:e.seller.rounded_logo_urls.small,alt:e.seller.name}},merchantURL:null==o?void 0:o.url,isMkp:!0,installment:{line1:"ou ".concat(e.sales_condition.installments[0].amount_months,"x de ").concat((0,t.Z)(e.sales_condition.installments[0].price)),installmentsAmount:e.sales_condition.installments[0].amount_months,totalParceledValue:e.sales_condition.installments[0].total_value,value:e.sales_condition.installments[0].price},productName:e.name,promotion:a,url:"https://buscape.com.br",skuVariations:e.sku_variations,rating:n,productId:e.product_id,stock:e.sales_condition.stock,categoryId:e.category_id}}},37638:function(e,i,o){"use strict";o.d(i,{G:function(){return n},H:function(){return getOfferPageGAAttributes}});var t=o(61171);let n="offer_page",getOfferPageGAAttributes=e=>{var i,o,l,a,r,d,s,c;return{category:(0,t.lV)(null==e?void 0:null===(l=e.category)||void 0===l?void 0:null===(o=l.result)||void 0===o?void 0:null===(i=o.category)||void 0===i?void 0:i.name),pagetype:n,product_name:null==e?void 0:null===(r=e.product)||void 0===r?void 0:null===(a=r.result)||void 0===a?void 0:a.slug,currency:"BRL",price:(null!==(c=null==e?void 0:null===(s=e.sales_condition)||void 0===s?void 0:null===(d=s.result)||void 0===d?void 0:d.list_price)&&void 0!==c?c:0).toString()}}},7176:function(e,i,o){"use strict";o.d(i,{Z:function(){return ez}}
1);var t=o(14710),n=o(42081),l=o(69106),a=o.n(l),r=o(19490),d=o(6329),s=o(25411),c=o(9834),u=o(35715),v=o(42042),f=o(76072),p=o(39403),_=o(10174),g=o(42249),h=o(47881),m=o(36289),A=o(99379),E=o(52454),O=o(28085),y=o(94103),N=o(19561),P=o(77530),S=o(86028),C=o(65141),T=o(56923),I=o(2491),k=o(6970),M=o(72937),x=o(52697),b=o(74707),V=o(2086),R=o(85214),L=o(43521),j=o(88262),Z=o(89093),w=o(24586),D=o(30179),F=o(31739),U=o(83259),G=o.n(U),B=o(73884),W=o(82810),Y=o(67578),H=o(87010),z=o(57010),X=o(70138),q=o(40665),K=o(77155),Q=o(44214),J=o(31724),$=o(95559),ee=o(58242),ei=o(60779),eo=o(53733).Z,et=o(39023),en=o(19374),el=o(52434),ea=o(77555),er=o(41103),ed=o(37278),es=o(14049),ec=o(56808),eu=o(63477),ev=o(10618),ef=o(20090),ep=o(37638),e_=o(1095),banner_bannerExtensionOnClick=(e,i)=>{(0,e_.Z)({...i,eventName:"click",area:es.M.AREA.BANNER,link_url:e.url,outbound:!0,index:e.index})},eg=o(61171),banner_bannerOnView=(e,i)=>o=>{o&&((0,B.dispatch)({category:"".concat(es.M.BANNER.GAU.CATEGORY).concat(i.pagetype),action:es.M.BANNER.GAU.ON_VIEW.ACTION,label:(0,eg.lV)(e.title||""),value:0}),(0,e_.Z)({...i,eventName:es.M.BANNER.EVENT_NAME,option:es.M.BANNER.VIEW,area:es.M.AREA.BANNER,banner_name:(0,eg.lV)(e.title||""),banner_link:e.url,index:e.index}))},body_bodyOnView=e=>i=>{i&&((0,B.dispatch)({category:"".concat(es.M.BODY.GAU.CATEGORY).concat(e.pagetype),action:es.M.BODY.GAU.ON_VIEW.ACTION,label:es.M.OPTION.VIEW,value:0}),(0,e_.Z)({...e,eventName:es.M.EVENT_NAME,area:es.M.AREA.BODY,option:es.M.OPTION.VIEW}))},faq_faqOnClick=e=>i=>{var o,t;(0,B.dispatch)({category:"".concat(es.M.FAQ.GAU.CATEGORY).concat(e.pagetype),action:es.M.FAQ.GAU.ON_CLICK.ACTION,label:(0,eg.lV)(null==i?void 0:null===(o=i.content)||void 0===o?void 0:o.title),value:0}),(0,e_.Z)({...e,eventName:es.M.EVENT_NAME,area:es.M.AREA.FAQ,option:"".concat(null==i?void 0:i.behavior).concat(es.M.OPTION.FAQ.CLICK),index:null==i?void 0:i.index,element_text:(0,eg.lV)(null==i?void 0:null===(t=i.content)||void 0===t?void 0:t.title)})},faq_faqOnView=e=>i=>{i&&((0,B.dispatch)({category:"".concat(es.M.FAQ.GAU.CATEGORY).concat(e.pagetype),action:es.M.FAQ.GAU.ON_VIEW.ACTION,label:es.M.OPTION.VIEW,value:0}),(0,e_.Z)({...e,eventName:es.M.EVENT_NAME,area:es.M.AREA.FAQ,option:es.M.OPTION.VIEW}))},ask_expert_footerAskExpertOnClick=e=>i=>{(0,B.dispatch)({category:"".concat(es.M.FOOTER.ASK_EXPERT.GAU.CATEGORY).concat(e.pagetype),action:es.M.FOOTER.ASK_EXPERT.GAU.ON_CLICK.ACTION,label:(0,eg.lV)((null==i?void 0:i.buttonLabel)||""),value:0}),(0,e_.Z)({...e,eventName:es.M.EVENT_NAME,area:es.M.AREA.ASK_EXPERT,option:(0,eg.lV)((null==i?void 0:i.buttonLabel)||"")})},ask_expert_footerAskExpertOnView=e=>i=>{i&&((0,B.dispatch)({category:"".concat(es.M.FOOTER.ASK_EXPERT.GAU.CATEGORY).concat(e.pagetype),action:es.M.FOOTER.ASK_EXPERT.GAU.ON_VIEW.ACTION,label:es.M.OPTION.VIEW,value:0}),(0,e_.Z)({...e,eventName:es.M.EVENT_NAME,area:es.M.AREA.ASK_EXPERT,option:es.M.OPTION.VIEW}))},see_more_footerSeeMoreOnClick=e=>i=>{(0,B.dispatch)({category:"".concat(es.M.FOOTER.SEE_MORE.GAU.CATEGORY).concat(e.pagetype),action:es.M.FOOTER.SEE_MORE.GAU.ON_CLICK.ACTION,label:(0,eg.lV)((null==i?void 0:i.buttonLabel)||""),value:0}),(0,e_.Z)({...e,eventName:es.M.EVENT_NAME,area:es.M.AREA.ASK_EXPERT,option:(0,eg.lV)((null==i?void 0:i.buttonLabel)||"")})},see_more_footerSeeMoreOnView=e=>i=>{i&&((0,B.dispatch)({category:"".concat(es.M.FOOTER.SEE_MORE.GAU.CATEGORY).concat(e.pagetype),action:es.M.FOOTER.SEE_MORE.GAU.ON_VIEW.ACTION,label:es.M.OPTION.VIEW,value:0}),(0,e_.Z)({...e,eventName:es.M.EVENT_NAME,area:es.M.AREA.SEE_MORE,option:es.M.OPTION.VIEW}))},survey_footerSurveyOnClick=e=>i=>{(0,B.dispatch)({category:"".concat(es.M.FOOTER.SURVEY.GAU.CATEGORY).concat(e.pagetype),action:es.M.FOOTER.SURVEY.GAU.ON_CLICK.ACTION,label:i}),(0,e_.Z)({...e,eventName:es.M.EVENT_NAME,area:es.M.AREA.SURVEY,option:"".concat(es.M.OPTION.SURVEY.CLICK,"_").concat(i)})},survey_footerSurveyOnLoad=e=>{(0,B.dispatch)({category:"".concat(es.M.FOOTER.SURVEY.GAU.CATEGORY).concat(e.pagetype),action:es.M.FOOTER.SURVEY.GAU.ON_LOAD.ACTION,label:es.M.FOOTER.SURVEY.GAU.ON_LOAD.LABEL,nonInteractive:!0}),(0,e_.Z)({...e,eventName:es.M.EVENT_NAME,area:es.M.AREA.SURVEY,option:es.M.OPTION.SURVEY.LOAD})},survey_footerSurveyOnView=e=>i=>{i&&((0,B.dispatch)({category:"".concat(es.M.FOOTER.SURVEY.GAU.CATEGORY).concat(e.pagetype),action:es.M.FOOTER.SURVEY.GAU.ON_VIEW.ACTION,label:es.M.FOOTER.SURVEY.GAU.ON_VIEW.LABEL,value:0,nonInteractive:!0}),(0,e_.Z)({...e,eventName:es.M.EVENT_NAME,area:es.M.AREA.SURVEY,option:es.M.OPTION.SURVEY.SHOW}))},review_reviewOnView=e=>i=>{i&&((0,B.dispatch)({category:"".concat(es.M.REVIEW.GAU.CATEGORY).concat(e.pagetype),action:es.M.REVIEW.GAU.ON_VIEW.ACTION,label:es.M.OPTION.VIEW,value:0}),(0,e_.Z)({...e,eventName:es.M.EVENT_NAME,area:es.M.AREA.REVIEW,option:es.M.OPTION.VIEW}))},subtitle_subtitleOnView=e=>i=>{i&&((0,B.dispatch)({category:"".concat(es.M.SUBTITLE.GAU.CATEGORY).concat(e.pagetype),action:es.M.SUBTITLE.GAU.ON_VIEW.ACTION,label:es.M.OPTION.VIEW,value:0}),(0,e_.Z)({...e,eventName:es.M.EVENT_NAME,area:es.M.AREA.SUBTITLE,option:es.M.OPTION.VIEW}))},summary_summaryOnView=e=>i=>{i&&((0,B.dispatch)({category:"".concat(es.M.SUMMARY.GAU.CATEGORY).concat(e.pagetype),action:es.M.SUMMARY.GAU.ON_VIEW.ACTION,label:es.M.AREA.SUMMARY,value:0}),(0,e_.Z)({...e,eventName:es.M.EVENT_NAME,area:es.M.AREA.SUMMARY,option:es.M.OPTION.VIEW}))},video_videoOnPlay=e=>{(0,B.dispatch)({category:"".concat(es.M.VIDEO.GAU.CATEGORY).concat(e.pagetype),action:es.M.VIDEO.GAU.ON_P
1LAY.ACTION,label:es.M.OPTION.VIDEO.PLAY,value:0}),(0,e_.Z)({...e,eventName:es.M.EVENT_NAME,area:es.M.AREA.VIDEO,option:es.M.OPTION.VIDEO.PLAY})},video_videoOnView=e=>i=>{i&&((0,B.dispatch)({category:"".concat(es.M.VIDEO.GAU.CATEGORY).concat(e.pagetype),action:es.M.VIDEO.GAU.ON_VIEW.ACTION,label:es.M.OPTION.VIEW,value:0}),(0,e_.Z)({...e,eventName:es.M.EVENT_NAME,area:es.M.AREA.VIDEO,option:es.M.OPTION.VIEW}))},sections_ExpertSection_ExpertSection=e=>{var i,o,n,l;let{offsetTopAdjust:a}=e,r=(0,d.v9)(m.UO),s=(0,d.v9)(m.UO),c=(0,ep.H)(s),u=null==r?void 0:null===(o=r.sku)||void 0===o?void 0:null===(i=o.result)||void 0===i?void 0:i.product_id,v=Number(null==r?void 0:null===(l=r.product)||void 0===l?void 0:null===(n=l.result)||void 0===n?void 0:n.category_id),f=H.hb?eu.S$:eu.yy,p=H.hb?1:0,_={index:p,title:f.TITLE,url:f.URL};return(0,t.jsxs)(ef.NP,{id:"EXPERTS_RATING",beforeIcon:(0,t.jsx)(ev.N,{}),offsetTopAdjust:a,children:[(0,t.jsx)(ef.VY,{children:(0,t.jsx)(ed.Z,{productId:u,categoryId:v,callbacks:{summary:{onView:summary_summaryOnView(c)},prosandconslist:{},subtitle:{onView:subtitle_subtitleOnView(c)},review:{onView:review_reviewOnView(c)},faq:{onView:faq_faqOnView(c),onClick:faq_faqOnClick(c)},body:{onView:body_bodyOnView(c)},video:{onView:video_videoOnView(c),onPlay:()=>video_videoOnPlay(c)},footer:{survey:{onView:survey_footerSurveyOnView(c),onClick:survey_footerSurveyOnClick(c),onLoad:()=>survey_footerSurveyOnLoad(c)},seeMore:{onView:see_more_footerSeeMoreOnView(c),onClick:see_more_footerSeeMoreOnClick(c)},askExpert:{onView:ask_expert_footerAskExpertOnView(c),onClick:ask_expert_footerAskExpertOnClick(c)}}}})}),(0,t.jsx)(ef.xN,{hideOnMobile:!0,children:(0,t.jsx)(ec.U,{withoutTopMargin:H.zm,testid:es.i.SECTION.ASIDE.BANNER.EXTENSION,callbacks:{onView:banner_bannerOnView(_,c),onClick:()=>banner_bannerExtensionOnClick(_,c)}})})]})},eh=o(21028),em=o(48075),eA={MERCHANT_DESCRIPTION:{ID_PANEL:"painel-descricao",ID:"descricao",TITLE:"Detalhes do produto",TYPE:"DetailsSection",EVENT:{ACTION:"click-to-open",LABEL:"ficha-tecnica"}}},eE=o(44873),eO=o.n(eE),sections_InfoDetailsSection=e=>{let{productName:i,description:o}=e;return(0,t.jsx)(t.Fragment,{children:o&&(0,t.jsxs)("section",{id:eA.MERCHANT_DESCRIPTION.ID,className:eO().Wrapper,children:[(0,t.jsxs)(eh.Z,{className:eO().Title,tag:"h2",modifier:em.Fc.SMALL,children:[eA.MERCHANT_DESCRIPTION.TITLE,(0,t.jsxs)("span",{className:eO().Highlight,children:[" ",i]})]}),(0,t.jsx)("div",{className:eO().Content,children:(0,t.jsx)("div",{style:{maxWidth:"100%"},className:eO().MerchantContent,dangerouslySetInnerHTML:{__html:o}})})]})})},ey=o(84052),eN=o(86561),eP=o(77610),eS=o(93379),eC=o(42025),eT=o(96820),eI=o(53060),ek=o(99971),eM=o(15660),ex=o(95090),eb=o.n(ex),components_ShippingSelector=function(e){let{onClick:i,shipping:o}=e;return(0,t.jsxs)("button",{type:"button",className:eb().ShippingSelector,onClick:()=>{i&&i()},children:[(0,t.jsxs)("div",{className:eb().Texts,children:[!o&&(0,t.jsx)(eh.Z,{modifier:"MobileLabelXs",children:"Calcular Frete"}),o&&(0,t.jsxs)(t.Fragment,{children:[o.isFree&&(0,t.jsx)(eh.Z,{modifier:"DesktopTagS",className:eb().Free,children:"Frete gr\xe1tis"}),o.value&&(0,t.jsxs)("div",{className:eb().Value,children:[(0,t.jsx)(eh.Z,{modifier:"DesktopLabelXs",children:"Frete estimado"}),(0,t.jsx)(eh.Z,{modifier:"DesktopTagXs",children:(0,eN.Z)(o.value)})]}),o.days&&o.days>0&&(0,t.jsxs)(eh.Z,{modifier:"DesktopLabelXs",className:eb().Days,children:["em at\xe9 ",o.days," dias"]})]})]}),(0,t.jsx)(eM.Z,{width:16,height:16})]})},eV=o(22469);let processSkuValue=e=>null==e?void 0:e.map(e=>e.value_name),processSkuLabel=e=>{var i;let o=null==e?void 0:e.skuVariations,n=null!==(i=null==o?void 0:o.length)&&void 0!==i?i:0;return o&&n>=2?(0,t.jsxs)(t.Fragment,{children:["Caracter\xedsticas:"," ",(0,t.jsx)("b",{children:processSkuValue(o).join(", ").replace(/, ([^,]*)$/," e $1")})]}):o&&1===n?(0,t.jsxs)(t.Fragment,{children:[o[0].selector_name,":"," ",(0,t.jsxs)("b",{children:[" ",o[0].value_name]})]}):(0,t.jsx)(t.Fragment,{})};var eR=o(79910),eL=o.n(eR),components_SkuSelector=function(e){let{offer:i,onClick:o}=e;return(0,t.jsxs)("button",{className:eL().OfferCardVariantSelector,type:"button",onClick:()=>{o&&o()},children:[(0,t.jsx)(eh.Z,{modifier:"MobileLabelS",children:processSkuLabel(i)}),(0,t.jsx)(eV.Z,{width:9,height:9})]})},ej=o(95432),eZ=o.n(ej),sections_OfferPLA=function(e){var i,o,n,l,a,r,d,s,c,u,v,f,p,_,g,h,m,A;let{offer:E,shipping:O,onClickShippingSelector:y,onClickCTA:N,onClickCashback:P,onClickSkuSelector:S}=e,handleClickCTA=e=>{N&&N(e)};return(0,t.jsxs)("div",{className:eZ().OfferPLA,children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)(eh.Z,{modifier:"MobileHeadingS",children:["Compre direto pelo ",eI.Z.BRAND_NAME_CONTRACT]}),(0,t.jsx)(eh.Z,{modifier:"MobileSubtitleS",children:"Realize a sua compra totalmente pela nossa plataforma"})]}),(0,t.jsxs)("div",{className:eZ().ContentContainer,children:[(0,t.jsxs)("div",{children:[(null==E?void 0:null===(i=E.image)||void 0===i?void 0:i.src)&&(0,t.jsx)("div",{className:G()(eZ().Image,eZ().WithBackgroun
1d),children:(0,t.jsx)("img",{src:null==E?void 0:null===(o=E.image)||void 0===o?void 0:o.src,alt:null==E?void 0:null===(n=E.image)||void 0===n?void 0:n.alt})}),!(null==E?void 0:null===(l=E.image)||void 0===l?void 0:l.src)&&(0,t.jsx)("div",{className:eZ().Image,children:(0,t.jsx)("img",{src:eT.iY,alt:"Imagem indispon\xedvel"})})]}),(0,t.jsxs)("div",{className:eZ().Info,children:[(0,t.jsxs)("div",{className:eZ().TitleAndSeller,children:[(0,t.jsx)(eS.Z,{className:eZ().Rating,rating:(null==E?void 0:E.rating)?null==E?void 0:null===(a=E.rating)||void 0===a?void 0:a.overall:0,votes:(null==E?void 0:E.rating)&&(null==E?void 0:null===(r=E.rating)||void 0===r?void 0:r.count),alwaysShowVotes:!0,showTotalVotesText:!0,showRatingText:!0}),(0,t.jsx)(eh.Z,{modifier:"MobileHeadingS",children:(null==E?void 0:E.productName)||""}),(null==E?void 0:null===(d=E.merchant)||void 0===d?void 0:d.name)&&(null==E?void 0:E.merchantURL)&&(0,t.jsxs)(eh.Z,{className:eZ().Seller,modifier:"MobileLabelXs",children:["Vendido e entregue por"," ",(0,t.jsx)("a",{target:"_blank",href:null==E?void 0:E.merchantURL,rel:"noreferrer",children:null==E?void 0:null===(s=E.merchant)||void 0===s?void 0:s.name})]})]}),(0,t.jsxs)("div",{className:eZ().Payments,children:[(0,t.jsxs)("div",{className:eZ().AVista,children:[(0,t.jsx)(eh.Z,{modifier:"MobileHeadingM",children:(0,eN.Z)(null!==(_=null==E?void 0:E.price)&&void 0!==_?_:0)}),(0,t.jsx)(eh.Z,{modifier:"DesktopTagS",children:"\xe0 vista"})]}),(null==E?void 0:E.installment)&&(0,t.jsxs)("div",{className:eZ().Installments,children:[(0,t.jsxs)(eh.Z,{modifier:"MobileLabelS",children:["ou ",null==E?void 0:null===(c=E.installment)||void 0===c?void 0:c.installmentsAmount,"x de"," ",(0,eN.Z)(null==E?void 0:null===(u=E.installment)||void 0===u?void 0:u.value)]}),(null==E?void 0:null===(v=E.installment)||void 0===v?void 0:v.totalParceledValue)>(null==E?void 0:E.totalPrice)?(0,t.jsx)(eh.Z,{modifier:"MobileLabelS",children:"com juros"}):(0,t.jsx)(eh.Z,{modifier:"MobileLabelS",className:eZ().NoFees,children:"sem juros"})]})]}),(null!==(g=null==E?void 0:null===(f=E.promotion)||void 0===f?void 0:f.length)&&void 0!==g?g:0)>0&&(0,t.jsx)("div",{className:eZ().Cashback,children:(0,t.jsx)(ek.Z,{rate:null!==(h=null==E?void 0:E.promotion[0].value)&&void 0!==h?h:0,value:null!==(m=null==E?void 0:E.promotion[0].price)&&void 0!==m?m:0,onClick:()=>{P&&P()}})})]}),(0,t.jsxs)("div",{className:eZ().Actions,children:[(null==E?void 0:E.isMkp)&&(null!==(A=null==E?void 0:null===(p=E.skuVariations)||void 0===p?void 0:p.length)&&void 0!==A?A:0)>0&&(0,t.jsx)(components_SkuSelector,{offer:E,onClick:()=>{S&&S()}}),(0,t.jsx)(components_ShippingSelector,{shipping:O,onClick:()=>{y&&y()}}),(0,t.jsxs)(eC.Z,{className:G()({[eZ().CTA]:!0,[eZ().Zoom]:eP.ZP}),beforeIcon:(0,t.jsx)(ey.Z,{type:"littleBlackFriday"}),onClick:e=>{handleClickCTA(e)},children:["Comprar no ",eI.Z.BRAND_NAME_CONTRACT]})]})]})]})},ew=o(797),eD=o.n(ew),body_PLAPageBody=e=>{var i,o,l,r,c,u,v,f,p,_,g,h,m,A,E,O,y,N,P;let{className:S,offerPage:C,offerPLA:T,description:I,attributes:k,pageType:M,isPLA:x,leadParams:b}=e,V=null==C?void 0:null===(o=C.sku)||void 0===o?void 0:null===(i=o.result)||void 0===i?void 0:i.product_id,[R,L]=(0,n.useState)(""),[j,Z]=(0,n.useState)(),w=(0,d.v9)(q.nY),D=(0,d.v9)((0,$.Zs)(V)),F=(0,d.v9)(K.Vm),U=!!(null==C?void 0:null===(c=C.product_specification)||void 0===c?void 0:null===(r=c.result)||void 0===r?void 0:null===(l=r.attributes)||void 0===l?void 0:l.length),ed=H.hb||X.ZP,es=ed&&D,ec=ed&&!es&&(0,ee.Z)(null==C?void 0:null===(f=C.product)||void 0===f?void 0:null===(v=f.result)||void 0===v?void 0:null===(u=v.category_id)||void 0===u?void 0:u.toString()),eu=null==C?void 0:null===(_=C.product_user_review)||void 0===_?void 0:null===(p=_.result)||void 0===p?void 0:p.comments,ev=null==C?void 0:null===(h=C.product_user_review)||void 0===h?void 0:null===(g=h.result)||void 0===g?void 0:g.countOfComments,ef=!a()(eu)&&ev>0,ep=-1*(0,ea.Z)({device:w})||0,handleSkuSelectorClick=()=>{(0,W.Z)(ei.OFFER_MODAL_HASH)},handleCTAClick=()=>{var e,i,o;(0,B.dispatch)((0,B.getGA4EventTemplate)({pagetype:M,area:"comprar-agora",eventName:"product_overview",category:null==C?void 0:null===(o=C.category)||void 0===o?void 0:null===(i=o.result)||void 0===i?void 0:null===(e=i.category)||void 0===e?void 0:e.name,product_name:null==T?void 0:T.productName,price:null==T?void 0:T.price})),(0,W.Z)(ei.OFFER_MODAL_HASH)},handleShippingSelectorClick=()=>{(0,B.dispatch)((0,B.getGA4EventTemplate)({pagetype:M,eventName:"cep",area:"calculating-shipping"})),(0,Y.Lf)()},getOfferPLA=()=>T?(0,t.jsx)(sections_OfferPLA,{offer:T,shipping:j,onClickSkuSelector:handleSkuSelectorClick,onClickCTA:handleCTAClick,onClickShippingSelector:handleShippingSelectorClick}):(0,t.jsx)(t.Fragment,{});return(0,n.useEffect)(()=>{let fetchOfferShipping=async()=>
1{if(null==F?void 0:F.address)try{var e,i,o,t;let n=await (0,Q.wD)((0,z.e)(null==F?void 0:null===(e=F.address)||void 0===e?void 0:e.zipcode),null==F?void 0:null===(i=F.address)||void 0===i?void 0:i.state,null==F?void 0:null===(o=F.address)||void 0===o?void 0:o.city,[{id:(null==T?void 0:T.id)||"",category:{id:(null==T?void 0:T.categoryId)||""},mkp:!0,merchant:{id:(null==T?void 0:null===(t=T.merchant)||void 0===t?void 0:t.id)||""}}]),l=null==n?void 0:n.forOffers[(null==T?void 0:T.id)||""];if(!l||0===l.length)return;let a=l.find(e=>"FREE_SHIPPING"===e.type);if(a){Z({isFree:!0});return}let r=l.find(e=>"FREIGHT_ESTIMATE"===e.type||"FREIGHT"===e.type);if(!r)return;Z({days:r.deliveryDays,value:r.price,isFree:!1})}catch(e){console.log(e)}};fetchOfferShipping()},[F,null==T?void 0:T.categoryId,null==T?void 0:T.id,null==T?void 0:null===(m=T.merchant)||void 0===m?void 0:m.id]),(0,t.jsx)("div",{className:G()(eD().ContentBody,S),children:(0,t.jsx)("div",{children:(0,t.jsxs)(s.Z,{className:eD().BlockSectionWrapper,noPadding:!0,children:[(0,t.jsx)(en.Z,{}),(0,t.jsx)(s.Z,{fluid:!0,noPadding:!0,children:(0,t.jsxs)(s.Z,{noPadding:!0,className:"".concat(eD().Col," ").concat(eD().WithoutHorizontalPadding),fluid:!0,children:[x&&(0,t.jsx)(eo,{leadParams:b,pageType:"offer_page",offerPLA:T}),!x&&getOfferPLA(),!x&&(0,t.jsx)(ei.default,{pageType:M,productId:null==T?void 0:T.productId,offer:T,price:null==T?void 0:T.price,leadParams:b,handleClick:()=>{(0,et.x)({pageType:"offer_page",eventName:"lead",area:"modal_sku",offer:T,option:"mkp"})},productName:null==T?void 0:T.productName}),U&&(0,t.jsx)(el.Z,{categoryId:Number(null==C?void 0:null===(E=C.product)||void 0===E?void 0:null===(A=E.result)||void 0===A?void 0:A.category_id),attributes:k,offsetTopAdjust:ep,sectionFocused:R,openPanel:e=>L(e),closePanel:()=>L(""),className:eD().NormalizeHorizontalPadding}),x&&getOfferPLA(),(0,t.jsx)(sections_InfoDetailsSection,{description:I,productName:null==C?void 0:null===(y=C.offer)||void 0===y?void 0:null===(O=y.result)||void 0===O?void 0:O.name}),es&&(0,t.jsx)(sections_ExpertSection_ExpertSection,{offsetTopAdjust:-132}),ec&&(0,t.jsx)(J.z,{pageType:M}),ef&&(0,t.jsx)(er.Z,{rating:null==C?void 0:null===(P=C.product_user_review)||void 0===P?void 0:null===(N=P.result)||void 0===N?void 0:N.rating,countOfComments:ev,comments:eu})]})})]})})})},eF=o(46034),data_offerDataLayer=e=>{var i,o,t,n,l,a,r,d,s,c,u,v,f,p,_,g,h,m,A,E,O,y;let{offer:N,isPLAPage:P}=e,S=eF.ZP.getDataLayer({pageType:{pageType:"Lead",isLeadPage:!0,isOfferPage:!0,isPLAPage:P},category:{id:null==N?void 0:null===(t=N.category)||void 0===t?void 0:null===(o=t.result)||void 0===o?void 0:null===(i=o.category)||void 0===i?void 0:i.id,name:null==N?void 0:null===(a=N.category)||void 0===a?void 0:null===(l=a.result)||void 0===l?void 0:null===(n=l.category)||void 0===n?void 0:n.name,cname:null==N?void 0:null===(s=N.category)||void 0===s?void 0:null===(d=s.result)||void 0===d?void 0:null===(r=d.category)||void 0===r?void 0:r.slug},product:{id:null==N?void 0:null===(u=N.sku)||void 0===u?void 0:null===(c=u.result)||void 0===c?void 0:c.id,pid:null==N?void 0:null===(f=N.sku)||void 0===f?void 0:null===(v=f.result)||void 0===v?void 0:v.product_id,name:null==N?void 0:null===(_=N.offer)||void 0===_?void 0:null===(p=_.result)||void 0===p?void 0:p.name,price:null!==(y=null==N?void 0:null===(h=N.sales_condition)||void 0===h?void 0:null===(g=h.result)||void 0===g?void 0:g.list_price)&&void 0!==y?y:0,countOfOffers:0,brandName:"",series:""},merchantId:null==N?void 0:null===(A=N.seller)||void 0===A?void 0:null===(m=A.result)||void 0===m?void 0:m.id,merchantName:null==N?void 0:null===(O=N.seller)||void 0===O?void 0:null===(E=O.result)||void 0===E?void 0:E.name,zmkp:!0});eF.ZP.initialize(S)},eU=o(40272),eG=o(87813);let eB="https://i1.zst.com.br/ais/_next/public/asteroid/".concat("buscape","/logo.svg");var data_OfferSchema=e=>{var i,o,n,l,a,r,d,s,c,u,v,f,p,_,g,h;let{offerPage:m,bestOffer:A}=e,E=new eG.Z({offer:{price:(null==A?void 0:A.price)||(null==m?void 0:null===(o=m.sales_condition)||void 0===o?void 0:null===(i=o.result)||void 0===i?void 0:i.list_price)||0,availability:!!(null==m?void 0:null===(l=m.sales_condition)||void 0===l?void 0:null===(n=l.result)||void 0===n?void 0:n.stock),condition:null==m?void 0:null===(r=m.offer)||void 0===r?void 0:null===(a=r.result)||void 0===a?void 0:a.condition},product:{name:null==m?void 0:null===(s=m.offer)||void 0===s?void 0:null===(d=s.result)||void 0===d?void 0:d.name,description:null==m?void 0:null===(u=m.offer)||void 0===u?void 0:null===(c=u.result)||void 0===c?void 0:c.description,image:(null==m?void 0:null===(h=m.images)||void 0===h?void 0:null===(g=h.result)||void 0===g?void 0:null===(_=g._embedded)||void 0===_?void 0:null===(p=_["zoom_rels:images"])||void 0===p?void 0:null===(f=p[0])||void 0===f?void 0:null===(v=f.urls)||void 0===v?void 0:v.offer_gallery_thumb)||eB}});return(0,t.jsx)(eU.Z,{json:E.build()})},eW=o(74981);let trackOfferPageConversion=async function(e){let i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=await (0,eW.Z)(e,i);return eF.ZP.trackPageConversion("offer-".concat(e),{...o,event:"fireVisitConversion",zmkp:!0}),o};var eY=o(74851),data_trackOfferPageView=e=>{let{categoryName:i,offerId:o,offerHasSKU:t}=e;eF.ZP.trackPageView("offer-".concat(o),{event:"fireVisitPageView",pageView:"/offer-page",dimension1:i,dimension11:t},{event:eY.u5,eventName:eY.pz,pagetype:ep.G})};let eH=[1e3,19026,19031,19032,19034,19035,19036,19038,19042,19043,19058,19061,19062,19066,19070,19071,19080,19081,19082,19083,19084,19099,19100,19109,19111,19129,19130,19131,19132,19133,19134,19135,19137,19139,19141,19151,19156,19161,19164,19179,19180,19183,19188,19201,19203,19204,19207,19208,19215,19216,19217,19218,19219,19221,19232,19239,19240,19241,19242,19251,19252,19253,19258,19260,19261,19263,19266,19267,19271,19272,19276,19277,19278,19279,19280,19283,19286,19288,19289,19291,19292,19293,19294,19295,19296,19297,19298,19299,19300,19301,19302,19303,19304,19305,19306,19307,19309,19310,19311,19316,19323,19330,19334,19335,19336,19337,19339,19350,19351,19353,19354,19355,19357,19358,19373,19385,19386,19387,19388,19389,19390,19391,19403,19405,19418,19433,19434,19436,19440,19442,19444,19445,19449,19450,19458,19486,19488,19500,19504,19521];var helpers_isPLAVersion=e=>{let{queryString:i}=e;if(a()(i))return!1;if(null==i?void 0:i.pla)return!0;let o=null==i?void 0:i.og;if(o){let e=Number.parseInt(null==o?void 0:o.toString(),10);return eH.includes(e)}return!1};let getInitialProps=async e=>{var i,o,t,n,l,r,d,s,c,u,v,E,P,I,x,b,V,R,L,j,Z,D,U,G,B,W,Y,H,z,X,q,K,Q,J;let $;let{queryString:ee}=(0,T.Z)(e.asPath||""),ei=ee.oid,eo=e.reduxStore.getState(),et=((0,S.Z)(eo)||!!(null==e?void 0:null===(o=e.req)||void 0===o?void 0:null===(i=o.cookies)||void 0===i?void 0:i.isWebview)||(null==e?void 0:null===(t=e.query)||void 0===t?void 0:t.app)==="true")&&(null==e?void 0:null===(n=e.query)||void 0===n?void 0:n.app)!=="false";await e.reduxStore.dispatch((0,h.l8)(ei,et?"APP":"WEB"));let en=(0,m.UO)(eo),el=null==en?void 0:null===(d=en.sales_condition)||void 0===d?void 0:null===(r=d.result)||void 0===r?void 0:null===(l=r.locks)||void 0===l?void 0:l.some(e=>(null==e?void 0:e.lock_type)==="COURT_ORDER");if(el)return{statusCode:404};let ea="string"==typeof ee.channel?ee.channel:"1",er="string"==typeof ee.searchterm?ee.searchterm:"",ed=helpers_isPLAVersion({queryString:ee}),es=null==en?void 0:null===(c=en.sku)||void 0===c?void 0:null===(s=c.result)||void 0===s?void 0:s.product_id,ec=[];!a()(null==en?void 0:null===(v=en.product_specification)||void 0===v?void 0:null===(u=v.result)||void 0===u?void 0:u.attributes)&&(null==en?void 0:null===(I=en.category)||void 0===I?void 0:null===(P=I.result)||void 0===P?void 0:null===(E=P.category)||void 0===E?void 0:E.slug)&&(ec=(0,p.Z)(null==en?void 0:null===(H=en.product_specification)||void 0===H?void 0:null===(Y=H.result)||void 0===Y?void 0:Y.attributes,null==en?void 0:null===(q=en.category)||void 0===q?void 0:null===(X=q.result)||void 0===X?void 0:null===(z=X.category)||void 0===z?void 0:z.slug));let eu=[w.O&&e.reduxStore.dispatch((0,g.Dr)({merchantId:null==en?void 0:null===(b=en.offer)||void 0===b?void 0:null===(x=b.result)||void 0===x?void 0:x.merchant_id,offerId:null==en?void 0:null===(R=en.offer)||void 0===R?void 0:null===(V=R.result)||void 0===V?void 0:V.id,offerPrice:null!==(K=null==en?void 0:null===(j=en.sales_condition)||void 0===j?void 0:null===(L=j.result)||void 0===L?void 0:L.list_price)&&void 0!==K?K:0,prodId:null==en?void 0:null===(D=en.sku)||void 0===D?void 0:null===(Z=D.result)||void 0===Z?void 0:Z.product_id}))];es&&(eu.push(await e.reduxStore.dispatch((0,N.C6)({prodId:es,offerId:ei,merchantid:null==en?void 0:null===(J=en.seller)||void 0===J?void 0:null===(Q=J.result)||void 0===Q?void 0:Q.id}))),eu.push(await e.reduxStore.dispatch(e.reduxStore.dispatch((0,y.sC)(es)))));let ev=null==en?void 0:null===(G=en.offer)||void 0===G?void 0:null===(U=G.result)||void 0===U?void 0:U.id;if(es&&ev){let e=await (0,C.Z)(es,ev);e&&($=(0,F.v)(e,en))}ed&&(eu.push(e.reduxStore.dispatch((0,A.mC)(es,f.oT.Default,"",6,void 0,void 0,void 0))),eu.push(e.reduxStore.dispatch((0,O.Xp)(es,_.K0.DAYS)))),await Promise.all(eu);let ef=(null==en?void 0:null===(W=en.offer)||void 0===W?void 0:null===(B=W.result)||void 0===B?void 0:B.description)||"";return ed?e.reduxStore.dispatch((0,k.NC)(M.hl.PLA_PAGE)):e.reduxStore.dispatch((0,k.NC)(M.hl.OFFER_PAGE)),{offerId:ei,offerPage:en,offerMKP:$,description:ef,isPLA:ed,attributes:ec,leadParams:{leadChannel:ea,searchterm:er}}},fetchOffersWithCashback=async(e,i)=>{await e((0,A.yl)({pageSizeParam:6,refinements:null==i?void 0:i.refinementId,isPLA:!0})),w.O&&await e((0,g.J$)())},OfferPage=e=>{var i,o,l,f,p,_,g,h,A,O,y,N,S;let{offerPage:C,description:T,isPLA:k,attributes:M,statusCode:w,leadParams:F,offerMKP:U}=e,G=null==C?void 0:null===(o=C.offer)||void 0===o?void 0:null===(i=o.result)||void 0===i?void 0:i.id,B=null==C?void 0:null===(p=C.category)||void 0===p?void 0:null===(f=p.result)||void 0===f?void 0:null===(l=f.category)||void 0===l?void 0:l.id,W=(0,d.I0)(),Y=(0,d.v9)(P.Ys),H=!a()(Y||!1),z=(0,d.v9)(E.RW),X=(0,d.v9)(m.sQ),[q,K]=(0,n.use
1State)(""),Q=(0,r.useParams)(),J=(0,d.v9)(E.ib);(0,V.Z)("OFFER_PAGE"),(0,I.Z)({pageType:"offerPage"}),(0,n.useEffect)(()=>{var e,i,o,t,n,l,a,r,d;C&&data_offerDataLayer({offer:C,isPLAPage:!!k}),data_trackOfferPageView({categoryName:(null==C?void 0:null===(o=C.category)||void 0===o?void 0:null===(i=o.result)||void 0===i?void 0:null===(e=i.category)||void 0===e?void 0:e.name)||"",offerId:(null==C?void 0:null===(n=C.sku)||void 0===n?void 0:null===(t=n.result)||void 0===t?void 0:t.id)||"",offerHasSKU:H}),!k&&(null==C?void 0:null===(a=C.sku)||void 0===a?void 0:null===(l=a.result)||void 0===l?void 0:l.id)&&trackOfferPageConversion(null==C?void 0:null===(d=C.sku)||void 0===d?void 0:null===(r=d.result)||void 0===r?void 0:r.id).then(e=>{K(e.uuid)})},[C,H,k]);let $=(0,n.useMemo)(()=>({offerId:G,categoryId:B}),[B,G]);return((0,n.useEffect)(()=>{fetchOffersWithCashback(W,Q)},[J,W]),404===w)?(0,t.jsx)(D.Z,{statusCode:404}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(j.Z,{name:(null==C?void 0:null===(g=C.offer)||void 0===g?void 0:null===(_=g.result)||void 0===_?void 0:_.name)||"",image:(null==C?void 0:null===(S=C.images)||void 0===S?void 0:null===(N=S.result)||void 0===N?void 0:null===(y=N._embedded)||void 0===y?void 0:null===(O=y["zoom_rels:images"])||void 0===O?void 0:null===(A=O[0])||void 0===A?void 0:null===(h=A.urls)||void 0===h?void 0:h.original_image)||"",seo:{canonical:X}}),(0,t.jsx)(R.Z,{modifier:L.X,pageName:"offer_page"}),C&&(0,t.jsx)(body_PLAPageBody,{pageType:"offer_page",offerPage:C,description:T,attributes:M,isPLA:k,uuid:q,offerPLA:U,leadParams:F}),(0,t.jsx)(s.Z,{children:(0,t.jsx)(s.Z,{noPadding:!0,children:(0,t.jsx)(u.Z,{config:{targeting:$},children:(0,t.jsx)(v.Z,{id:"gpt-ad-footer",align:"center"})})})}),(0,t.jsx)(b.Z,{pageType:"offer_page"}),(0,t.jsx)(c.Z,{query:"offerPage"}),C&&(0,t.jsx)(data_OfferSchema,{offerPage:C,bestOffer:z}),(0,t.jsx)(x.Z,{insiderParams:{page:Z.f.CONFIRMATION}})]})};OfferPage.getInitialProps=getInitialProps;var ez=OfferPage},49882:function(e,i,o){"use strict";o.d(i,{o:function(){return fetchCashbackFormulas},G:function(){return fetchMerchantCashbacksRates}});var t=o(58387),n=o(66057),l=o(85112),a=o(91542);let fetchMerchantCashbacksRates=async()=>{let e={affiliateId:n.default.CASHBACK_AFFILIATE_ID_WEB},i="".concat(a.vd,"?").concat(t.stringify(e));try{return await fetch(i).then(e=>{if(!e.ok)throw Error("HTTP error! Status: ".concat(e.status));return e.json()})}catch(e){return l.Z.error("Merchant cashback rates list fetch failed: ".concat(e.message)),null}};var r=o(4275),d=o(83323);let fetchCashbackFormulas=async e=>{let i=/^\d+$/.test(null==e?void 0:e.merchantId)?null==e?void 0:e.merchantId:void 0,o={affiliateId:n.default.CASHBACK_AFFILIATE_ID_WEB,...e,merchantId:i};for(let e in o)void 0===o[e]&&delete o[e];let s="".concat(a.cC,"?detailsOption=HTML&").concat(t.stringify(o));try{if(!(null==e?void 0:e.offerId))throw l.Z.debug("Failed fetching Cashback Formulas: Invalid offerId"),Error("Invalid offerId");let i=await (0,r.Z)(s,{timeout:(0,d.Z)(3),skipNoticeErrors:!0});return{cashback:i,isError:!1}}catch(e){return{isError:!0,errorMessage:e.message,cashback:null}}}},43521:function(e,i,o){"use strict";o.d(i,{X:function(){return t}});let t="withFilter"},89093:function(e,i,o){"use strict";o.d(i,{f:function(){return t}});let t={HOME:"Home",SEARCH:"Search",CATEGORY:"Category",PRODUCT:"Product",CONFIRMATION:"Confirmation",CONTENT:"Content"}},83722:function(e){e.exports={content:"ErrorPage_content__PtVeJ",code:"ErrorPage_code__QSwhy",title:"ErrorPage_title__4zvTn",description:"ErrorPage_description__2qyDA",descriptio_or:"ErrorPage_descriptio_or__kX6Nk"}},797:function(e){e.exports={highlightLayout:"PLAPageBody_highlightLayout__RZslK",ContentBody:"PLAPageBody_ContentBody__WhF9Y",WithoutHorizontalPadding:"PLAPageBody_WithoutHorizontalPadding__tgzFQ",BreadCrumb:"PLAPageBody_BreadCrumb__ZEMdw",NavigationWrapper:"PLAPageBody_NavigationWrapper__7_ji8",NavigationCol:"PLAPageBody_NavigationCol__1zTki",DealingScroll:"PLAPageBody_DealingScroll__Xx_eL",NavegationSection:"PLAPageBody_NavegationSection__5Al7x",OverviewSection:"PLAPageBody_OverviewSection__Dd0Mc",VertNavigationWrapper:"PLAPageBody_VertNavigationWrapper__5krZB",VerticalNavigation:"PLAPageBody_VerticalNavigation__gNvvk",BlockSectionWrapper:"PLAPageBody_BlockSectionWrapper__M5BJT",Col:"PLAPageBody_Col__VAyk0",TitleMobile:"PLAPageBody_TitleMobile__iJsqk",PriceHistorySection:"PLAPageBody_PriceHistorySection__2B_Ww",NormalizeHorizontalPadding:"PLAPageBody_NormalizeHorizontalPadding__M0_PG"}}
1,44873:function(e){e.exports={highlightLayout:"InfoDetailsSection_highlightLayout__Pj4AG",Wrapper:"InfoDetailsSection_Wrapper___twGb",Title:"InfoDetailsSection_Title__5poUX",Content:"InfoDetailsSection_Content___Yu6_",MerchantContent:"InfoDetailsSection_MerchantContent__gO1Yr",Highlight:"InfoDetailsSection_Highlight__CiKRR",Button:"InfoDetailsSection_Button__D3jQS"}},95432:function(e){e.exports={highlightLayout:"OfferPLA_highlightLayout__7dt12",OfferPLA:"OfferPLA_OfferPLA__iXHI8",ContentContainer:"OfferPLA_ContentContainer__41_NN",Image:"OfferPLA_Image__7wufE",WithBackground:"OfferPLA_WithBackground__GYSR9",Info:"OfferPLA_Info__RY0Uf",TitleAndSeller:"OfferPLA_TitleAndSeller__dlrsz",Seller:"OfferPLA_Seller__fv2c1",Rating:"OfferPLA_Rating__CYptb",Payments:"OfferPLA_Payments__c3SRK",AVista:"OfferPLA_AVista__ZUD0O",Installments:"OfferPLA_Installments__PDZUs",NoFees:"OfferPLA_NoFees__Tyqz_",Cashback:"OfferPLA_Cashback__WehT_",Actions:"OfferPLA_Actions__d3ZsX",Quantity:"OfferPLA_Quantity__xhnwR",CTA:"OfferPLA_CTA__eUaeg",Zoom:"OfferPLA_Zoom__qLNJ_"}},48377:function(e){e.exports={highlightLayout:"CashbackChip_highlightLayout__gxrDT",CashbackChip:"CashbackChip_CashbackChip__jnZrn"}},95090:function(e){e.exports={ShippingSelector:"ShippingSelector_ShippingSelector__rMSlY",Texts:"ShippingSelector_Texts__0xxJ5",Free:"ShippingSelector_Free__Z3ItO",Value:"ShippingSelector_Value___pZOg",Days:"ShippingSelector_Days__1GPt9"}},79910:function(e){e.exports={highlightLayout:"SkuSelector_highlightLayout__vM4xi",OfferCardVariantSelector:"SkuSelector_OfferCardVariantSelector__pXy5Q"}}}]);

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.