"use strict";(self.webpackChunkui=self.webpackChunkui||[]).push([[6],{310:(e,t,s)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.useHolidaysInCookie=void 0;const a=s(2);t.useHolidaysInCookie=({peppermintMocha:e,gingerbreadCookie:t,peppermintMochaSearchParams:s,gingerbreadCookieSearchParams:i,cherryChocolateWaffleCone:r,cherryChocolateWaffleConeSearchParams:n})=>((0,a.useEffect)((()=>{(()=>{if("undefined"==typeof document)return;const e=new Date;e.setTime(e.getTime()+6048e5),s&&(document.cookie="peppermintMocha=enabled; expires="+e.toUTCString()),i&&(document.cookie="gingerbreadCookie=enabled; expires="+e.toUTCString()),n&&(document.cookie="cherryChocolateWaffleCone=enabled; expires="+e.toUTCString())})()}),[]),{peppermintMochaEnabled:s||e,gingerbreadCookieEnabled:i||t,cherryChocolateWaffleConeEnabled:n||r})},130:function(e,t,s){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CartItem=void 0;const i=s(0),r=s(6),n=s(393),l=a(s(298)),o=s(394),c=s(16),d=s(2),{productItem:u,itemImage:m,itemDetails:p,itemTitle:h,itemSubtitle:v,itemPriceContainer:f,itemPrice:x,itemOriginalPriceContainer:g,itemOriginalPrice:j,itemOriginalPriceSale:_,itemDelivery:C,trashIcon:b,quantityControls:y,noArrows:N,disabled:w,itemFlavor:$,loadBar:S}=l.default,k=async({updateCart:e,ids:t,item:s,quantity:a,operationType:i,changeToCart:r})=>{if(Array.isArray(t))await(async({updateCart:e,ids:t,item:s,quantity:a,operationType:i})=>{const r=t.reduce(((e,t)=>{const s=t.toString();return e[s]=(e[s]||0)+1,e}),{}),n={};s.bundleItems.map((e=>{const t=r[e.key];let s=a*t;switch(i){case"increment":s+=t;break;case"decrement":s-=t;break;case"remove":s=0}n[e.key]={final_price:e.price,image:e.image,price:e.price,product_title:e.product_title,url:e.url,variant_id:e.variant_id,variant_title:e.variant_title,vendor:e.vendor,quantity:s}})),await e(n)})({updateCart:e,ids:t,item:s,quantity:a,operationType:i});else{let e=a;switch(i){case"change":e=a;break;case"decrement":e=a-1;break;case"increment":e=a+1;break;case"remove":e=0}await r({id:t.toString(),quantity:e})}};t.CartItem=({item:e,useSharedState:t,inputLoading:s,setInputLoading:a})=>{const{changeToCart:l,updateCart:S}=t,M=(0,d.useMemo)((()=>isNaN(e.price)?" - ":e.price?(e.price/100).toFixed(2):"0.00"),[e.price,false]),I=(0,d.useMemo)((()=>isNaN(e?.properties?._compare_at_price)?"":e.properties?._compare_at_price?(e?.properties?._compare_at_price/100).toFixed(2):""),[e.properties?._compare_at_price,false]),P=((t,s)=>{let i;return(...t)=>{i&&clearTimeout(i),i=window.setTimeout((()=>{(async t=>{a(!0);try{k({ids:t,quantity:0,item:e,operationType:"remove",changeToCart:l,updateCart:S})}catch(e){console.error("Error remove item from cart:",e)}finally{a(!1)}})(...t)}),1e3)}})();return(0,i.jsxs)("div",{className:`productItem ${u}`,children:[(0,i.jsx)("a",{href:(0,c.sanitizeUrl)(e.url),children:(0,i.jsx)("img",{src:(0,r.getFastImage)((0,o.imageResize)(e?.featured_image?.url||e.image||"",180)),alt:e?.featured_image?.alt,className:`itemImage ${m}`})}),(0,i.jsxs)("div",{className:`itemDetails ${p}`,children:[(0,i.jsx)("a",{href:(0,c.sanitizeUrl)(e.url),className:`${h} itemTitle`,children:e.product_title}),(0,i.jsxs)("p",{className:v,children:[e.variant_title,e.selling_plan_allocation&&" | Subscription"]}),e.selling_plan_allocation&&(0,i.jsx)("p",{className:C,children:"Delivers Every 30 Days"}),e.properties?.["Flavor 1"]&&(0,i.jsxs)("div",{children:[(0,i.jsxs)("p",{className:$,children:["Flavor 1: ",e.properties["Flavor 1"]]}),(0,i.jsxs)("p",{className:$,children:["Flavor 2: ",e.properties["Flavor 2"]]})]}),e.properties?.["Flavor 3"]&&(0,i.jsx)("div",{children:(0,i.jsxs)("p",{className:$,children:["Flavor 3: ",e.properties["Flavor 3"]]})}),(0,i.jsxs)("p",{className:f,children:[(0,i.jsxs)("span",{className:`itemPrice ${x}`,children:["$",M]}),!!I&&(0,i.jsxs)("span",{className:`itemOriginalPriceContainer ${g}`,children:[(0,i.jsxs)("span",{className:`itemOriginalPrice ${j}`,children:["$",I]}),(0,i.jsx)("span",{className:`itemOriginalPriceSale ${_}`,children:"Sale"})]})]}),(0,i.jsxs)("div",{className:`quantityControls ${y} ${s&&w}`,children:[(0,i.jsx)("button",{onClick:()=>(async(t,s)=>{a(!0);try{k({ids:t,quantity:s,item:e,operationType:"decrement",changeToCart:l,updateCart:S})}catch(e){console.error("Error incrementing item quantity:",e)}finally{a(!1)}})(e.key||e.bundleItemsKeys,e.quantity),disabled:s,children:"−"}),(0,i.jsx)("input",{className:`noArrows ${N} ${s&&w}`,type:"number",value:e.quantity,onChange:t=>{const s=t.target;if(s){const t=parseInt(s.value,10)||1;(async(t,s)=>{a(!0);try{k({ids:t,quantity:s,item:e,operationType:"change",changeToCart:l,updateCart:S})}catch(e){console.error("Error updating cart:",e)}finally{a(!1)}})(e.key||e.bundleItemsKeys,t)}},min:"1"}),(0,i.jsx)("button",{onClick:()=>(async(t,s)=>{a(!0);try{k({ids:t,quantity:s,item:e,operationType:"increment",changeToCart:l,updateCart:S})}catch(e){console.error("Error incrementing item quantity:",e)}finally{a(!1)}})(e.key||e.bundleItemsKeys,e.quantity),disabled:s,children:"+"})]})]}),(0,i.jsx)("button",{className:`${b} trashIcon`,onClick:()=>P(e.key||e.bundleItemsKeys),disabled:s,children:(0,i.jsx)(n.Trash,{})})]})}},64:function(e,t,s){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CartMenu=void 0;const i=s(0),r=a(s(297)),n=s(2),l=s(78),o=s(294),c=s(6),d=s(130),u=a(s(299)),{cartMenu:m,cartDiscount:p,cartMenuOpen:h,cartMenuClose:v,cartMenuContainer:f,topTitle:x,crossIcon:g,labelShip:j,buttonsContainers:_,allItemsContainer:C,emptyCartContainer:b,emptyIconContainer:y,hoverContainer:N,continueBrowsing:w,checkoutButton:$,continueShopButton:S}=r.default,{loadBar:k}=u.default;(0,c.setConfig)([{folder:"stars-honey",template:"https://cdn.shopify.com/s/files/1/0664/6100/8105/"},{folder:"stars-honey",template:"https://starsandhoney.com/cdn/shop/files/"}]),t.CartMenu=({useSharedState:e})=>{const{cart:t,setShowCart:s,showCart:a,loadingAddToCart:r,fakeBundle:c}=e,u=e=>{};(0,n.useEffect)((()=>(document.documentElement.style.overflow=a?"hidden":"",()=>{document.documentElement.style.overflow=""})),[a]);const M=t.items.reduce(((e,t)=>{const s=t?.properties?._rc_bundle;return s&&(e[s]||(e[s]=[]),e[s].push(t)),e}),{}),I=[];for(const e in M){const t=M[e],s="10-PACK---"===t[0]?.variant_title||"10-PACK-----"===t[0]?.variant_title?30:20,a=20===s?"20-PACK":"30-PACK",i=t.reduce(((e,t)=>e+10*t.quantity),0),r=Math.ceil(i/s),n=t.reduce(((e,t)=>e+t?.price*t.quantity),0)/r,l=t.reduce(((e,t)=>e+t.original_price*t.quantity),0)/r,o=t[0]?.product_title,c=t[1]?.product_title||t[0]?.product_title,d=t[2]?.product_title||(t[1]?.quantity>t[0]?.quantity?c:o),u={"Flavor 1":c,"Flavor 2":o,_compare_at_price:t[0]?.properties?._compare_at_price};30===s&&(t[2]?(u["Flavor 1"]=d,u["Flavor 2"]=c,u["Flavor 3"]=o):(u["Flavor 1"]=o,u["Flavor 2"]=d,u["Flavor 3"]=c));let m=[];m[0]=t[0]?.key,m[1]=t[1]?.key||t[0]?.key,30===s&&(m[2]=t[2]?.key||(t[0]?.quantity>t[1]?.quantity?t[0]?.key:t[1]?.key)||t[0]?.key);const p={properties:u,quantity:r,product_title:"Signature Flavors Variety Set",price:n,original_price:l,url:"/products/signature-flavors-variety-set",featured_image:{alt:"Variety Set",url:"https://cdn.shopify.com/s/files/1/0664/6100/8105/files/ProductFamilyALL1_1_1_18861295-198d-4f5f-b6cd-b13087ac76e5_180x.png?v=1708860545"},image:"https://cdn.shopify.com/s/files/1/0664/6100/8105/files/ProductFamilyALL1_1_1_18861295-198d-4f5f-b6cd-b13087ac76e5_180x.png?v=1708860545",variant_title:a,bundleItems:t,bundleItemsKeys:m};t.some((e=>e.selling_plan_allocation))&&(p.selling_plan_allocation="true"),I.push(p)}const P=[],T=t.items.map((e=>{if(!e?.properties?._rc_bundle)return e;if(P.includes(e?.properties?._rc_bundle))return null;return I.find((t=>t?.bundleItems?.[0]?.properties?._rc_bundle===e?.properties?._rc_bundle?(P.push(e?.properties?._rc_bundle),t):null))||void 0})).filter((e=>!!e)),D=(0,n.useMemo)((()=>{const e=c?.items?.[0]?.final_price;let s=t.total_price;return e&&(s+=e),s?(s/100).toFixed(2):"0.00"}),[t.total_price,c?.items?.[0]?.final_price]),E=(0,n.useMemo)((()=>{if(!t?.cart_level_discount_applications?.[0])return"";let e=t?.cart_level_discount_applications?.[0]?.discount_application||t?.cart_level_discount_applications?.[0];return`${e?.title}: -$${(e?.total_allocated_amount/100).toFixed(2)}`}),[t?.cart_level_discount_applications]);return(0,i.jsx)("div",{className:`${m} ${a?h:v}`,onClick:()=>s(!1),children:(0,i.jsxs)("div",{className:`cartMenuContainer ${f} ${a?h:v}`,onClick:e=>e.stopPropagation(),children:[(0,i.jsxs)("div",{className:x,children:["CART",(0,i.jsx)("div",{className:g,onClick:()=>s(!1),children:(0,i.jsx)(l.Cross,{})})]}),t?.items?.length>0||c?.items?.[0]?(0,i.jsxs)("div",{children:[(0,i.jsxs)("div",{className:C,children:[c?.items?.[0]&&(0,i.jsx)(d.CartItem,{item:c?.items?.[0],useSharedState:e,setInputLoading:u,inputLoading:!1}),T.map(((t,s)=>(0,i.jsx)(d.CartItem,{item:t,useSharedState:e,setInputLoading:u,inputLoading:!1},s))),(0,i.jsxs)("p",{className:j,children:[(0,i.jsx)("span",{children:"★"})," Always Free Shipping"]})]}),(0,i.jsxs)("div",{className:_,children:[(0,i.jsx)("button",{className:S,onClick:()=>s(!1),children:"Continue Shopping →"}),E&&(0,i.jsx)("div",{className:`cartDiscount ${p}`,children:E}),(0,i.jsx)("form",{id:"form",action:"/checkout",method:"post",children:(0,i.jsxs)("button",{className:$,disabled:r,children:["CHECKOUT • $",`${D} ${t.currency}`]})})]})]}):(0,i.jsxs)("div",{className:b,children:[r&&(0,i.jsx)("div",{className:k}),(0,i.jsx)("p",{children:"Your cart is empty."}),(0,i.jsxs)("div",{className:N,onClick:()=>s(!1),children:[(0,i.jsx)("div",{className:`emptyIconContainer ${y}`,children:(0,i.jsx)(o.Bag,{})}),(0,i.jsx)("div",{className:w,children:(0,i.jsx)("span",{children:"CONTINUE BROWSING"})})]})]})]})})}},393:(e,t,s)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Trash=void 0;const a=s(0);t.Trash=()=>(0,a.jsxs)("svg",{"aria-hidden":"true",focusable:"false",role:"presentation",class:"icon icon-bin",viewBox:"0 0 11 14",children:[(0,a.jsx)("path",{d:"M10 2v10a2 2 0 01-2 2H3a2 2 0 01-2-2V2h9zM9 3H2v9a1 1 0 00.883.993L3 13h5a1 1 0 00.993-.883L9 12V3z"}),(0,a.jsx)("path",{d:"M10.5 2a.5.5 0 110 1H.5a.5.5 0 010-1h10zm-3-2a.5.5 0 010 1h-4a.5.5 0 010-1h4z"})]})},67:function(e,t,s){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ExpandYourPalate=void 0;const i=s(0),r=(s(1),a(s(306))),n=s(133),l=s(2),o=s(134),{mainContainer:c,title:d,carouselContainer:u}=r.default;t.ExpandYourPalate=function({useSharedState:e,productsExpandYourPalate:t,limitedEditionFlags:s,featureSalePrice:a}){const[r,m]=(0,l.useState)(!1),p={"Cherry Chocolate Waffle Cone":1,"Peppermint Mocha":1,"Gingerbread Cookie":2,"Cacao Salt Caramel Peanut":3,"Dark Chocolate Coconut":4,"Espresso Vanilla Cinnamon":5,"Birthday Cake Chocolate Chip":6,"The Raspberry Donut":7,"Cookies and Cream":8,"Peanut Butter Blackberry":9},h=t.map((e=>({...e,order:p[e.title]||99}))).sort(((e,t)=>e.order-t.order));return(0,i.jsxs)("div",{className:`${c} ExpandYourPalate`,children:[(0,i.jsx)("h2",{className:`title ${d}`,children:"Expand Your Palate"}),(0,i.jsx)("div",{className:`${u} carouselContainer `,children:(0,i.jsx)(n.SlidesCarousel,{carouselSettings:{infinite:!1,dots:!1,speed:500,slidesToShow:3,slidesPerRow:1,slidesToScroll:1,centerMode:!1,centerPadding:"0",variableWidth:!0,responsive:[{breakpoint:768,settings:{slidesToShow:1,centerPadding:"13px"}},{breakpoint:1100,settings:{slidesToShow:2}}]},setIsLastSlide:m,children:h?.map(((t,s)=>!1===t.isGiftCard&&(0,i.jsx)(o.Slide,{slide:t,useSharedState:e,isLastSlide:r,featureSalePrice:a},s)))})})]})}},134:function(e,t,s){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Slide=void 0;const i=s(0),r=s(38),n=a(s(309)),l=s(16),o=s(77),c=s(2),d=s(308);t.Slide=function({slide:e,useSharedState:t,isLastSlide:s,featureSalePrice:a}){const{slideContainer:u,imageContainer:m,slideTitle:p,starsContainer:h,starsRating:v,ratingNumber:f,price:x,priceSlideContainer:g,regularPriceContainer:j,saleText:_,regularPrice:C,slideDescription:b,freeFromContainer:y,nutritionContainer:N,nutritionImageContainer:w,bundles:$,selected:S,labelShip:k,addButton:M,detailsContainer:I,badgesContainer:P,buttonLoader:T,buttonLoading:D,limitedEdition:E,priceContainer:B,limitedEditionTitle:O}=n.default,[L,F]=(0,c.useState)(0),[A,q]=(0,c.useState)(!1),[R,H]=(0,c.useState)(!1),{width:V}=(0,d.useWindowDimensions)(),z=Number(e.variants[L]?.price?.amount),W=a?Number(e.variants[L].compareAtPrice?.amount):0,K=e.tags.includes("limited"),Z=(0,c.useMemo)((()=>["",Number(e.variants[1]?.price?.amount)/20,Number(e.variants[2]?.price?.amount)/30]),[e.variants]);return(0,c.useEffect)((()=>{t.showCart&&H(!1)}),[t.showCart]),(0,i.jsxs)("div",{className:`${u} slideContainer`,children:[(0,i.jsxs)("a",{className:m,href:`/products/${e.handle}`,style:{textDecoration:"none"},role:"button","aria-label":`${e.title} image`,children:[(0,i.jsx)("img",{src:e?.featuredImage?.src,alt:e.featuredImage.alt}),(0,i.jsx)("img",{src:e?.images[1]?.src,alt:e.featuredImage.alt})]}),(0,i.jsxs)("div",{className:`detailsContainer ${I}`,children:[(0,i.jsx)("div",{className:`${p} ${K?O:""} slideTitle`,children:(0,i.jsx)("a",{href:`/products/${e.handle}`,role:"button","aria-label":e.title,children:e.title})}),(0,i.jsxs)("div",{className:`priceContainer ${B}`,children:[K?(0,i.jsx)("p",{className:`limitedEdition ${E}`,children:"LIMITED EDITION"}):e.reviews?.rating_average?(0,i.jsxs)("div",{className:`starsContainer ${h}`,children:[(0,i.jsx)("a",{className:v,href:"https://starsandhoney.com/pages/reviews",role:"button","aria-label":`${e.title} reviews`,children:(0,i.jsx)(r.RatingStars,{rating:e.reviews?.rating_average,numberOfStars:5,starDimension:"20px",starRatedColor:"#000000",starEmptyColor:"#00000055"})}),(0,i.jsxs)("p",{className:f,children:["(",(0,l.truncateOneDecimal)(e?.reviews?.rating_average),")"]})]}):null,(0,i.jsxs)("div",{className:`priceSlide ${g}`,children:[(0,i.jsxs)("div",{className:`priceSlide ${x}`,children:["$",z.toFixed(2)]}),!!W&&(0,i.jsxs)("div",{className:`regularPriceContainer ${j}`,children:[(0,i.jsx)("span",{className:`sale ${_}`,children:"Sale"}),(0,i.jsxs)("span",{className:`regularPrice ${C}`,children:["$",W.toFixed(2)]})]})]})]}),(0,i.jsx)("p",{className:`${b} slideDescription`,children:e.description}),(0,i.jsx)("div",{className:`freeFromContainer ${y}`,children:e.tagsBadge.map(((e,t)=>(0,i.jsx)("span",{children:e.substring(1).toLowerCase().includes("sugar")?"STEVIA":e.substring(1)},t)))}),(0,i.jsxs)("div",{className:`nutritionContainer ${N}`,onClick:()=>{q(!A)},children:[(0,i.jsx)("span",{children:"NUTRITION & INGREDIENTS"}),(0,i.jsx)("span",{style:{transform:"rotate(90deg)"},children:(0,i.jsx)(o.Arrow,{})}),A&&(0,i.jsxs)("div",{className:`nutritionImageContainer ${w}`,children:[(0,i.jsx)("img",{src:e?.nutritionalImage?.reference.image.originalSrc,alt:`nutritional info for ${e.title} `,height:150,width:400}),(0,i.jsx)("p",{children:e?.nutritionalIngredients?.value}),(0,i.jsx)("div",{className:`badgesContainer ${P}`,children:e?.nutritionalBadges?.references.edges?.map(((e,t)=>(0,i.jsx)("img",{src:e.node.image.originalSrc,alt:e.node.image.altText,style:{height:"30px"}},t)))})]})]}),(0,i.jsx)("div",{className:`bundles ${$}`,children:Z.map(((t,s)=>(0,i.jsxs)("div",{onClick:()=>F(s),children:[(0,i.jsx)("button",{className:`${L===s&&S}`,children:e.options[0].values[s]}),(0,i.jsx)("span",{children:Z[s]&&`$${Number(Z[s]).toFixed(2)}EA.`})]},s)))}),(0,i.jsx)("p",{className:`${k} labelShip`,children:"Always Free Shipping"}),(0,i.jsx)("div",{onClick:()=>{H(!0);try{t.addToCart({items:[{sku:e.variants[L].sku||"",id:e.variants[L].id,quantity:1,image:e.variants[L].image.src,product_title:e.title,variant_title:e.variants[L].title,price:100*Number(e.variants[L]?.price?.amount),final_price:100*z,url:`/products/${e.handle}`,variant_id:Number(e.variants[L].id),vendor:e.vendor,properties:{_compare_at_price:100*W}}]})}catch(e){console.error(e),H(!1)}},className:`${M} ${R&&D}`,children:(0,i.jsxs)("button",{children:["Add to bag",R&&(0,i.jsx)("span",{className:T,children:(0,i.jsxs)("svg",{height:"18",width:"18",children:[(0,i.jsx)("circle",{r:"7",cx:"9",cy:"9"}),(0,i.jsx)("circle",{"stroke-dasharray":"87.96459430051421 87.96459430051421",r:"7",cx:"9",cy:"9"})]})})]})})]})]})}},133:function(e,t,s){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SlidesCarousel=void 0;const i=s(0);s(40),s(41);const r=s(2),n=a(s(42)),l=a(s(307)),o=s(396),c=s(308),{mainContainer:d,arrow:u,arrowPrev:m,arrowNext:p,hidden:h}=l.default;t.SlidesCarousel=({className:e="",children:t,carouselSettings:s,setIsLastSlide:a})=>{const l=(0,r.useRef)(null),{width:v}=(0,c.useWindowDimensions)(),[f,x]=(0,r.useState)(0);return(0,i.jsxs)("div",{className:`${d} mainContainerPower `,children:[(0,i.jsx)("div",{className:`${u} ${m} ${0===f?h:""}`,onClick:e=>{e.preventDefault(),l.current?.slickPrev()},role:"button","aria-label":"Previous slide",children:(0,i.jsx)(o.Arrow,{})}),(0,i.jsx)("div",{className:`${u} ${p} ${f===t.length-3?h:""}`,onClick:e=>{e.preventDefault(),l.current?.slickNext()},role:"button","aria-label":"Next slide",children:(0,i.jsx)(o.Arrow,{})}),(0,i.jsx)(n.default,{ref:l,arrows:!1,className:`${e}`,...s,afterChange:e=>{const s=v<1100?t.length-2:t.length-4;x(e),a(e===s)},children:t})]})}},396:(e,t,s)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Arrow=void 0;const a=s(0);s(1),t.Arrow=function({}){return(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 40 40",width:"40",height:"40",children:(0,a.jsx)("path",{d:"m15.5 0.932-4.3 4.38 14.5 14.6-14.5 14.5 4.3 4.4 14.6-14.6 4.4-4.3-4.4-4.4-14.6-14.6z"})})}},65:function(e,t,s){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.PowerCollagen=void 0;const i=s(0),r=(s(1),a(s(300))),n=s(131),l=s(132),o=s(2),c=a(s(66));s(304);const d=s(305),{mainContainer:u,title:m,imageCarousel:p,carouselContainer:h,imageContainer:v,slideTitle:f,slideDescription:x,carouselContainerDesktop:g,animateCarousel:j}=r.default,_={infinite:!0,dots:!0,speed:500,slidesToShow:1,slidesPerRow:1,slidesToScroll:1,centerMode:!1,centerPadding:"0",variableWidth:!0};t.PowerCollagen=function({powerCollagen:e}){const{sectionRef:t,isVisible:s}=(0,d.useVisibility)(),a=e.icons;return(0,o.useEffect)((()=>{c.default.init()}),[]),(0,i.jsxs)("div",{className:`PowerCollagenMainContainer ${u} ${s?`${j} animateCarousel`:""}`,ref:t,children:[(0,i.jsx)("h2",{className:`${m} title`,children:e.heading}),(0,i.jsx)("div",{className:`carouselContainer ${h}`,children:(0,i.jsx)(n.SlidesCarousel,{carouselSettings:_,children:a?.map(((e,t)=>(0,i.jsxs)("div",{className:`${v} imageContainer`,children:[(0,i.jsx)("img",{src:e?.icon||"",alt:"feature icon",loading:"eager",className:p,"data-aos":"fade-up-short","data-aos-duration":"1300"}),(0,i.jsx)("label",{className:f,children:e.heading}),(0,i.jsxs)("p",{className:`slideDescription ${x}`,children:[e.text,e?.references?.length&&(0,i.jsx)(l.Reference,{references:e.references})]})]},t)))})}),(0,i.jsx)("div",{className:`carouselContainerDesktop ${g}`,children:a?.map(((e,t)=>(0,i.jsxs)("div",{className:`imageContainer ${v}`,children:[(0,i.jsx)("img",{src:e?.icon||"",alt:"feature icon",loading:"eager",className:`imageCarousel ${p}`,"data-aos":"fade-up-short","data-aos-duration":"1300"}),(0,i.jsx)("label",{className:f,children:e.heading}),(0,i.jsxs)("p",{className:x,children:[e.text,e?.references?.length&&(0,i.jsx)(l.Reference,{references:e.references})]})]},t)))})]})}},132:function(e,t,s){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Reference=void 0;const i=s(0),r=(s(1),a(s(303))),{referenceContainer:n}=r.default;t.Reference=function({references:e}){return(0,i.jsx)("a",{className:n,href:"#footer",children:(0,i.jsx)("span",{children:e.map((e=>(0,i.jsx)("span",{children:0===e?"†":e})))})})}},131:function(e,t,s){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SlidesCarousel=void 0;const i=s(0);s(40),s(41);const r=s(2),n=a(s(42)),l=s(2),o=a(s(301));s(302);const c=s(395),{mainContainer:d,arrow:u,arrowPrev:m,arrowNext:p,hidden:h}=o.default;t.SlidesCarousel=({className:e="",children:t,carouselSettings:s})=>{const a=(0,r.useRef)(null),[o,m]=(0,l.useState)(0);return(0,i.jsxs)("div",{className:`${d} mainContainerPower `,children:[(0,i.jsx)("div",{className:`${u} ${p}`,onClick:e=>{e.preventDefault(),a.current?.slickNext()},role:"button","aria-label":"Next slide",children:(0,i.jsx)(c.Arrow,{})}),(0,i.jsx)(n.default,{ref:a,arrows:!1,className:`${e}`,...s,afterChange:e=>{m(e)},children:t})]})}},395:(e,t,s)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Arrow=void 0;const a=s(0);s(1),t.Arrow=function({}){return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"11",viewBox:"0 0 12 11",fill:"none",children:[(0,a.jsxs)("g",{"clip-path":"url(#clip0_1868_17640)",children:[(0,a.jsx)("path",{d:"M10.9355 5.5L0.000103692 5.5",stroke:"black","stroke-width":"2","stroke-miterlimit":"10"}),(0,a.jsx)("path",{d:"M6.26749 10.4297L10.9355 5.50048L6.26749 0.571289",stroke:"black","stroke-width":"2","stroke-miterlimit":"10"})]}),(0,a.jsx)("defs",{children:(0,a.jsx)("clipPath",{id:"clip0_1868_17640",children:(0,a.jsx)("rect",{width:"11",height:"12",fill:"white",transform:"translate(12) rotate(90)"})})})]})}},68:function(e,t,s){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.TasteTransparency=void 0;const i=s(0),r=a(s(311)),n=s(2),l=s(6),{mainContainer:o,contentContainer:c,itemsContainer:d,itemText:u,title:m,selectedWhite:p,imageMobile:h,imageDesktop:v}=r.default;t.TasteTransparency=({tasteTransparency:e})=>{const[t,s]=(0,n.useState)(0),[a,f]=(0,n.useState)(null),[x,g]=(0,n.useState)(!1);return(0,n.useEffect)((()=>{if(!x){const t=setInterval((()=>{s((t=>(t+1)%e.items.length))}),3e3);f(t)}return()=>{a&&clearInterval(a)}}),[x]),(0,i.jsxs)("div",{className:o,onMouseEnter:()=>{g(!0),a&&(clearInterval(a),f(null))},onMouseLeave:()=>{g(!1)},children:[e.items?.map(((e,s)=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("img",{className:`${h} ${s===t&&r.default.imageSelected}`,src:(0,l.getFastImage)(e.url),alt:e.alt}),(0,i.jsx)("img",{className:`${v} ${s===t&&r.default.imageSelected}`,src:(0,l.getFastImage)(e.urlDesktop),alt:e.alt})]}))),(0,i.jsxs)("div",{className:c,children:[(0,i.jsx)("h2",{className:m,children:e.title}),(0,i.jsx)("div",{className:d,children:e.items?.map(((e,s)=>(0,i.jsx)("p",{className:`${u} ${s===t&&p}`,children:e.text},s)))})]})]})}},63:function(e,t,s){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.TopBanner=void 0;const i=s(0),r=(s(1),a(s(296))),n=s(295),{topBanner:l,topBannerDesktop:o,topBannerMobile:c,hidden:d}=r.default;t.TopBanner=function({topBanner:e}){const{scrollStyle:t}=(0,n.useTopBarHook)();return e&&e.desktop_html&&e.show?(0,i.jsxs)("div",{class:`${l} topBanner ${"hidden"===t&&d}`,children:[(0,i.jsx)("a",{className:o,dangerouslySetInnerHTML:{__html:e.desktop_html},href:e.cta}),(0,i.jsx)("a",{className:c,dangerouslySetInnerHTML:{__html:e.mobile_html},href:e.cta})]}):null}},62:function(e,t,s){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.TopBar=void 0;const i=s(0),r=(s(1),a(s(293))),n=s(2),l=s(390),o=s(391),c=s(294),d=s(78),u=s(392),m=s(295),p=e=>e.replace("https://starsandhoney.com",""),{navbar:h,hasTopBanner:v,mobileMenuIcon:f,mobileMenu:x,mobileMenuOpen:g,mobileMenuClose:j,mobileMenuContainer:_,bgTransparency:C,mobileMenuItem:b,desktopMenu:y,desktopLinks:N,desktopIcons:w,logoSVG:$,crossIcon:S,desktopIconsShadow:k,hidden:M,blured:I,background:P,cartItemCount:T,bagIcon:D}=r.default;t.TopBar=function({menu:e,bgTransparency:t,useSharedState:s,hasTopBanner:a}){const{setShowCart:r,showCart:E,cart:B}=s,[O,L]=(0,n.useState)(!1),{scrollStyle:F}=(0,m.useTopBarHook)(),A=()=>{L(!O)};(0,n.useEffect)((()=>(document.documentElement.style.overflow=O?"hidden":"",()=>{document.documentElement.style.overflow=""})),[O]);const q=B.items.reduce(((e,t)=>{const s=t?.properties?._rc_bundle;return s&&(e[s]||(e[s]=[]),e[s].push(t)),e}),{}),R=[];for(const e in q){const e={product_title:"Signature Flavors Variety Set"};R.push(e)}B.items.filter((e=>!e?.properties?._rc_bundle)).push(...R);const H=B.item_count;return(0,i.jsxs)("div",{children:[(0,i.jsxs)("nav",{className:`navbar ${h} ${"blured"===F&&I} ${"hidden"===F&&M} ${a?v:null} ${t?`bgTransparency ${C}`:null}`,children:[(0,i.jsx)("div",{className:`mobileMenuIcon ${f} ${t?`bgTransparency ${C}`:null}`,onClick:A,children:(0,i.jsx)(l.Drawer,{})}),(0,i.jsx)("div",{className:`mobileMenu ${x} ${O?g:j}`,onClick:A,role:"button","aria-label":"Menu",children:(0,i.jsxs)("div",{className:`mobileMenuContainer ${_} ${O?g:j}`,onClick:e=>e.stopPropagation(),role:"button","aria-label":"Menu items",children:[(0,i.jsxs)("div",{className:`mobileMenuItem ${b}`,children:[(0,i.jsx)("a",{href:"https://starsandhoney.com/account/login",role:"button","aria-label":"Account",children:(0,i.jsx)(o.Account,{})}),(0,i.jsx)("div",{className:S,onClick:A,children:(0,i.jsx)(d.Cross,{})})]}),e.items.map((e=>(0,i.jsx)("a",{className:"mobileMenuItemItem",href:p(e.url),role:"button","aria-label":e.title,children:e.title})))]})}),(0,i.jsx)("a",{href:"/",className:`logoSVG ${$}`,role:"button","aria-label":"Home",alt:"Home",children:(0,i.jsx)(u.Logo,{})}),(0,i.jsxs)("div",{className:`desktopMenu ${y}`,children:[(0,i.jsx)("div",{className:`desktopLinks ${N}`,children:e.items.slice(0,4).map((e=>(0,i.jsx)("a",{className:"desktopMenuItemItem",href:p(e.url),role:"button","aria-label":e.title,children:e.title})))}),(0,i.jsxs)("div",{className:`desktopIcons ${w}`,children:[(0,i.jsxs)("a",{href:"https://starsandhoney.com/account/login",role:"button","aria-label":"Desktop Account",children:[(0,i.jsx)(o.Account,{}),(0,i.jsx)("div",{className:`desktopIconsShadow ${k}`})]}),(0,i.jsxs)("div",{className:`bagIcon ${D}`,onClick:()=>{r(!E)},children:[(0,i.jsx)(c.Bag,{}),(0,i.jsx)("div",{className:k}),(0,i.jsx)("div",{className:T,children:H>0?H:""})]})]})]})]}),(0,i.jsx)("div",{className:`background ${P} ${a?v:null} ${t?`bgTransparency ${C}`:null}`})]})}},295:(e,t,s)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.useTopBarHook=void 0;const a=s(2);t.useTopBarHook=()=>{const[e,t]=(0,a.useState)("");return(0,a.useEffect)((()=>{let e=100;function s(){let s=document.documentElement.scrollTop;t(s>e?"hidden":"blured"),s<20&&t(""),e=s<=0?0:s}return window.addEventListener("scroll",s),()=>{window.removeEventListener("scroll",s)}}),[]),{scrollStyle:e}}},391:(e,t,s)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Account=void 0;const a=s(0);s(1),t.Account=function({}){return(0,a.jsx)("svg",{"aria-hidden":"true",focusable:"false",role:"presentation",class:"icon icon-account",width:"100%",height:"100%",viewBox:"0 0 17 19",style:"fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;",children:(0,a.jsx)("path",{d:"M4.785,11.486C1.95,12.841 0,15.699 0,19L2,19C2,15.486 4.916,12.648 8.5,12.648C12.084,12.648 15,15.486 15,19L17,19C17,15.699 15.049,12.841 12.215,11.485C13.859,10.338 14.931,8.451 14.931,6.324C14.931,2.839 12.055,0 8.5,0C4.945,0 2.069,2.839 2.069,6.324C2.069,8.451 3.141,10.338 4.785,11.486ZM8.5,2C10.94,2 12.931,3.932 12.931,6.324C12.931,8.716 10.94,10.648 8.5,10.648C6.06,10.648 4.069,8.716 4.069,6.324C4.069,3.932 6.06,2 8.5,2Z",style:"fill:currentColor;"})})}},294:(e,t,s)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Bag=void 0;const a=s(0);s(1),t.Bag=function({}){return(0,a.jsx)("svg",{class:"cartsvgpath","clip-rule":"evenodd","fill-rule":"evenodd","stroke-linejoin":"round","stroke-miterlimit":"2",version:"1.1",viewBox:"0 0 21 24","xml:space":"preserve",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"m4.96 8.322h-4.453v15.588h19.987v-15.588h-4.454v-1.779c0-3.091-2.5-5.606-5.54-5.606-3.047 0-5.54 2.521-5.54 5.606v1.779zm13.534 2v11.588h-15.987v-11.588h15.987zm-4.454-2v-1.779c0-1.982-1.591-3.606-3.54-3.606-1.954 0-3.54 1.628-3.54 3.606v1.779h7.08z",fill:"currentColor"})})}},390:(e,t,s)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Drawer=void 0;const a=s(0);s(1),t.Drawer=function({}){return(0,a.jsx)("svg",{"aria-hidden":"true",focusable:"false",role:"presentation",class:"icon icon-nav",viewBox:"0 0 25 25",children:(0,a.jsx)("path",{d:"M0 4.062h25v2H0zm0 7h25v2H0zm0 7h25v2H0z"})})}},392:(e,t,s)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Logo=void 0;const a=s(0);s(1),t.Logo=function(){return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",id:"Calque_1","data-name":"Calque 1",version:"1.1",viewBox:"0 0 1920.7 841.9",children:[(0,a.jsx)("defs",{children:(0,a.jsx)("style",{children:".cls-1 {\n fill: #000;\n stroke-width: 0px;\n }"})}),(0,a.jsx)("path",{class:"cls-1",d:"M61.9,184.9v-65c0-48,14-69,54-69s54,18,54,67v154h39V97.9c0-57-36-81-93-81S21.9,41.9,21.9,116.9v81c0,91,31,148,78,217,48,70,72,108,72,231v77c0,46-15,68-56,68s-57-11-57-72v-141H19.9v145c0,79,32,102,96,102s96-32,96-106v-91c0-97-14-144-71-227-48-69-79-114-79-216Z"}),(0,a.jsx)("path",{class:"cls-1",d:"M802.9,545.9c53,0,75-22,75-70v-59c0-70-17-104-57-154-32-41-55-77-55-137v-32c0-31,9-45,37-45s39,12,39,44v91h35v-111c0-38-25-56-74-56s-74,26-74,69v50c0,63,27,103,59,143,39,48,53,79,53,151v40c0,30-10,44-38,44s-41-7-41-47v-83h-35v94c0,47,22,68,76,68Z"}),(0,a.jsx)("path",{class:"cls-1",d:"M1282.9,355.9c63,0,84-31,84-81V97.9c0-50-21-81-84-81s-84,31-84,81v177c0,50,21,81,84,81ZM1235.9,96.9c0-36,16-48,47-48s47,12,47,48v179c0,36-16,48-47,48s-47-12-47-48V96.9Z"}),(0,a.jsx)("polygon",{class:"cls-1",points:"327.9 355.9 366.9 355.9 366.9 59.9 444.9 59.9 444.9 24.9 250.9 24.9 250.9 59.9 327.9 59.9 327.9 355.9"}),(0,a.jsx)("polygon",{class:"cls-1",points:"1582.9 405.9 1677.9 405.9 1677.9 368.9 1582.9 368.9 1582.9 61.9 1705.9 61.9 1705.9 24.9 1582.9 24.9 1557.9 24.9 1543.9 24.9 1543.9 816.9 1557.9 816.9 1582.9 816.9 1711.9 816.9 1711.9 777.9 1582.9 777.9 1582.9 405.9"}),(0,a.jsx)("polygon",{class:"cls-1",points:"1444.9 740.3 1235.9 405.9 1197.9 405.9 1197.9 816.9 1235.9 816.9 1235.9 483.4 1443.9 816.9 1482.9 816.9 1482.9 24.9 1444.9 24.9 1444.9 740.3"}),(0,a.jsx)("polygon",{class:"cls-1",points:"1098.9 391.9 974.9 391.9 974.9 24.9 935.9 24.9 935.9 816.9 974.9 816.9 974.9 426.9 1098.9 426.9 1098.9 816.9 1137.9 816.9 1137.9 24.9 1098.9 24.9 1098.9 391.9"}),(0,a.jsx)("polygon",{class:"cls-1",points:"1862.9 24.9 1772.1 347.4 1705.9 110.9 1664.9 110.9 1750.9 406.9 1750.9 816.9 1789.9 816.9 1789.9 406.9 1900.9 24.9 1862.9 24.9"}),(0,a.jsx)("polygon",{class:"cls-1",points:"818.9 595.9 784.9 595.9 784.9 689.9 705.9 689.9 705.9 721.9 784.9 721.9 784.9 816.9 818.9 816.9 818.9 721.9 898.9 721.9 898.9 689.9 818.9 689.9 818.9 595.9"}),(0,a.jsx)("path",{class:"cls-1",d:"M327.9,405.9l-81,411h37l25.3-135h72.2l25.5,135h39l-79-411h-39ZM315.4,648.9l29.8-159,30,159h-59.8Z"}),(0,a.jsx)("path",{class:"cls-1",d:"M670.9,473.9c0-33.7-15.3-55.1-45.3-63.2,31.2-9.5,47.3-34.9,47.3-75.8V108.9c0-49-21-84-80-84h-108v792h39v-389h56c39,0,52,26,52,67v276c0,19,1,37,11,46h40c-9-13-12-27-12-54v-289ZM578.9,391.9h-55V58.9h48c36,0,62,11,62,66v199c0,47-3,68-55,68Z"})]})}},394:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.imageResize=void 0,t.imageResize=(e,t)=>{let[s,a]=e.split("?"),i=s.split("/"),r=i.pop();if(!r)throw new Error("Invalid URL format");let n=r?.replace(".webp",`_${t}x.webp`),l=[...i,n].join("/");return a&&(l+="?"+a),l}},305:(e,t,s)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.useVisibility=void 0;const a=s(7);t.useVisibility=()=>{const[e,t]=(0,a.useState)(!1),s=(0,a.useRef)(null);return(0,a.useEffect)((()=>{const e=new IntersectionObserver((([e])=>{e.isIntersecting?t(!0):t(!1)}),{threshold:.1});return s.current&&e.observe(s.current),()=>e.disconnect()}),[]),{sectionRef:s,isVisible:e}}},308:(e,t,s)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.useWindowDimensions=void 0;const a=s(2);t.useWindowDimensions=()=>{const[e,t]=(0,a.useState)({width:0,height:0});return(0,a.useEffect)((()=>{if("undefined"!=typeof window){const e=()=>{t({width:window.innerWidth,height:window.innerHeight})};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)}}),[]),e}}}]);