"use strict";(self.webpackChunkui=self.webpackChunkui||[]).push([[3],{8:function(e,t,s){var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Footer=void 0;const r=s(0),n=i(s(12)),a=s(1),o=s(163),{footer:l,footerSection:c,footerSections:d,footerTitle:u,footerLinks:p,footerSignup:h,signupForm:f,submittedText:m,footerReferences:g,footerTopHalf:x,referenceNumber:v,referenceNumberItem:j,referenceNumberEqual:N,noFixHeight:w}=n.default;t.Footer=({footer:e})=>{const[t,s]=(0,a.useState)(""),[i,n]=(0,a.useState)(!1),[b,_]=(0,a.useState)(!1),y={sections:[{title:"STARS + HONEY",links:e.footer.items.map((e=>({name:e.title,url:e.url})))},{title:"ORDERS & SUPPORT",links:e.ordersSupport.items.map((e=>({name:e.title,url:e.url})))},{title:"COMMUNITY",links:e.social.items.map((e=>({name:e.title,url:e.url})))}],references:[{referenceNumber:"†",text:"These statements have not been evaluated by the Food and Drug Administration. This product is not intended to diagnose, treat, cure, or prevent any disease.",url:"https://starsandhoney.com/pages/terms"},{referenceNumber:"1",text:"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8824545/",url:"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8824545/"},{referenceNumber:"2",text:"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3003457/",url:"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3003457/"},{referenceNumber:"3",text:"https://pubmed.ncbi.nlm.nih.gov/31010031/",url:"https://pubmed.ncbi.nlm.nih.gov/31010031/"}]};return(0,r.jsxs)("footer",{className:`footer ${l} ${(i||b)&&w}`,children:[(0,r.jsx)("div",{id:"footer"}),(0,r.jsxs)("div",{className:x,children:[(0,r.jsxs)("div",{className:h,children:[(0,r.jsx)("h4",{children:"Sign Up & Save"}),i&&(0,r.jsx)("p",{className:m,children:"Thank you for joining our mailing list!"}),b&&(0,r.jsx)("p",{className:m,children:"email - can't be blank"}),(0,r.jsxs)("form",{className:f,onSubmit:async e=>{if(e.preventDefault(),""===t)return void _(!0);if(_(!1),!t.includes("@"))return;n(!0),s("");const i={"Content-Type":"application/json",revision:"2024-07-15",Cookie:"datadome=NUHbZZYaTyx7Sf~D53SPuKf0SrEDOxnvj34v6nylGjdT2169KLYmhKBwgFfjPZoDzw3PNS0oxr3IzkXuEQHGbkqQb6OLnOPw0MHKKrXsnieUi46nP1VXg9sH4J6hBVFw"},r=JSON.stringify({data:{type:"subscription",attributes:{custom_source:"Footer",profile:{data:{type:"profile",attributes:{email:t,anonymous_id:"01GDDKASAP8TKDDA2GRZDSVP4H"},meta:{patch_properties:{append:{newKey:"New Value"},unappend:{newKey:"New Value"},unset:"skus"}}}}},relationships:{list:{data:{type:"list",id:"XgGmh3"}}}}});try{const e=await fetch("https://a.klaviyo.com/client/subscriptions/?company_id=UetCyK",{method:"POST",headers:i,body:r});e.ok?console.log("Subscription successful!"):console.error("Subscription failed:",e.statusText)}catch(e){console.error("Error during subscription:",e)}},method:"post",action:"/contact#footer-newsletter",id:"footer-newsletter",children:[(0,r.jsx)("input",{type:"email",placeholder:"Enter email address",value:t,onChange:e=>{const t=e.target;s(t.value)}}),(0,r.jsx)("button",{type:"submit","aria-label":"Next review",children:(0,r.jsx)(o.ArrowRight,{})})]})]}),(0,r.jsx)("div",{className:d,children:y.sections.map(((e,t)=>(0,r.jsxs)("div",{className:c,children:[(0,r.jsx)("h4",{className:u,children:e.title}),(0,r.jsx)("ul",{className:p,children:e.links.map(((t,s)=>{const i="COMMUNITY"===e.title&&("Instagram"===t.name||"Tik Tok"===t.name);return(0,r.jsx)("li",{children:(0,r.jsx)("a",{href:t.url,...i?{target:"_blank",rel:"noopener noreferrer"}:{},children:t.name})},s)}))})]},t)))})]}),(0,r.jsxs)("div",{className:`${g} footerReferences`,children:[y.references.map(((e,t)=>(0,r.jsxs)("a",{href:e.url,onClick:e=>{0==t&&e.preventDefault()},children:[(0,r.jsxs)("div",{className:v,children:[(0,r.jsx)("div",{className:j,children:e.referenceNumber}),(0,r.jsx)("div",{className:N,children:"="})]}),e.text]},t))),(0,r.jsxs)("a",{href:"",onClick:e=>e.preventDefault(),children:[(0,r.jsxs)("div",{className:v,children:[(0,r.jsx)("div",{className:j,children:"★"}),(0,r.jsx)("div",{className:N,children:"="})]}),"Please see nutrition facts for % daily value calculations for each flavor."]})]})]})}},163:(e,t,s)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ArrowRight=void 0;const i=s(0);t.ArrowRight=()=>(0,i.jsx)("svg",{"aria-hidden":"true",focusable:"false",role:"presentation",class:"icon icon--wide icon-arrow-right-long",viewBox:"0 0 21 10",children:(0,i.jsx)("path",{d:"M14.982 1.01l.696-.717 3.803 3.691.011-.01.338.348.359.348-.012.01.012.011-.354.343-.343.353-.011-.011-3.803 3.692-.696-.718 3.266-3.17H.5v-1h17.748z"})})},49:function(e,t,s){var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.GoogleBadge=void 0;const r=s(0),n=i(s(15));t.GoogleBadge=()=>(0,r.jsxs)("div",{className:`googleBadge ${n.default.googleBadge}`,children:[(0,r.jsxs)("svg",{width:"12",height:"13",viewBox:"0 0 12 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsxs)("g",{"clip-path":"url(#clip0_13704_8745)",children:[(0,r.jsx)("path",{d:"M11.9939 6.61486C11.9939 6.11171 11.9531 5.74454 11.8647 5.36377H6.11914V7.63477H9.49166C9.42369 8.19914 9.05652 9.04908 8.24056 9.62021L8.22913 9.69624L10.0458 11.1036L10.1716 11.1161C11.3275 10.0486 11.9939 8.47791 11.9939 6.61486Z",fill:"#4285F4"}),(0,r.jsx)("path",{d:"M6.11914 12.5982C7.77139 12.5982 9.15847 12.0542 10.1716 11.1159L8.24056 9.61998C7.72381 9.98036 7.03025 10.2319 6.11914 10.2319C4.50087 10.2319 3.12739 9.16445 2.63778 7.68896L2.56602 7.69506L0.677047 9.15695L0.652344 9.22562C1.65866 11.2247 3.7257 12.5982 6.11914 12.5982Z",fill:"#34A853"}),(0,r.jsx)("path",{d:"M2.63817 7.68924C2.50898 7.30848 2.43422 6.90048 2.43422 6.47893C2.43422 6.05734 2.50898 5.64938 2.63138 5.26862L2.62795 5.18752L0.715313 3.70215L0.652734 3.73191C0.237984 4.56146 0 5.49301 0 6.47893C0 7.46485 0.237984 8.39635 0.652734 9.2259L2.63817 7.68924Z",fill:"#FBBC05"}),(0,r.jsx)("path",{d:"M6.11914 2.72558C7.26823 2.72558 8.04336 3.22194 8.48534 3.63673L10.2124 1.95045C9.15172 0.964531 7.77139 0.359375 6.11914 0.359375C3.7257 0.359375 1.65866 1.73286 0.652344 3.73189L2.63098 5.26859C3.12739 3.79311 4.50087 2.72558 6.11914 2.72558Z",fill:"#EB4335"})]}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_13704_8745",children:(0,r.jsx)("rect",{width:"12",height:"12.2812",fill:"white",transform:"translate(0 0.359375)"})})})]}),(0,r.jsxs)("span",{className:`googleBadgeText ${n.default.googleBadgeText}`,children:[(0,r.jsx)("span",{className:n.default.googleBadgeTop,children:"Top"}),(0,r.jsx)("span",{className:n.default.googleBadgeQuality,children:"quality store"}),(0,r.jsx)("span",{className:n.default.googleBadgeExceptional,children:"exceptional"})]})]})},32:(e,t,s)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Cross=void 0;const i=s(0);s(2),t.Cross=function({}){return(0,i.jsx)("svg",{"aria-hidden":"true",focusable:"false",role:"presentation",class:"icon icon-close",viewBox:"0 0 15 15",children:(0,i.jsxs)("g",{"fill-rule":"evenodd",children:[(0,i.jsx)("path",{d:"M2.06 1l12.02 12.021-1.06 1.061L1 2.062z"}),(0,i.jsx)("path",{d:"M1 13.02L13.022 1l1.061 1.06-12.02 12.02z"})]})})}},4:function(e,t,s){var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getFastImage=t.getFastSrcSet=t.setConfig=void 0;const r=i(s(164)),n=s(165);let a=[...r.default];function o(e,t=NaN,s=""){const i=(0,n.getSizeFromShopify)(e);e=i.url;let r=NaN;isNaN(t)&&(t=i.width,r=i.height);const o=s?`,c_pad,ar_${s},g_north`:"";if(a.some((t=>{let{template:s,folder:i}=t;if(s=s.replace(/^https?:/,""),~(e=e.replace("downloads.ctfassets.net","images.ctfassets.net")).indexOf(s))return e=e.replace(/^https?:/,"").replace(s,`/fast-image/${i}/`),!0})),~e.indexOf("/fast-image")){const s=/\/fast-image(\/[^/]*(c_scale|c_limit|fl_progressive)[^/]*)*/,i=e.replace(s,""),n=function(e,t,s){return isNaN(e)&&isNaN(t)?"fl_progressive:steep":`c_limit${isNaN(e)?"":`,w_${e}`}${isNaN(t)?"":`,h_${t}`},fl_progressive:steep${s}`}(t,r,o);e=`/fast-image/${n}${i}`}return e}t.setConfig=function(e){a=e},t.getFastSrcSet=function(e){return e.split(",").map((e=>e.trim().split(/\s+/m).map(((e,t)=>0===t?o(e):e)).join(" "))).join(",")},t.getFastImage=o},165:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getSizeFromShopify=void 0;const s="\\.[a-zA-Z][a-zA-Z0-9]{1,4}\\b",i="cdn.shopify.com/",r="\\?v=\\d+$",n=new RegExp(`(${i}.*)_(?\\d+)x(?\\d*)(${s}${r})`),a=new RegExp(`(${i}.*)_(?\\w+)(${s}${r})`),o=new RegExp(`(${i}.+\\.(png|jpg))\\.(pjpg|jpg)(${r})`),l=new RegExp(`(${i}.+).progressive(${s})`),c={pico:16,icon:32,thumb:50,small:100,compact:160,medium:240,large:480,grande:600};t.getSizeFromShopify=function(e){e=d(e);const t=(e=u(e)).match(n);if(t){const s=t.groups?.width??"",i=t.groups?.height??"",r=parseInt(s),a=parseInt(i);return{url:e=e.replace(n,"$1$4"),width:r,height:a}}const s=e.match(a)?.groups?.size,i=c[s??""];return i?{url:e=e.replace(a,"$1$3"),width:i,height:i}:{url:e,width:NaN,height:NaN}};const d=e=>e.replace(o,"$1$4"),u=e=>e.replace(l,"$1$2")}}]);