PageSourceSearch

https://2.bonami.cz/_next/static/chunks/26896-6eaf67590aa842c3.js

js bonami.cz collected 2026-10-01 10:27:44 UTC 14,914 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[26896],{56633:function(e,n,o){"use strict";o.d(n,{S:function(){return r}});var a=o(74150);const r=(e,n,o,r)=>{(0,a.w)({event:"ec.promoClick",eventAction:"promoClick",ecommerce:{promoClick:{promotions:[{id:e,name:n,position:o,creative:r}]}}})}},20637:function(e,n,o){"use strict";o.d(n,{s:function(){return r}});var a=o(74150);const r=e=>{(0,a.w)({event:"ec.promoView",eventAction:"promoView",ecommerce:{promoView:{promotions:[e]}}})}},23112:function(e,n,o){"use strict";function a(e){return{type:"generic",category:"UX - Shop the look",action:e.source,label:"Add to wishlist",nonInteraction:!1,json:{dimension01:e.productUrl,dimension03:e.analyticsLabel,dimension04:e.isFromRelatedContent?"related":"main",dimension05:e.shopTheLookId},callback:()=>{"undefined"!==typeof dataLayer&&dataLayer.push({event:"gtmWebEventDataReset",gtmWebEventData:void 0})}}}o.d(n,{G:function(){return a}})},56258:function(e,n,o){"use strict";function a(e){return{type:"generic",category:"UX - Shop the look",action:e.source,label:"Click to product detail",nonInteraction:!1,json:{dimension01:e.productUrl,dimension02:e.element,dimension03:e.analyticsLabel,dimension04:e.isFromRelatedContent?"related":"main",dimension05:e.shopTheLookId},callback:()=>{"undefined"!==typeof dataLayer&&dataLayer.push({event:"gtmWebEventDataReset",gtmWebEventData:void 0})}}}o.d(n,{t:function(){return a}})},73490:function(e,n,o){"use strict";function a(e){return{type:"generic",category:"UX - Shop the look",action:e.source,label:"Pin hover",nonInteraction:!0,json:{dimension01:e.productUrl,dimension02:e.element,dimension03:e.analyticsLabel,dimension04:e.isFromRelatedContent?"related":"main",dimension05:e.shopTheLookId},callback:()=>{"undefined"!==typeof dataLayer&&dataLayer.push({event:"gtmWebEventDataReset",gtmWebEventData:void 0})}}}o.d(n,{x:function(){return a}})},98846:function(e,n,o){"use strict";o.d(n,{Yw:function(){return r},lK:function(){return i}});var a=o(27990);const r=e=>{var n;const o=null===(n=(0,a.t)(e))||void 0===n?void 0:n.payload;return!!o&&-1!==o.scopes.indexOf("token.isAdmin")},i=e=>-1!==e.payload.scopes.indexOf("token.isAdmin")},86830:function(e,n,o){"use strict";o.d(n,{GS:function(){return l},_h:function(){return i},fi:function(){return c},g8:function(){return s},p4:function(){return t}});var a=o(86080);const r="bonami-picked-products";function i(e){return n=>{const o=window.localStorage.getItem(r),a={...null!==o?JSON.parse(o):{},[e]:!0};window.localStorage.setItem(r,JSON.stringify(a)),n(t())}}function t(){return e=>{const n=window.localStorage.getItem(r),o=null!==n?JSON.parse(n):{};return e((i=o,{type:a.zQ,payload:{productIdsMap:i}}));var i}}function l(){return e=>(window.localStorage.removeItem(r),e(t()))}function s(e){return n=>{const o=window.localStorage.getItem(r),a=null!==o?JSON.parse(o):{};return a[e.toString()]&&(delete a[e.toString()],window.localStorage.setItem(r,JSON.stringify(a))),n(t())}}function c(e){return{type:a.bS,payload:e}}},4857:function(e,n,o){"use strict";o.d(n,{E:function(){return a}});const a=e=>e.url?{label:e.label?e.label:message("more"),url:e.url}:null},81802:function(e,n,o){"use strict";o.d(n,{I:function(){return h}});var a=o(85893),r=(o(67294),o(5820)),i=o(56633),t=o(20637),l=o(73738),s=o(4857),c=o(38047),d=o(16617),u=o(86966),p=o(26696),m=o.n(p);const h=e=>{const n=e.smallBanners&&e.smallBanners.length>=2?"carousel"===e.design?e.smallBanners:e.smallBanners.slice(0,3):[];if(!e.smallBanners||e.smallBanners.length<2)return(0,a.jsx)(a.Fragment,{});const o=n.map((n=>(0,a.jsx)("div",{className:"carousel"===e.design?m().carouselItem:m().rowItem,children:(0,a.jsx)(u.e,{...n,domain:e.domain,variant:"horizontal",onCardClick:o=>((n,o)=>{var a,t;(0,i.S)(o.id,null!==(t=null!==(a=o.heading)&&void 0!==a?a:e.wrapper.heading)&&void 0!==t?t:"","SmallBanner",o.url),(0,l.u)(o.url,(0,r.A)(n))})(o,n),onShown:()=>(n=>{var o,a;(0,t.s)({id:n.id,name:null!==(a=null!==(o=n.heading)&&void 0!==o?o:e.wrapper.heading)&&void 0!==a?a:"",position:"SmallBanner",creative:n.url})})(n)})},n.id)));return"carousel"===e.design&&e.smallBanners.length>3?(0,a.jsx)(d.x,{title:e.wrapper.heading,headerButton:(0,s.E)(e.wrapper),itemsPerPage:3,wrapperBgColor:e.wrapper.backgroundColor,wrapperTextColor:e.wrapper.textColor,id:e.analyticsName,children:o}):(0,a.jsx)(c.q,{heading:e.wrapper.heading,link:(0,s.E)(e.wrapper),wrapperBgColor:e.wrapper.backgroundColor,wrapperTextColor:e.wrapper.textColor,id:e.analyticsName,children:(0,a.jsx)("div",{className:m().rowWrapper,children:o})})}},23240:function(e,n,o){"use strict";o.d(n,{H:function(){return l}});var a=o(85893),r=(o(67294),o(50423)),i=o(43297),t=o.n(i);const l=e=>(0,a.jsxs)("div",{className:t().linksWrapper,children:[(0,a.jsx)(r.X,{level:3,size:4,color:"white"===e.titleColor?"white":"mineshaft",spacingBottom:[24],spacingTop:[16,32,32,0],spacingLeft:[16,32,32,0],children:e.title}),(0,a.jsx)("div",{className:t().linkItems,children:e.links.map(((e,n)=>(0,a.jsx)("a",{href:e.url,className:t().link,children:e.label},n)))})]})},61138:function(e,n,o){"use strict";o.d(n,{k:function(){return s}});var a=o(85893),r=(o(67294),o(28009)),i=o(38210),t=o(43287),l=o.n(t);const s=e=>{const n=Math.min(Math.max(e.ratio,1),100);return(0,a.jsx)("span",{className:(0,r.A)(l().progressBar,(0,i.hz)(e)),children:(0,a.jsx)("span",{className:(0,r.A)(l().progress,e.progressColor?l()[e.progressColor]:l().emerald),style:{width:n+"%",transition:"width 0.3s ease"}})})}},23917:function(e,n,o){"use strict";o.d(n,{R:function(){return t}});var a=o(85893),r=(o(67294),o(80268)),i=o(39182);const t=e=>(0,a.jsx)("a",{href:"#".concat(e.targetId),className:e.className,onClick:(0,r.K)((()=>{(0,i.E6)(e.targetId,{...e.smooth&&{smooth:e.smooth},...e.offset&&{offset:e.offset},...e.duration&&{duration:e.duration}}),e.trackEventHandler&&e.trackEventHandler()})),children:e.children})},65216:function(e,n,o){"use strict";o.d(n,{Y:function(){return l}});var a=o(85893),r=(o(67294),o(38047)),i=o(39737),t=o(61063);const l=e=>{var n;return(0,a.jsx)(r.q,{heading:null!==(n=e.heading)&&void 0!==n?n:void 0,onButtonClick:e.onMoreShopTheLookClick,id:e.id,children:e.shopImage?(0,a.jsx)(t.G,{shopTheLook:e.shopImage,lazy:e.lazy,showWishlistButton:!0,onAddToLoveSuccessfullCallback:e.onAddToLoveSuccessfullCallback,onTooltipShown:e.onTooltipShown,onProductDetailEnter:e.onProductDetailEnter}):(0,a.jsx)(i.$,{})})}},86966:function(e,n,o){"use strict";o.d(n,{e:function(){return p}});var a=o(85893),r=o(67294),i=o(28009),t=o(17009),l=o(58955),s=o(50423);const c={"8b8b8b":"grey","2b2b2b":"mineshaft",ffffff:"white","0da876":"emerald",e0e0e0:"alto"};var d=o(52028),u=o.n(d);const p=e=>{const n=(0,r.useRef)(null);(0,r.useEffect)((()=>
1{if(!e.onShown||!n.current)return;const o=new IntersectionObserver((n=>{let[a]=n;var r;a.isIntersecting&&(null===(r=e.onShown)||void 0===r||r.call(e),o.disconnect())}),{threshold:.7});return o.observe(n.current),()=>o.disconnect()}),[]);const o="vertical"===e.variant&&null!==e.portraitImageHash?e.portraitImageHash:"horizontal"===e.variant&&null!==e.landscapeImageHash?e.landscapeImageHash:null,d="bigBanner1"===e.bigBannerLayoutArea,p="ffffff"===e.headingColor;var m;return(0,a.jsxs)("a",{ref:n,href:e.url,onClick:n=>{e.onCardClick&&(n.preventDefault(),e.onCardClick(n))},className:(0,i.A)(u().smallBanner,u()[e.variant],!!e.bigBannerLayoutArea&&u().bigBanner,e.bigBannerLayoutArea&&u()[e.bigBannerLayoutArea],void 0!==e.onCardClick?u().clickable:void 0),children:[(0,a.jsxs)("div",{className:u().image,children:[o&&(0,a.jsx)("div",{className:u().imageWrapper,children:(0,a.jsx)(l.e,{domain:e.domain,alt:e.heading||void 0,imageHash:o,imageSources:{imagePrefix:"fit",sources:{xs:{sizes:"100vw",srcSet:{320:"320x320",600:"600x600"}},s:{sizes:"100vw",srcSet:{600:"600x600",800:"800x800",1e3:"1000x1000",1200:"1200x1200"}},m:{sizes:d?"66vw":"560px",srcSet:{600:"600x600",800:"800x800",1e3:"1000x1000",1200:"1200x1200"}},xl:{sizes:d?"66vw":"33vw",srcSet:{600:"600x600",800:"800x800",1e3:"1000x1000",1200:"1200x1200",1600:"2000x2000"}}}},lazy:!0})}),e.videoLink&&(0,a.jsx)("div",{className:u().videoWrapper,children:e.videoLink.includes("player.vimeo.com")?(0,a.jsx)("video",{className:u().videoElement,src:e.videoLink,autoPlay:!0,muted:!0,loop:!0,playsInline:!0,preload:"metadata"}):(0,a.jsx)("iframe",{className:u().videoFrame,src:"https://player.vimeo.com/video/".concat(e.videoLink,"?background=1"),loading:"lazy",frameBorder:"0",allow:"autoplay; fullscreen; picture-in-picture; clipboard-write; encrypted-media; web-share",referrerPolicy:"strict-origin-when-cross-origin"})}),p&&(0,a.jsx)("div",{className:u().textShadow,"aria-hidden":!0}),(0,a.jsxs)("div",{className:u().headingWrapper,children:[(0,a.jsxs)(s.X,{level:2,size:5,customColor:e.headingColor,className:u().heading,children:[(0,a.jsx)("span",{className:u().headingText,children:e.heading}),!!e.bigBannerLayoutArea&&(0,a.jsx)("span",{className:u().headingIcon,children:(0,a.jsx)(t.J,{color:null!==(m=c[e.headingColor])&&void 0!==m?m:"white",icon:"arrowRight"})})]}),!!e.bigBannerLayoutArea&&(0,a.jsx)("div",{children:(0,a.jsx)("span",{className:u().description,style:{color:e.headingColor?"#".concat(e.headingColor):void 0},children:e.description})})]})]}),(0,a.jsxs)("div",{className:u().descriptionWrapper,children:[(0,a.jsx)("span",{className:u().description,children:e.description}),"vertical"===e.variant&&(0,a.jsx)(t.J,{color:"mineshaft",icon:"arrowRight"})]})]})}},61063:function(e,n,o){"use strict";o.d(n,{G:function(){return b}});var a=o(85893),r=o(27990),i=o(67294),t=o(28009),l=o(73738),s=o(30262),c=o(71723),d=o(32736),u=o(61589),p=o(38933),m=o(65969),h=o(86802),g=o(67964),v=o(17009),_=o(58955),f=o(50423),k=o(64734),x=o(58883),w=o(92845),S=o(58280),B=o.n(S);const T=i.memo((e=>{const n=(0,h.P)(e.shopTheLook.id,e.shopTheLook.loved),o=(n,o,a)=>{e.onProductDetailEnter&&(n.preventDefault(),e.onProductDetailEnter(n,o,a))},r=[...e.shopTheLook.products].sort(((e,n)=>e.positionY-n.positionY)),i=[...e.shopTheLook.products].sort(((e,n)=>Number(n.available)-Number(e.available)));var c,u,p;return(0,a.jsxs)("div",{className:B().detail,children:[(0,a.jsxs)("div",{className:(0,t.A)(B().mainImage,(e=>{var n;return null!==(n={11:B().oneToOne,34:B().threeToFour,43:B().fourToThree,32:B().threeToTwo,23:B().twoToThree}["".concat(e.width).concat(e.height)])&&void 0!==n?n:""})(e.shopTheLook.ratio)),children:[(u=e.shopTheLook.imageHash,p=null!==(c=e.lazy)&&void 0!==c&&c,(0,a.jsx)(_.e,{domain:e.domain,fetchPriority:e.fetchPriority,imageHash:u,imageSources:{imagePrefix:"fit",sources:{xs:{sizes:"100vw",srcSet:{800:"800x800",1200:"1200x1200"}},m:{sizes:"50vw",srcSet:{800:"800x800",1200:"1200x1200"}},l:{sizes:"50vw",srcSet:{2e3:"2000x2000"}}}},lazy:p,alt:(0,m.x)(e.shopTheLook)})),e.showWishlistButton&&(0,a.jsx)(x.s,{overlay:!0,spacingTop:[8],loved:n.isLoved,onClick:e=>{e.preventDefault(),e.stopPropagation(),n.onWishlistClick()}}),r.map((n=>(0,a.jsx)(w.B,{domain:e.domain,lazy:e.lazy,product:n,isActive:n.id===e.activeProductId,onLeaveTooltip:e.onLeaveTooltip,onEnterTooltip:()=>e.onEnterTooltip(n.id,(0,s.zc)("productDetail",n.slug),"pin"),hideOnMobile:!1,onPinCl
1ick:e=>o(e,(0,s.zc)("productDetail",n.slug),"pin")},n.id))),(0,a.jsx)("div",{className:B().originalImageLink,onClick:n=>{n.stopPropagation();const o=(0,d.X)(e.domain,{prefix:"original",resolution:"4000x4000"},e.shopTheLook.imageHash,"jpeg");(0,l.u)(o,!0)},children:(0,a.jsx)(v.J,{icon:"externalLink",color:"mineshaft"})})]}),(0,a.jsx)("div",{className:B().originalImageLinkMobile,onClick:n=>{n.stopPropagation();const o=(0,d.X)(e.domain,{prefix:"original",resolution:"4000x4000"},e.shopTheLook.imageHash,"jpeg");(0,l.u)(o,!0)},children:(0,a.jsx)(v.J,{icon:"externalLink",color:"mineshaft",spacingTop:[24]})}),(0,a.jsxs)("div",{className:B().products,children:[e.shopTheLook.name&&(0,a.jsx)(f.X,{level:1,size:4,spacingBottom:[16,16,24],spacingTop:[32,32,0],children:e.shopTheLook.name}),i.map((n=>(n=>(0,a.jsx)("div",{onMouseEnter:()=>e.onEnterTooltip(n.id,(0,s.zc)("productDetail",n.slug),"card"),onMouseLeave:()=>e.onLeaveTooltip(),className:B().borderBottom,children:(0,a.jsx)(k.I,{lazy:e.lazy,domain:e.domain,onAddToLoveSuccessfullCallback:()=>e.onAddToLoveSuccessfullCallback((0,s.zc)("productDetail",n.slug)),...n,showOverlay:e.activeProductId===n.id,onProductDetailEnter:(e,a,r,i,t)=>o(t,(0,s.zc)("productDetail",n.slug),"card"),jwt:e.jwtPayload})},n.id))(n)))]})]})})),b=(0,p.M)((e=>{const[n,o]=(0,i.useState)(null),[a,t]=(0,i.useState)(null),l=(0,u.v)((e=>e.configuration.domain)),s=(0,u.v)((0,c.kI)(l));(0,i.useEffect)((()=>{(async()=>{const e=(0,g.j)(s);t((0,r.t)(await e("main")))})()}),[]);return{...e,domain:l,activeProductId:n,onEnterTooltip:(n,a,r)=>{o(n),e.onTooltipShown(a,r)},onLeaveTooltip:()=>{o(null)},onProductDetailEnter:e.onProductDetailEnter,jwtPayload:a}}),T)},26696:function(e){e.exports={rowWrapper:"SmallBannersBlock_rowWrapper__K9BCU",rowItem:"SmallBannersBlock_rowItem__M3QFY",carouselItem:"SmallBannersBlock_carouselItem__AHzwG"}},43297:function(e){e.exports={linksWrapper:"InternalLinks_linksWrapper__DUl15",linkItems:"InternalLinks_linkItems__xcnF6",link:"InternalLinks_link__UVHqr"}},43287:function(e){e.exports={progressBar:"ProgressBar_progressBar__csflu",progress:"ProgressBar_progress__Uh8Zy",sunglow:"ProgressBar_sunglow__1yflE",emerald:"ProgressBar_emerald__JtPhn"}},52028:function(e){e.exports={smallBanner:"SmallBannerCard_smallBanner__I6Bv9",videoWrapper:"SmallBannerCard_videoWrapper__vgYfT",videoFrame:"SmallBannerCard_videoFrame__6WunY",videoElement:"SmallBannerCard_videoElement__6QROs",image:"SmallBannerCard_image__5tljj",bigBanner1:"SmallBannerCard_bigBanner1__CT9uI",bigBanner2:"SmallBannerCard_bigBanner2__eN7np",bigBanner3:"SmallBannerCard_bigBanner3__hPM8n",imageWrapper:"SmallBannerCard_imageWrapper__6NjOO",headingWrapper:"SmallBannerCard_headingWrapper__kNJAF",textShadow:"SmallBannerCard_textShadow__EX0OC",bigBanner:"SmallBannerCard_bigBanner__AKE29",headingText:"SmallBannerCard_headingText__BmS3B",headingIcon:"SmallBannerCard_headingIcon__iDwSH",descriptionWrapper:"SmallBannerCard_descriptionWrapper__hcGBf",description:"SmallBannerCard_description__Zeibf",vertical:"SmallBannerCard_vertical__DeqpH",horizontal:"SmallBannerCard_horizontal__jUhB8",clickable:"SmallBannerCard_clickable__a8Hv9"}},58280:function(e){e.exports={detail:"ShopTheLookDetail_detail__py4Cf",mainImage:"ShopTheLookDetail_mainImage__DqjWj",oneToOne:"ShopTheLookDetail_oneToOne__1T52Y",threeToFour:"ShopTheLookDetail_threeToFour__IJYno",fourToThree:"ShopTheLookDetail_fourToThree__I5G80",twoToThree:"ShopTheLookDetail_twoToThree__3_07X",threeToTwo:"ShopTheLookDetail_threeToTwo__e_GH6",products:"ShopTheLookDetail_products__A1npD",borderBottom:"ShopTheLookDetail_borderBottom__QtJem",originalImageLink:"ShopTheLookDetail_originalImageLink__osbyS",originalImageLinkMobile:"ShopTheLookDetail_originalImageLinkMobile__JBVnm"}}}]);

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.