PageSourceSearch

https://www.birchbox.com/_next/static/chunks/1567.2a9c6b02f4774090.js

js birchbox.com collected 2026-10-02 02:48:46 UTC 6,794 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1567],{17152:(e,t,l)=>{l.d(t,{A:()=>r});var i=l(37876),n=l(14232),a=l(39895);let o=0,r={image:e=>{let{node:t}=e;o+=1;let l=t.linkTo?(0,a.A)(t.linkTo):null,r=t.linkTo&&t.linkTo.target?{target:t.linkTo.target,rel:"noopener"}:{},c=[t.label||"","block-img"],s=(null==t?void 0:t.alt)||"Article image ".concat(o),d=(0,i.jsx)("img",{src:(null==t?void 0:t.url)||"",alt:s,copyright:(null==t?void 0:t.copyright)||""}),m={className:c.join(" ")},u=l?(0,i.jsx)("a",{href:l,...r,children:d}):d;return(0,n.createElement)("p",m,u)},embed:e=>{let{node:t}=e,l={"data-oembed":t.oembed.embed_url,"data-oembed-type":t.oembed.type,"data-oembed-provider":t.oembed.provider_name,className:"video-embed",dangerouslySetInnerHTML:{__html:t.oembed.html}};return(0,n.createElement)("div",l)},hyperlink:e=>{let{node:t,children:l}=e,i=t.data.target?{target:t.data.target,rel:"noopener"}:{},o=(0,a.A)(t.data);return(0,n.createElement)("a",{target:i,href:o},l)},label:e=>{var t;let{node:l,children:i}=e;if((null==l||null==(t=l.data)?void 0:t.label)==="blockquote")return(0,n.createElement)("blockquote",{},i);let a=l.data.label?{className:l.data.label}:{className:""};return(0,n.createElement)("span",a,i)},heading1:e=>{let{children:t}=e;return(null==t?void 0:t.some(e=>"string"==typeof e?e.trim():e))?(0,n.createElement)("h1",{},t):null},heading2:e=>{let{children:t}=e;return(null==t?void 0:t.some(e=>"string"==typeof e?e.trim():e))?(0,n.createElement)("h2",{},t):null},heading3:e=>{let{children:t}=e;return(null==t?void 0:t.some(e=>"string"==typeof e?e.trim():e))?(0,n.createElement)("h3",{},t):null},heading4:e=>{let{children:t}=e;return(null==t?void 0:t.some(e=>"string"==typeof e?e.trim():e))?(0,n.createElement)("h4",{},t):null},heading5:e=>{let{children:t}=e;return(null==t?void 0:t.some(e=>"string"==typeof e?e.trim():e))?(0,n.createElement)("h5",{},t):null},heading6:e=>{let{children:t}=e;return(null==t?void 0:t.some(e=>"string"==typeof e?e.trim():e))?(0,n.createElement)("h6",{},t):null}}},30574:(e,t,l)=>{l.d(t,{A:()=>r});var i=l(37876),n=l(46462),a=l(39895),o=l(17152);let r=function(e){let{content:t}=e;return(0,i.jsx)(n.$,{field:t,linkResolver:a.A,components:o.A})}},81567:(e,t,l)=>{l.r(t),l.d(t,{default:()=>m});var i=l(37876),n=l(54587),a=l.n(n),o=l(14232),r=l(75531);let c=function(e,t){var l=(0,o.useState)(void 0!==t?t:!!r.Bd&&window.matchMedia(e).matches),i=l[0],n=l[1];return(0,o.useEffect)(function(){var t=!0,l=window.matchMedia(e),i=function(){t&&n(!!l.matches)};return l.addEventListener("change",i),n(l.matches),function(){t=!1,l.removeEventListener("change",i)}},[e]),i};var s=l(51232),d=l(30574);function m(e){var t,l,n,o,r,m,u,g,x,h,p,f,b,v;let{slice:_,index:y}=e,{primary:j}=_,k=0===y;c("( min-width: 1024px )",!1);let w="Middle"===j.content_placement,N="Fit between Content"===j.mobile_image_position,E="md:justify-start";w?E="md:justify-center":"box_right"===_.slice_label&&(E="md:justify-end");let A="justify-between";return w?A="justify-center":N&&(A="justify-start"),(0,i.jsxs)("section",{className:"gallery-box section justify-center md:!h-auto md:!min-h-0 !p-0 !max-h-none md:py-16 lg:py-24 !aspect-auto md:!aspect-[13/6] flex-1 min-h-0 !w-full",children:[(0,i.jsx)("div",{className:"gallery-box-container container ".concat(E," items-center ").concat(w?"md:items-center":"md:items-start"," h-full md:h-auto mb-0"),children:(0,i.jsxs)("div",{className:"flex flex-col ".concat(A," w-full h-full px-6 pt-[88px] pb-[30px] md:p-12 xl:p-16 md:min-
1h-full md:h-auto ").concat(w?"md:justify-center":"md:justify-start"," safe-top safe-bottom relative z-10 ").concat(j.offset_background_image?"max-w-[650px] xl:max-w-[750px]":"max-w-[480px]"),children:[(0,i.jsxs)("header",{className:"".concat(w?"text-center":"text-center md:text-left"," pt-safe-top md:pt-0 md:mt-0 min-h-0 relative z-20 flex-shrink-0"),children:[(null==(t=j.section_kicker)?void 0:t.length)>0&&(0,i.jsx)("div",{className:"mb-2 uppercase tracking-wider text-sm md:text-sm leading-[1.1] [&_a]:underline [&_strong]:font-semibold [&_em]:italic",style:{textShadow:"0 1px 2px rgba(255,255,255,0.9), 0 0 8px rgba(255,255,255,0.5)"},children:(0,i.jsx)(d.A,{content:j.section_kicker})}),(null==(l=j.section_title)?void 0:l[0])&&(0,i.jsx)("h1",{className:"text-4xl lg:text-6xl title mb-3",style:{textShadow:"0 1px 3px rgba(255,255,255,0.9), 0 0 12px rgba(255,255,255,0.6)"},children:j.section_title[0].text}),(null==(n=j.section_description)?void 0:n[0])&&(0,i.jsx)("h2",{className:"md:block mt-2 tracking-wider text-xl leading-[1.1]",style:{textShadow:"0 1px 2px rgba(255,255,255,0.9), 0 0 8px rgba(255,255,255,0.5)"},children:j.section_description[0].text})]}),N&&((null==(o=j.section_image_mobile)?void 0:o.url)||(null==(r=j.section_image)?void 0:r.url))&&(0,i.jsx)("div",{className:"flex justify-center items-center -my-4 lg:hidden flex-grow w-full mx-auto relative z-10 min-h-0",children:(0,i.jsx)("div",{className:"relative w-full h-full max-w-full",children:(0,i.jsx)(a(),{layout:"fill",objectFit:"contain",src:(null==(m=j.section_image_mobile)?void 0:m.url)||j.section_image.url,alt:(null==(u=j.section_image_mobile)?void 0:u.alt)||j.section_image.alt||(null==(g=j.section_image.desktop)?void 0:g.alt)||"Hero image",priority:k})})}),(null==j?void 0:j.section_cta)&&(0,i.jsx)("div",{className:"flex justify-center ".concat(w?"md:justify-center":"md:justify-start"," pb-6 md:pb-0 md:mt-8 min-h-0 flex-shrink-0 w-full md:w-auto relative z-20"),children:(0,i.jsx)(s.A,{link:j.section_cta,label:j.section_cta_label,className:"button button-".concat((null==j?void 0:j.section_cta_color)||"primary"," py-3 px-6 text-lg md:py-4 md:px-8 md:text-lg xl:py-5 xl:px-10 xl:text-xl w-full md:w-auto")})})]})}),(0,i.jsxs)("div",{className:"".concat(j.background_color?"":"bg-gray-200"," absolute inset-0 ").concat((null==j?void 0:j.offset_background_image)&&"box_right"===_.slice_label?"lg:right-[15%]":j.offset_background_image?"lg:left-[15%]":""),style:j.background_color?{backgroundColor:j.background_color}:void 0,children:[(null==(h=j.section_image)||null==(x=h.desktop)?void 0:x.url)&&(0,i.jsx)("div",{className:"relative w-full h-full max-lg:hidden",children:(0,i.jsx)(a(),{layout:"fill",objectFit:"cover",src:j.section_image.desktop.url,alt:j.section_image.desktop.alt||"Hero background image",priority:k})}),(null==(p=j.section_image)?void 0:p.url)&&!N&&(0,i.jsx)("div",{className:"relative w-full h-full lg:hidden",children:(0,i.jsx)(a(),{layout:"fill",objectFit:"cover",src:(null==(f=j.section_image_mobile)?void 0:f.url)||j.section_image.url,alt:(null==(b=j.section_image_mobile)?void 0:b.alt)||j.section_image.alt||(null==(v=j.section_image.desktop)?void 0:v.alt)||"Hero background image",priority:k})})]})]})}}}]);
2//# sourceMappingURL=1567.2a9c6b02f4774090.js.map

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.