PageSourceSearch

https://butterwellness.com/_next/static/chunks/276.4d6481592b571ca2.js

js butterwellness.com collected 2026-10-05 02:39:12 UTC 6,705 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[276],{57276:function(e,r,l){l.r(r);var t=l(85893),s=l(67294),a=l(57598);l(32798),l(68156),l(87676),l(80681),l(52283);var n=l(7870),i=l(94184),d=l.n(i),c=l(71030),o=l(88863),u=l.n(o),x=l(55384),h=l(49185);let m=e=>{let{title:r,description:l,drawers:i=[]}=e,o=(0,s.useRef)(),m=(0,n.default)(o),[p,b]=(0,s.useState)(i[0]._key),f=(null==i?void 0:i.length)&&(0,t.jsx)("div",{className:"mx-auto 1000:max-w-1000 1000:mt-80 mt-32 border-b-2 border-solid border-blue ",children:i.map(e=>{let{_key:r,title:l,description:s,image:n}=e;return(0,t.jsxs)(a.Z,{open:r===p,renderTrigger:e=>{let{onClick:s,isOpen:a}=e;return(0,t.jsxs)("button",{className:"border-l-0 border-r-0 border-b-0 border-t-2 border-solid border-black relative text-left block w-full flex items-center 1000:py-20 py-10",onClick:()=>b(r===p?null:r),children:[(0,t.jsx)("span",{className:"1000:font-heavy font-sans 1000:text-22 text-18 leading-28 1000:w-auto w-[80%]",children:l}),(0,t.jsx)(h.Z,{className:d()(" absolute 1000:right-20 right-0 1000:top-1/2 top-20 -translate-y-1/2 origin-center h-14 w-14 1000:h-13 1000:w-13 transition-transform duration-400",{"-rotate-[225deg]":a})})]})},children:[n&&(0,t.jsx)("div",{className:"mt-20",children:(0,t.jsx)("div",{style:{backgroundImage:"url(".concat(n.lqip,")")},className:"background bg-cream",children:(0,t.jsxs)("picture",{children:[(0,t.jsx)("source",{srcSet:(0,c.default)(n.url,{w:1600}),media:"(min-width: 1200px)"}),(0,t.jsx)("source",{srcSet:(0,c.default)(n.url,{w:1200}),media:"(min-width: 1000px)"}),(0,t.jsx)("source",{srcSet:(0,c.default)(n.url,{w:800}),media:"(min-width: 600px)"}),(0,t.jsx)("img",{className:"block w-full h-full object-cover",alt:l,src:(0,c.default)(n.url,{w:600})})]})},r)}),(0,t.jsx)("div",{className:"pt-20 1000:pb-60 pb-40 font-regular text-left 1000:leading-24 1000:text-16 text-14 leading-22",children:(0,t.jsx)(u(),{blocks:s,serializers:x.Z})})]},r)})});return(0,t.jsx)("section",{className:"bg-cream col-span-1 flex justify-center text-center text-blue 1000:pt-73 1000:pb-104 py-40 px-15",children:(0,t.jsxs)("div",{ref:o,className:d()("bg-cream w-full transition-opacity duration-1000",{"opacity-0":!m,"opacity-100":m}),children:[(0,t.jsx)("div",{className:"font-title 1000:text-52 text-40 leading-48",children:r}),(0,t.jsx)("div",{className:"mt-10 font-sans 1000:text-22 text-18 leading-28 1000:px-290",children:(0,t.jsx)(u(),{blocks:l,serializers:x.Z})}),f]})})};r.default=m},68156:function(e,r,l){var t=l(85893),s=l(67294),a=l(32798),n=l(94184),i=l.n(n),d=l(52283),c=l(71030),o=l(82730);l(41595);let u=e=>{let{slides:r,title:l,size:n,productRating:u,cents:x}=e,[h,m]=(0,s.useState)(0),[p,b]=(0,s.useState)(!1),[f,j]=(0,o.E)({loop:!0,slides:{perView:1},initial:0,slideChanged(e){m(e.track.details.rel)},created(){b(!0)}});return(0,t.jsxs)("div",{className:"border-2 border-solid border-blue rounded-[3em] overflow-hidden relative z-0",children:[(0,t.jsx)("div",{ref:f,className:"keen-slider",children:null==r?void 0:r.map((e,r)=>{let{_key:s,...a}=e;return(0,t.jsx)("div",{style:{backgroundImage:"url(".concat(a.lqip,")")},onClick:()=>{var e;null===(e=j.current)||void 0===e||e.moveToIdx(r+1)},className:"background bg-cream 1000:max-h-800 max-h-500 keen-slider__slide ",children:(0,t.jsxs)("picture",{children:[(0,t.jsx)("source",{srcSet:(0,c.default)(a.url,{w:2e3}),media:"(min-width: 1000px)"}),(0,t.jsx)("source",{srcSet:(0,c.default)(a.url,{w:800}),media:"(min-width: 600px)"}),(0,t.jsx)("img",{className:"block h-full w-full object-cover",alt:l,src:(0,c.default)(a.url,{w:600})})]})},s)})}),(0,t.jsxs)("div",{className:"hidden flex justify-between px-20 pt-10 pb-20",children:[u&&(0,t.jsx)(a.Z,{...u,pdp:!0}),x&&(0,t.jsx)("p",{children:(0,d.Z)(x)})]}),p&&j.current&&(null==r?void 0:r.length)>0&&(0,t.jsx)("div",{className:" hidden 1000:block absolute bottom-21 flex items-center justify-center left-1/2 -translate-x-1/2",children:[...Array(null==r?void 0:r.length).keys()].map(e=>(0,t.jsx)("button",{onClick:()=>{var r;null===(r=j.current)||void 0===r||r.moveToIdx(e)},className:"mx-5 p-5",children:(0,t.jsx)("div",{className:i()("rounded-full h-10 w-10 transition-opacity duration-400",{"bg-blue":h===e,"border-2 border-blue border-solid":h!==e})})},e))})]})};r.Z=u},32798:function(e,r,l){l.d(r,{Z:function(){return o}});var t=l(85893),s=l(67294),a=e=>(0,t.jsx)("svg",{...e,width:"23",height:"22",viewBox:"0 0 23 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{d:"M11.5 2.33093L13.6064 8.8137L13.7186 9.15919H14.0819H20.8983L15.3837 13.1658L15.0898 13.3793L15.2021 13.7248L17.3085 20.2076L11.7939 16.201L11.5 15.9875L11.2061 16.201L5.69153 20.2076L7.79791 13.7248L7.91017 13.3793L7.61627 13.1658L2.10169 9.15919H8.91809H9.28136L9.39362 8.8137L11.5 2.33093Z",stroke:"currentColor"})}),n=e=>(0,t.jsx)("svg",{...e,width:"23",height:"22",viewBox:"0 0 23 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{d:"M11.5 0.712891L14.0819 8.65919H22.4371L15.6776 13.5703L18.2595 21.5166L11.5 16.6055L4.74047 21.5166L7.32238 13.5703L0.56285 8.65919H8.91809L11.5 0.712891Z",fill:"currentColor"})}),i=l(94184),d=l.n(i);let c=e=>{let{rating_average:r,rating_count:l,rating:i,pdp:c,mobile:o}=e;if(!r)return(0,t.jsx)(s.Fragment,{});let u=[...Array(Math.round(r))].map((e,r)=>(0,t.jsx)(n,{className:d()("1000:h-20 1000:w-20 h-14 w-14",{"1000:h-24 1000:w-24":c})},"rating-star_".concat(r))),x=[...Array(5-Math.round(r))].map((e,r)=>(0,t.jsx)(a,{className:d()("1000:h-20 1000:w-20 h-14 w-14",{"1000:h-24 1000:w-24":c})},"empty-star_".concat(r))),h=c&&(0,t.jsxs)("span",{className:"text-blue text-22 leading-28 1000:mt-10 1000:block",children:[l," Reviews"]}),m=o&&(0,t.jsx)("span",{className:"text-16 leading-24",children:"".concat(r,".0")});return(0,t.jsxs)("div",{className:"flex 1000:flex-col gap-10 items-center w-max",children:[(0,t.jsxs)("div",{className:"flex items-center gap-10",children:[(0,t.jsxs)("div",{className:"flex",children:[u,x]}),m]}),h]})};var o=c},55384:function(e,r,l){l.d(r,{Z:function(){return i}});var t=l(85893);l(67294);var s=l(88863),a=l(9295);let n=e=>"/"===e.mark.href[0]?(0,t.jsx)(a.Z,{title:e.mark.title,target:e.mark.openInNewWindow?"_blank":null,url:e.mark.href,children:e.children}):(0,t.jsx)("a",{title:e.mark.title,target:e.mark.openInNewWindow?"_blank":null,href:e.mark.href,children:e.children});var i={types:{block:e=>{let{style:r="normal"}
1=e.node;return"h1"===r?(0,t.jsx)("h2",{children:e.children}):"h2"===r?(0,t.jsx)("h3",{children:e.children}):"h3"===r?(0,t.jsx)("h4",{children:e.children}):"monospace"===r?(0,t.jsx)("p",{children:e.children}):s.defaultSerializers.types.block(e)}},marks:{link:n}}}}]);

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.