PageSourceSearch

https://365ofertas.com/_next/static/chunks/2708.afff74c8b9bcb2c0.js

js 365ofertas.com collected 2026-10-07 16:39:30 UTC 8,895 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2708],{2708:function(e,i,t){t.r(i),t.d(i,{default:function(){return $}});var r=t(5893),n=t(7294),o=t(5152),a=t.n(o),c=t(1798),d=t(5697),l=t.n(d),s=t(3093),m=t(3794),g=t(3327),u=(0,n.memo)(e=>{let{brochureData:i}=e,{validUntil:t,validFrom:o,products:a,storeName:c}=i,d=(0,n.useMemo)(()=>a.map(e=>({name:e.name,imageUrl:e.image.url,categoryName:e.categoryName,url:e.url_from,price:e.brochure_product.price,storeName:c,validFrom:o,validUntil:t})),[a]);return(0,r.jsx)(g.Z,{products:d})}),h=t(508),p=t(2785),b=t(183);let f=(e,i)=>{let t=null==i?void 0:i[e];return t?"\n      background-image: url(".concat(t,");\n      background-position: center;\n      background-repeat: no-repeat;\n      background-size: cover;\n    "):"\n      background-image: none;\n      background-color: #EAEAEA;\n    "},w=(0,h.ZP)(p.Z).withConfig({componentId:"sc-34e0052e-0"})(["position:absolute;top:40%;"]),x=h.ZP.div.withConfig({componentId:"sc-34e0052e-1"})(["width:100%;max-width:40.625rem;margin:.625rem auto;background:",";"],b.O.white),y=h.ZP.div.withConfig({componentId:"sc-34e0052e-2"})(["display:grid;grid-template-columns:4.125rem 1fr;height:3.4375rem;width:100%;@media (min-width:","){grid-template-columns:7.5rem 1fr;}"],e=>e.theme.breakPoints.md),v=h.ZP.div.withConfig({componentId:"sc-34e0052e-3"})(["align-items:center;display:flex;width:100%;height:100%;max-height:calc(100% - 1.4rem);max-width:calc(100% - 1rem);justify-content:center;margin:auto;position:relative;img{object-fit:contain;}@media (min-width:","){max-height:65%;max-width:70%;}"],e=>e.theme.breakPoints.md),P=h.ZP.div.withConfig({componentId:"sc-34e0052e-4"})(["background:",";align-items:center;color:",";display:flex;flex-direction:column;gap:.2rem;justify-content:center;padding:0 .5rem;position:relative;"],e=>e.theme.colors.primary,b.O.white),j=h.ZP.h1.withConfig({componentId:"sc-34e0052e-5"})(["-webkit-box-orient:vertical;-webkit-line-clamp:",";display:-webkit-box;font-size:1.125rem;font-weight:900;line-height:normal;overflow:hidden;text-overflow:ellipsis;"],e=>e.hasSubtitle?1:2),k=h.ZP.h2.withConfig({componentId:"sc-34e0052e-6"})(["-webkit-box-orient:vertical;-webkit-line-clamp:1;display:-webkit-box;font-size:.93rem;font-weight:600;overflow:hidden;line-height:normal;text-overflow:ellipsis;width:100%;"]),C=h.ZP.div.withConfig({componentId:"sc-34e0052e-7"})(["padding:.4rem .25rem;display:grid;position:relative;grid-template-columns:repeat(2,minmax(6.25rem,1fr));gap:.4rem;"," & > :not(:last-child):nth-child(n+7){display:none;}@media (min-width:","){grid-template-columns:repeat(3,minmax(6.25rem,1fr));"," & > :not(:last-child):nth-child(n+7){display:block;}}"],e=>f("mobile",e.$backgroundImage),e=>e.theme.breakPoints.md,e=>f("desktop",e.$backgroundImage)),Z=h.ZP.p.withConfig({componentId:"sc-34e0052e-8"})(["background:",";color:",";font-size:.4375rem;font-weight:500;line-height:.53rem;padding:.5rem .875rem;text-align:center;width:100%;@media (min-width:","){font-size:.8rem;line-height:1.1rem;}"],e=>e.theme.colors.primary,b.O.white,e=>e.theme.breakPoints.md),I=h.ZP.div.withConfig({componentId:"sc-34e0052e-9"})(["width:100%;position:relative;flex-direction:column;justify-content:center;align-items:center;"]),_=(0,h.ZP)(s.Z).withConfig({componentId:"sc-34e0052e-10"})(["margin-left:auto;margin-right:auto;max-width:100%;height:auto;width:100%;"]);var R=t(5947);let q=h.ZP.div.withConfig({componentId:"sc-4c47e0b0-0"})(["display:flex;flex-direction:column;background:white;border-radius:.375rem;padding:.9375rem .75rem;min-height:15.1875rem;"]),z=h.ZP.div.withConfig({componentId:"sc-4c47e0b0-1"})(["height:7.5625rem;border-radius:.1875rem;position:relative;"]),N=(0,h.ZP)(s.Z).withConfig({componentId:"sc-4c47e0b0-2"})(["width:100%;object-fit:contain;"]),A=h.ZP.div.withConfig({componentId:"sc-4c47e0b0-3"})(["width:100%;text-align:left;@media (min-width:","){margin-top:.4rem;}"],e=>e.theme.breakPoints.md);h.ZP.div.withConfig({componentId:"sc-4c47e0b0-4"})(["position:relative;top:-1rem;"]);let D=h.ZP.p.withConfig({componentId:"sc-4c47e0b0-5"})(["font-weight:bold;text-align:left;font-size:1.25rem;margin-top:.9rem;color:",";"],b.O.grey[800]),S=h.ZP.div.withConfig({componentId:"sc-4c47e0b0-6"})(["position:relative;top:-.5rem;color:white;background:",";border-radius:.1875rem;display:inline;padding:.2rem .4rem;font-weight:bold;font-size:.8rem;& + ","{margin-top:0;}"],e=>e.theme.colors.primary,D);(0,h.ZP)(R.Z).withConfig({componentId:"sc-4c47e0b0-7"})(["position:absolute;top:0;right:0;"]);let E=h.ZP.div.withConfig({componentId:"sc-4c47e0b0-8"})(["margin:.6rem 0 0;line-height:.8rem;text-align:left;font-size:.8rem;font-weight:500;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;"]);var L=t(8625);let O=e=>{let{countryLanguageCode:i,countryAlphaCode:t,currencyCode:n,name:o,image:a,regularPrice:d,price:l,currency:s,className:g,imagePriority:u}=e,{t:h}=(0,c.$G)(),p=d>l&&d>0&&(0,L.LS)(l,d),b=(e,r)=>{if(e)return n?new Intl.NumberFormat("".concat(i,"-").concat(t),{style:"currency",currency:n,minimumFractionDigits:0,maximumFractionDigits:r}).format(e):s+l};return(0,r.jsxs)(q,{className:g,children:[(0,r.jsx)(z,{children:(0,r.jsx)(N,{alt:o,fill:!0,placeholder:"data:image/svg+xml;base64,".concat((0,m.s)((0,m.f)(200,250))),loading:u?"eager":"lazy",priority:u,image:a})}),(0,r.jsxs)(A,{children:[p&&(0,r.jsx)(S,{children:"".concat(b(p,2),"  ").
1concat(h("own_brochure_off"))}),(0,r.jsx)(D,{children:b(l,"AR"===t?0:2)}),(0,r.jsx)(E,{children:o})]})]})};O.propTypes={countryLanguageCode:l().string.isRequired,countryAlphaCode:l().string.isRequired,currencyCode:l().string.isRequired,name:l().string.isRequired,image:l().string.isRequired,regularPrice:l().number,price:l().number.isRequired,currency:l().string.isRequired,className:l().string,imagePriority:l().bool.isRequired},O.defaultProps={};let F=a()(()=>t.e(8745).then(t.bind(t,8745)),{loadableGenerated:{webpack:()=>[8745]},ssr:!1}),U=e=>{let{backgroundImage:i,currentPage:t,coverIndex:o,products:a,brochure:d,store:l,site:g,cover:h,publitasNextBrochure:p}=e,{name:b,logo:f,slug:R,slugNextBrochure:q}=l,{from:z,to:N,numPages:A,title:D,subTitle:S,slug:E}=d,{alternativeText:L,url:U}=h,{country_language_code:$,country_alpha_code:G,currency_code:M}=g,{t:B}=(0,c.$G)("common",{keyPrefix:"ownBrochurePage"}),T=(0,n.useMemo)(()=>{var e,i;return null===(i=a[0])||void 0===i?void 0:null===(e=i.brochure_product)||void 0===e?void 0:e.product_category},[a]),J=(0,n.useMemo)(()=>({validUntil:N,validFrom:z,products:a,storeName:b}),[z,N,a,b]);return U?(0,r.jsx)(()=>(0,r.jsxs)(I,{children:[(0,r.jsx)(_,{image:U,alt:L,width:850,height:1050,placeholder:"data:image/svg+xml;base64,".concat((0,m.s)((0,m.f)(850,1050))),sizes:"(max-width: 480px) 64vw, 75vw",priority:!0,loading:"eager"}),(0,r.jsx)(w,{url:E,absolute:!0,numPages:A,currentPage:t,customizedNextPage:q,storeUrl:R,productsCount:a.length})]}),{}):(0,r.jsxs)(x,{children:[(0,r.jsx)(u,{brochureData:J}),(0,r.jsxs)(y,{children:[(0,r.jsx)(v,{children:(0,r.jsx)(s.Z,{fill:!0,alt:b,image:f.url,loading:"eager"})}),(0,r.jsxs)(P,{children:[(0,r.jsx)(j,{hasSubtitle:S,children:D}),T&&(0,r.jsx)(k,{children:T})]})]}),(0,r.jsx)(()=>o?(0,r.jsx)(F,{store:l,products:a,brochure:d,categories:o,currentPage:t,backgroundImage:i}):(0,r.jsxs)(C,{$backgroundImage:i,children:[a.map((e,i)=>(0,r.jsx)(n.Fragment,{children:(0,r.jsx)(O,{image:e.image.url,name:e.name,regularPrice:e.brochure_product.regular_price,price:e.brochure_product.price,currency:e.brochure_product.currency,currencyCode:M,countryLanguageCode:$,countryAlphaCode:G,imagePriority:i<6})},e.id)),(0,r.jsx)(w,{url:E,numPages:A,storeUrl:R,currentPage:t,productsCount:a.length,customizedNextPage:q,publitasNextBrochure:p})]}),{}),(0,r.jsx)(Z,{children:B("brochure_disclaimer")})]})};U.propTypes={brochure:l().object.isRequired,store:l().object.isRequired,site:l().object.isRequired,products:l().array.isRequired,cover:l().object,currentPage:l().number,backgroundImage:l().object.isRequired},U.defaultProps={};var $=U},3327:function(e,i,t){var r=t(5893),n=t(4677),o=t(9008),a=t.n(o);i.Z=e=>{let{products:i}=e,{site:{country_alpha_code:t,country_language_code:o,currency_code:c}}=(0,n.b)(),d=i.map(e=>{let{name:i,imageUrl:r,categoryName:n,url:a,price:d,storeName:l,validFrom:s,validUntil:m}=e,g=new Date(m).toLocaleDateString("".concat(o,"-").concat(t));return{"@context":"https://schema.org/","@type":"Product",name:i,image:r,category:n,offers:{"@type":"Offer",url:a,priceCurrency:c,price:d,seller:l,priceValidUntil:g,availabilityStarts:new Date(s).toLocaleDateString("".concat(o,"-").concat(t)),availabilityEnds:g,availability:"https://schema.org/LimitedAvailability",itemCondition:"https://schema.org/NewCondition"}}});return(0,r.jsx)(a(),{children:(0,r.jsx)("script",{type:"application/ld+json",children:JSON.stringify(d)})})}}}]);

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.