1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8672],{20967:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/joyclub",function(){return n(78547)}])},9053:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(47568),i=n(70655),o=n(85893),s=n(27282),a=n(25340),l=n(35257),c=n(11163),d=n(67294),u=n(26451);function p(){var e=(0,c.useRouter)(),t=(0,l.z)().track;(0,d.useEffect)((function(){t("Promotion Viewed",{promotion_id:"default_banner",creative:"kids_banner",name:"Default banner",position:"homepage_hero_banner"}),(0,u.lF)("view_promotion",{creative_name:"kids_banner",creative_slot:"home_page_hero",promotion_name:"Default banner",items:[]})}),[t]);var n=(0,d.useCallback)(function(){var n=(0,r.Z)((function(n){return(0,i.__generator)(this,(function(r){switch(r.label){case 0:return n.preventDefault(),[4,t("Promotion Clicked",{promotion_id:"default_banner",creative:"kids_banner",name:"Default banner",position:"homepage_hero_banner"})];case 1:return r.sent(),(0,u.lF)("select_promotion",{creative_name:"kids_banner",creative_slot:"home_page_hero",promotion_name:"Default banner",items:[]}),e.push("/products"),[2]}}))}));return function(e){return n.apply(this,arguments)}}(),[e,t]);return(0,o.jsx)(o.Fragment,{children:(0,o.jsx)("article",{className:"h-[737px] bg-[#51B4DB]",children:(0,o.jsx)(a.Z,{className:" lg:max-w-[1920px] lg:w-full h-full bg-[url('/images/generic/JS_WebsiteBanner_HomePageMobile.jpg')] lg:bg-[url('/images/generic/JS_WebsiteBanner_HomePage_1920x827.jpg')] bg-bottom bg-cover lg:bg-contain bg-no-repeat",children:(0,o.jsx)(a.Z,{className:"lg:pt-0 pt-10 flex lg:justify-end lg:items-center h-full lg:text-left text-center",children:(0,o.jsxs)("div",{className:"lg:max-w-[487px] flex flex-col gap-4",children:[(0,o.jsx)("h2",{className:"text-white lg:text-5xl text-2xl font-bold",children:"Creating better moments, from the inside out."}),(0,o.jsx)("p",{className:"text-white text-base leading-relaxed",children:"Supplement your way to a happier, healthier life. All-natural formulas, for every need and ocassion."}),(0,o.jsx)("div",{children:(0,o.jsx)(s.Z,{color:"darkblue",className:"w-[320px]",onClick:n,children:"Shop now"})})]})})})})})}},5040:function(e,t,n){"use strict";var r=n(85893),i=n(67294),o=n(27282),s=n(3955),a=n(11474),l=n(97893),c=n.n(l),d=function(e){var t=e.question,n=e.answer,o=e.itemBgColor,l=void 0===o?"bg-primary-white-600":o,d=e.itemTextColor,u=void 0===d?"text-primary-darkblue-500":d,p=(0,i.useState)(!1),h=p[0],g=p[1];return(0,r.jsx)("div",{className:"".concat(l," ").concat(u," p-4 rounded-xl mb-4"),children:(0,r.jsx)(c(),{transitionTime:100,easing:"ease-in-out",onOpen:function(){return g(!0)},onClose:function(){return g(!1)},trigger:(0,r.jsxs)("div",{className:"flex justify-between items-center",children:[(0,r.jsx)("p",{className:"font-bold text-base lg:text-xl pr-4",children:t}),h?(0,r.jsx)(a.Z,{}):(0,r.jsx)(s.Z,{})]}),children:(0,r.jsx)("p",{className:"text-sm lg:text-base mt-2",children:n})})})};t.Z=function(e){var t=e.title,n=void 0===t?"FAQ's":t,i=e.faqs,s=e.button,a=e.bgColor,l=void 0===a?"bg-primary-darkblue-100":a,c=e.textColor,u=void 0===c?"text-primary-darkblue-500":c,p=e.itemBgColor,h=void 0===p?"bg-primary-white-600":p,g=e.itemTextColor,m=void 0===g?"text-primary-darkblue-500":g;return(0,r.jsxs)("section",{className:"".concat(l),children:[n&&(0,r.jsx)("div",{className:"flex flex-col items-center gap-6",children:(0,r.jsx)("h2",{className:"text-3xl lg:text-6xl font-black text-center ".concat(u),children:n})}),(0,r.jsx)("div",{className:"".concat(n?"mt-12 lg:mt-20":""," flex flex-col max-w-7xl mx-auto"),children:i.map((function(e,t){return(0,r.jsx)(d,{question:e.question,answer:e.answer,itemBgColor:h,itemTextColor:m},t)}))}),s&&(0,r.jsx)("div",{className:"flex justify-center mt-8",children:s.href?(0,r.jsx)("a",{href:s.href,children:(0,r.jsx)(o.Z,{color:s.color||"darkblue",colorVariant:s.colorVariant||500,size:"default",onClick:s.onClick,children:s.text})}):(0,r.jsx)(o.Z,{color:s.color||"darkblue",colorVariant:s.colorVariant||500,size:"default",onClick:s.onClick,children:s.text})})]})}},11474:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(85893);n(67294);function i(){return(0,r.jsx)("svg",{width:"10",height:"2",viewBox:"0 0 10 2",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M9 1L1 0.999999",stroke:"#4D69BA",strokeWidth:"2",strokeLinecap:"round"})})}},3955:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(85893);n(67294);function i(){return(0,r.jsxs)("svg",{width:"10",height:"10",viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M9 5L1 5",stroke:"#4D69BA",strokeWidth:"2",strokeLinecap:"round"}),(0,r.jsx)("path",{d:"M5 9L5 1",stroke:"#4D69BA",strokeWidth:"2",strokeLinecap:"round"})]})}},78547:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return T},default:function(){return P}});var r=n(26042),i=n(85893),o=n(9008),s=n.n(o),a=n(76558),l=n(70197),c=n(51434),d=n(67294),u=n(25340),p=function(e){var t=e.stats,n=e.gridCols,r=e.className,o=void 0===r?"":r,s=n||(2===t.length?2:4===t.length?4:3);return(0,i.jsx)("section",{className:"mb-0 xl:mb-20 ".concat(o),children:(0,i.jsx)(u.Z,{className:"py-8 xl:py-20 bg-primary-pink-75 xl:rounded-3xl",children:(0,i.jsx)("div",{className:"grid ".concat(function(){switch(s){case 2:return"grid-cols-2";case 4:return"grid-cols-2 lg:grid-cols-4";default:return"grid-cols-3"}}
1()," divide-x-[3px] divide-primary-darkblue-500"),children:t.map((function(e,t){return(0,i.jsxs)("div",{className:"flex flex-col items-center justify-center py-2 md:py-8 px-4 xl:px-8",children:[(0,i.jsx)("div",{className:"text-xl xl:text-6xl font-black font-display text-primary-darkblue-500 mb-1",children:e.value}),(0,i.jsx)("div",{className:"text-xs font-bold text-primary-darkblue-500 uppercase tracking-wider text-center",children:e.label})]},t)}))})})})},h=n(25675),g=n.n(h),m=n(45827),f={src:"/_next/static/media/calculate-your-rewards.369a7537.webp",height:450,width:820,blurDataURL:"data:image/webp;base64,UklGRnwAAABXRUJQVlA4WAoAAAAQAAAABwAAAwAAQUxQSCEAAAAAmHWHc4SDf4AKCUpEKTULCgcEKUxULAUAVZeBdIqDk0gAVlA4IDQAAADQAQCdASoIAAQAAkA4JYgCdAEO+nG8AAD++pqPu4gF8MDffga6+k7n7eea3sGnsYTSR2AA",blurWidth:8,blurHeight:4},b={src:"/_next/static/media/rewards-Illustration.9c26fcd4.webp",height:788,width:862,blurDataURL:"data:image/webp;base64,UklGRrgAAABXRUJQVlA4WAoAAAAQAAAABwAABgAAQUxQSDkAAAAAAAAERBwAGV4Jmc//7rs/bG3//////97P4P///////4rB///////HEkOr////tjEAA1/YZ+ZHAAAAVlA4IFgAAADwAQCdASoIAAcAAkA4JaACdAEegdg2ZqwA/Pwno0j3f/KTzWgMJIkir9ta8T9ZalabzuV07aVhdlRPgQRaR4sOv0uytSQZYZTFf+2WeEmGT7BxZW7AAAAA",blurWidth:8,blurHeight:7},x=[["7","8","9"],["4","5","6"],["1","2","3"],["AC","0","DEL"]],y=function(){var e=(0,d.useState)("0"),t=e[0],n=e[1],r=function(e){var t=parseFloat(e)||0,n=Math.floor(5*t);return{pointsEarned:n,rewardValue:n/100*1}}(t),o=r.pointsEarned,s=r.rewardValue,a=function(e,r){console.log("test on prod");var o="AC"===e||"DEL"===e;return(0,i.jsx)("button",{onClick:function(){var r;"AC"===(r=e)?n("0"):"DEL"===r?t.length>1?n(t.slice(0,-1)):n("0"):n("0"===t?r:t+r)},className:"font-bold rounded-full py-5 transition flex items-center justify-center ".concat(o?"bg-primary-darkblue-500 text-white text-base lg:text-lg hover:bg-primary-darkblue-400":"bg-primary-white-600 border-2 border-primary-darkblue-500 text-primary-darkblue-500 text-base lg:text-2xl hover:bg-primary-darkblue-100"),children:"DEL"===e?(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"28",height:"19",viewBox:"0 0 28 19",fill:"none",children:(0,i.jsx)("path",{d:"M15.5311 6.8125L20.6978 11.9792M20.6978 6.8125L15.5311 11.9792M23.4038 17.7917H10.1035C9.42981 17.7916 8.78276 17.5283 8.30037 17.058L1.38995 10.3207C1.26653 10.2003 1.16845 10.0565 1.10147 9.89768C1.0345 9.73884 1 9.56821 1 9.39583C1 9.22346 1.0345 9.05282 1.10147 8.89399C1.16845 8.73516 1.26653 8.59134 1.38995 8.471L8.30037 1.73367C8.78276 1.26334 9.42981 1.00007 10.1035 1H23.4038C24.6309 1 26.2752 1.69879 26.2752 3.09896V15.6927C26.2752 17.0929 24.6309 17.7917 23.4038 17.7917Z",stroke:"#FFFFF4",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}):e},"".concat(r,"-").concat(e))};return(0,i.jsx)("section",{className:"py-12 lg:py-20 bg-primary-darkblue-100",children:(0,i.jsx)(u.Z,{children:(0,i.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-8 lg:gap-12",children:[(0,i.jsxs)("div",{className:"flex flex-col max-w-64 lg:max-w-md mx-auto text-center py-0 lg:py-10",children:[(0,i.jsx)("div",{className:"w-full order-2 lg:order-1",children:(0,i.jsx)(g(),{src:f,alt:"",className:"w-full h-full aspect-square"})}),(0,i.jsx)("p",{className:"text-sm lg:text-xl text-primary-darkblue-500 font-medium mt-6 lg:my-6 order-3 lg:order-2",children:"Enter your purchase amount to see how many points you'll earn"}),(0,i.jsx)("div",{className:"w-full max-w-24 lg:max-w-max mb-4 lg:mb-0 mx-auto order-1 lg:order-3",children:(0,i.jsx)(g(),{src:b,alt:"",className:"w-full h-full aspect-square"})})]}),(0,i.jsx)("div",{className:"max-w-xl mx-auto w-full",children:(0,i.jsxs)("div",{className:" bg-primary-white-600 rounded-3xl p-6 lg:p-8 shadow-[5px_5px_0px_rgb(77,105,186)] lg:shadow-[10px_10px_0px_rgb(77,105,186)] relative",children:[(0,i.jsx)("div",{className:"mx-auto w-8 h-8 bg-primary-darkblue-500 rounded-full flex items-center justify-center text-white font-bold text-xl",children:(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"33",height:"33",viewBox:"0 0 33 33",fill:"none",children:[(0,i.jsx)("circle",{cx:"16.5",cy:"16.5",r:"16.5",fill:"#4D69BA"}),(0,i.jsx)("path",{d:"M22.0328 7.48291H20.0199C19.2516 7.48291 18.6284 8.10701 18.6284 8.87642V18.6142C18.6284 19.9537 17.8471 20.792 16.7234 20.792C15.5421 20.792 14.7608 19.9388 14.7608 18.6142V16.0303C14.7608 15.8924 14.7347 15.7638 14.6975 15.6372C14.0631 16.1867 13.2372 16.5221 12.333 16.5221C11.4289 16.5221 10.642 16.2054 10.0151 15.68C9.98531 15.7918 9.96484 15.9092 9.96484 16.0303V18.8583C9.96484 22.6196 12.7479 25.2296 16.7234 25.2296C20.6989 25.2296 23.4243 22.6084 23.4243 18.8583V8.87642C23.4243 8.10701 22.8011 7.48291 22.0328 7.48291Z",fill:"#FFFFF4"}),(0,i.jsx)("path",{d:"M14.5292 10.2088C14.412 10.2088 14.2948 10.2106 14.1776 10.2125C13.764
16 10.2162 13.3702 10.5739 13.3888 11.0024C13.3888 11.0248 13.3647 11.1459 13.3814 11.0769C13.3814 11.0825 13.3795 11.0881 13.3777 11.0918C13.3609 11.1738 13.3386 11.2558 13.3126 11.3359C13.3126 11.3377 13.3126 11.3377 13.3126 11.3396C13.3144 11.3359 13.3182 11.334 13.32 11.334C13.32 11.334 13.3144 11.3415 13.3088 11.3508C13.2828 11.429 13.2828 11.4123 13.294 11.3825C13.2809 11.4104 13.2661 11.4421 13.2642 11.4458C13.2437 11.4831 13.2233 11.5185 13.1991 11.5539C13.1916 11.5669 13.1823 11.5781 13.1749 11.5911C13.173 11.5948 13.1749 11.5911 13.1712 11.5967C13.16 11.6097 13.1489 11.6228 13.1358 11.634C13.1061 11.6656 13.0744 11.6936 13.0447 11.7234C13.0335 11.7346 13.0335 11.7346 13.0261 11.742C12.9963 11.7606 12.9591 11.7811 12.9498 11.7867C12.9405 11.7923 12.9163 11.8109 12.8903 11.8258C12.8642 11.837 12.8363 11.8463 12.8084 11.8538C12.7266 11.8799 12.6429 11.8966 12.5573 11.9115C12.5424 11.9115 12.5219 11.9134 12.4959 11.9153C12.4401 11.9171 12.3824 11.919 12.3266 11.9153C12.3173 11.9153 12.2782 11.9115 12.2447 11.9097C12.2131 11.9041 12.1629 11.8966 12.1517 11.8929C12.1015 11.8817 12.0513 11.8668 12.0029 11.8501C11.9899 11.8463 11.9843 11.8426 11.975 11.8389C11.9378 11.8184 11.8987 11.7998 11.8634 11.7774C11.8466 11.7662 11.8317 11.7588 11.8224 11.7513C11.7722 11.7066 11.7257 11.66 11.6811 11.6116C11.6736 11.6004 11.6197 11.5371 11.6066 11.5147C11.5787 11.4682 11.5564 11.4179 11.5285 11.3713C11.5267 11.3676 11.5248 11.3676 11.5229 11.3638C11.5211 11.3564 11.5192 11.3545 11.5174 11.3452C11.5006 11.2912 11.482 11.239 11.469 11.1831C11.4597 11.1459 11.4522 11.1086 11.4448 11.0732C11.4448 11.0658 11.4336 10.9894 11.4299 10.9484C11.4039 10.5162 11.0895 10.1659 10.6411 10.1585C10.5239 10.1566 10.4067 10.1548 10.2895 10.1529C9.8784 10.1473 9.48029 10.5199 9.50076 10.9428C9.55843 12.1388 10.2095 13.1914 11.3332 13.6497C12.481 14.1192 13.9228 13.754 14.6818 12.7722C15.0836 12.2525 15.2845 11.6451 15.3236 10.9894C15.3496 10.5665 14.9404 10.1939 14.5348 10.1995L14.5292 10.2088ZM12.8828 11.8333C12.8605 11.8463 12.8382 11.8575 12.827 11.8557C12.8493 11.8463 12.868 11.8389 12.8828 11.8333ZM11.9731 11.8482C11.9248 11.8221 11.9248 11.8296 11.9731 11.8482V11.8482Z",fill:"#FFFFF4"})]})}),(0,i.jsxs)("div",{className:"my-5",children:[(0,i.jsx)("label",{htmlFor:"purchase-amount",className:"block text-center text-2xl font-black font-display text-primary-darkblue-500 mb-5",children:"Enter Your Purchase Amount:"}),(0,i.jsxs)("div",{className:"relative",children:[(0,i.jsx)("span",{className:"absolute left-6 top-1/2 transform -translate-y-1/2 text-2xl font-bold text-primary-darkblue-500 z-10",children:"$"}),(0,i.jsx)(m.Z,{id:"purchase-amount",type:"text",value:t,onChange:function(e){var t=e.target.value.replace(/[^0-9]/g,"");n(t)},className:"!text-right !text-3xl !font-bold !text-primary-darkblue-500 !bg-primary-white-600 !border-primary-darkblue-500 !py-4 !pl-12 !pr-6"})]})]}),(0,i.jsx)("div",{className:"grid grid-cols-3 gap-3 my-10",children:x.map((function(e,t){return e.map((function(e){return a(e,t)}))}))}),(0,i.jsxs)("div",{className:"bg-primary-green-50 rounded-2xl p-6 border-2 border-primary-darkblue-500",children:[(0,i.jsxs)("div",{className:"flex justify-between items-center mb-2",children:[(0,i.jsx)("span",{className:"text-base lg:text-lg font-bold text-primary-darkblue-500",children:"Points Earned:"}),(0,i.jsx)("span",{className:"text-base lg:text-2xl font-black text-primary-darkblue-500",children:o})]}),(0,i.jsxs)("div",{className:"flex justify-between items-center mb-4 pb-4 border-b-2 border-primary-darkblue-500",children:[(0,i.jsx)("span",{className:"text-base lg:text-lg font-bold text-primary-darkblue-500",children:"Reward Value:"}),(0,i.jsxs)("span",{className:"text-xl lg:text-3xl font-black text-primary-darkblue-500",children:["$",s.toFixed(2)]})]}),(0,i.jsxs)("p",{className:"text-center text-base lg:text-xl text-primary-darkblue-500",children:[(0,i.jsx)("strong",{children:"Remember:"})," 100 Points = $1.00 In Store Credit"]})]})]})})]})})})},C=n(5040),w=function(){return(0,i.jsx)("div",{className:"bg-primary-darkblue-100 pb-20",children:(0,i.jsxs)(u.Z,{children:[(0,i.jsx)(C.Z,{title:"FAQ's",faqs:[{question:"How do I
1join JoyClub?",answer:"You're automatically enrolled when you place your first order."},{question:"How do I access my points?",answer:"You can access your points through your account dashboard or by clicking the JoyClub button on any page."},{question:"Do my points expire?",answer:"Points remain active as long as you make a purchase at least once every 12 months. We'll send you a reminder before any points expire."},{question:"Can I earn points on subscriptions?",answer:"Yes! You earn 5 points for every $1 spent on both one-time purchases and subscription orders."}],bgColor:"bg-primary-darkblue-100",textColor:"text-primary-darkblue-500",button:{text:"Shop Now, Earn Instantly"}}),(0,i.jsx)("div",{className:"flex mx-auto justify-center items-center mt-8",children:(0,i.jsxs)("div",{className:"inline-flex flex-row gap-3 px-7 py-3 rounded-2xl border-2 border-primary-darkblue-500",children:[(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[(0,i.jsx)("path",{d:"M10.2898 3.86002L1.81978 18C1.64514 18.3024 1.55274 18.6453 1.55177 18.9945C1.55079 19.3438 1.64127 19.6872 1.8142 19.9905C1.98714 20.2939 2.2365 20.5468 2.53748 20.7239C2.83847 20.901 3.18058 20.9962 3.52978 21H20.4698C20.819 20.9962 21.1611 20.901 21.4621 20.7239C21.7631 20.5468 22.0124 20.2939 22.1854 19.9905C22.3583 19.6872 22.4488 19.3438 22.4478 18.9945C22.4468 18.6453 22.3544 18.3024 22.1798 18L13.7098 3.86002C13.5315 3.56613 13.2805 3.32314 12.981 3.15451C12.6814 2.98587 12.3435 2.89728 11.9998 2.89728C11.656 2.89728 11.3181 2.98587 11.0186 3.15451C10.7191 3.32314 10.468 3.56613 10.2898 3.86002V3.86002Z",stroke:"#4D69BA","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}),(0,i.jsx)("path",{d:"M12 9V13",stroke:"#4D69BA","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}),(0,i.jsx)("path",{d:"M12 17H12.01",stroke:"#4D69BA","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})]}),(0,i.jsx)("p",{className:"text-primary-darkblue-500",children:"Rewards are redeemable as Joyspring store credit. Points hold no cash value."})]})})]})})},v=n(9053),j=n(90414),k=n(79570),A=n(60561),N=[{iconPath:{src:"/_next/static/media/show_earn.a5fbb090.svg",height:112,width:101},title:"Shop & Earn",description:"Earn 5 points for every $1 spent on JoySpring products. Points are automatically added to your account."},{iconPath:{src:"/_next/static/media/watch_points_grow.d68d9580.svg",height:112,width:129},title:"Watch Points Grow",description:"Track your points in your account dashboard. Get bonus points during special events and promotions."},{iconPath:{src:"/_next/static/media/redeem_rewards.0e469a96.svg",height:112,width:129},title:"Redeem Rewards",description:"Use 100 points = $1 off your next order. Redeem anytime during checkout for instant savings."}],_=[{iconPath:{src:"/_next/static/media/automatic_rewards.b774228b.svg",height:123,width:109},title:"Automatic Rewards",description:"No need to register \u2014 points start with your first order.",iconBgColor:"pink",iconBgColorVariant:250,iconBorderColor:"darkblue",iconBorderColorVariant:500},{iconPath:{src:"/_next/static/media/easy_dashboard_access.79caf5b6.svg",height:124,width:117},title:"Easy Dashboard Access",description:"Click the floating JoyClub button on any page.",iconBgColor:"pink",iconBgColorVariant:250,iconBorderColor:"darkblue",iconBorderColorVariant:500},{iconPath:{src:"/_next/static/media/bonus_surprices.aca66d16.svg",height:112,width:100},title:"Bonus Surprises",description:"Birthday perks, double-point events & early product access.",iconBgColor:"pink",iconBgColorVariant:250,iconBorderColor:"darkblue",iconBorderColorVariant:500},{iconPath:{src:"/_next/static/media/email_notifications.3d1dd4f9.svg",height:123,width:111},title:"Email Notifications",description:"Get notified when you earn or redeem points.",iconBgColor:"pink",iconBgColorVariant:250,iconBorderColor:"darkblue",iconBorderColorVariant:500}],O=[{value:"50K+",label:"Active Members"},{value:"$2M+",label:"Rewards Earned"},{value:"98%",label:"Satisfaction Rate"}],T=!0,P=function(e){return(0,i.jsxs)(a.ZP,{children:[(0,i.jsxs)(s(),{children:[(0,i.jsx)("title",{children:"JoyClub - Earn points with every order. Redeem them for exclusive savings."}),(0,i.jsx)("meta",{name:"description",content:"Join JoyClub and become part of the Joyspring family. Enjoy exclusive member benefits, special discounts, and access to premium children's supplements backed by science."})]}),(0,i.jsx)(l.Z,{id:"hero-banner",children:e.bannerProps.defaultBanner&&(0,i.jsx)(v.Z,{})||(0,i.jsx)(A.Z,{children:(0,i.jsx)(k.Z,{children:(0,i.jsx)(j.b,(0,r.Z)({},e.bannerProps))})})}),(0,i.jsx)(c.Z,{title:"How JoyClub Works",badges:N,theme:{bgColor:"bg-primary-darkblue-500",textColor:"text-white"},showNumbers:!0,button:{text:"Shop Now, Earn Instantly",href:"#",color:"pink",colorVariant:350}}),(0,i.jsx)(c.Z,{title:"Reasons why you will love it JoyClub",badges:_,theme:{bgColor:"bg-primary-white-600",textColor:"text-primary-darkblue-500"},mobileLayout:"grid",button:{text:"Join With Your First Purchase",href:"#",color:"darkblue",colorVariant:500}}),(0,i.jsx)(p,{stats:O,gridCols:3}),(0,i.jsx)(y,{}),(0,i.jsx)(w,{})]})}},97893:function(e,t,n){var r;e.exports=(r=n(67294),function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}
1),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=4)}([function(e,t,n){e.exports=n(2)()},function(e,t){e.exports=r},function(e,t,n){"use strict";var r=n(3);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,s){if(s!==r){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i}
vendor: 7,717 bytes, line 1
1;return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";n.r(t);var r=n(1),i=n.n(r),o=n(0),s=n.n(o),a=function(e){return 0!==e};function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){return(u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function p(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=m(e);if(t){var i=m(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return h(this,n)}}function h(e,t){if(t&&("object"===c(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return g(e)}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var b=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&u(e,t)}(s,e);var t,n,r,o=p(s);function s(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),f(g(t=o.call(this,e)),"continueOpenCollapsible",(function(){var e=g(t).innerRef;t.setState({height:e.scrollHeight,transition:"height ".concat(t.props.transitionTime,"ms ").concat(t.props.easing),isClosed:!1,hasBeenOpened:!0,inTransition:a(e.scrollHeight),shouldOpenOnNextCycle:!1})})),f(g(t),"handleTriggerClick",(function(e){t.props.triggerDisabled||t.state.inTransition||(e.preventDefault(),t.props.handleTriggerClick?t.props.handleTriggerClick(t.props.accordionPosition):!0===t.state.isClosed?(t.openCollapsible(),t.props.onOpening(),t.props.onTriggerOpening()):(t.closeCollapsible(),t.props.onClosing(),t.props.onTriggerClosing()))})),f(g(t),"handleTransitionEnd",(function(e){e.target===t.innerRef&&(t.state.isClosed?(t.setState({inTransition:!1}),t.props.onClose()):(t.setState({height:"auto",overflow:t.props.overflowWhenOpen,inTransition:!1}),t.props.onOpen()))})),f(g(t),"setInnerRef",(function(e){return t.innerRef=e})),t.timeout=void 0,t.contentId=e.contentElementId||"collapsible-content-".concat(Date.now()),t.triggerId=e.triggerElementProps.id||"collapsible-trigger-".concat(Date.now()),e.open?t.state={isClosed:!1,shouldSwitchAutoOnNextCycle:!1,height:"auto",transition:"none",hasBeenOpened:!0,overflow:e.overflowWhenOpen,inTransition:!1}:t.state={isClosed:!0,shouldSwitchAutoOnNextCycle:!1,height:0,transition:"height ".concat(e.transitionTime,"ms ").concat(e.easing),hasBeenOpened:!1,overflow:"hidden",inTransition:!1},t}return t=s,(n=[{key:"componentDidUpdate",value:function(e,t){var n=this;this.state.shouldOpenOnNextCycle&&this.continueOpenCollapsible(),"auto"!==t.height&&0!==t.height||!0!==this.state.shouldSwitchAutoOnNextCycle||(window.clearTimeout(this.timeout),this.timeout=window.setTimeout((function(){n.setState({height:0,overflow:"hidden",isClosed:!0,shouldSwitchAutoOnNextCycle:!1})}),50)),e.open!==this.props.open&&(!0===this.props.open?(this.openCollapsible(),this.props.onOpening()):(this.closeCollapsible(),this.props.onClosing()))}},{key:"componentWillUnmount",value:function(){window.clearTimeout(this.timeout)}},{key:"closeCollapsible",value:function(){var e=this.innerRef;this.setState({shouldSwitchAutoOnNextCycle:!0,height:e.scrollHeight,transition:"height ".concat(this.props.transitionCloseTime?this.props.transitionCloseTime:this.props.transitionTime,"ms ").concat(this.props.easing),inTransition:a(e.scrollHeight)})}},{key:"openCollapsible",value:function(){this.setState({inTransition:a(this.innerRef.scrollHeight),shouldOpenOnNextCycle:!0})}},{key:"renderNonClickableTriggerElement",value:function(){var e=this.props,t=e.triggerSibling,n=e.classParentString;if(!t)return null;switch(c(t)){case"string":return i.a.createElement("span",{className:"".concat(n,"__trigger-sibling")},t);case"function":return t();case"object":return t;default:return null}}},{key:"render",value:function(){var e=this,t={height:this.state.height,WebkitTransition:this.state.transition,msTransition:this.state.transition,transition:this.state.transition,overflow:this.state.overflow},n=this.state.isClosed?"is-closed":"is-open",r=this.props.triggerDisabled?"is-disabled":"",o=!1===this.state.isClosed&&void 0!==this.props.triggerWhenOpen?this.props.triggerWhenOpen:this.props.trigger,s=this.props.contentContainerTagName,a=this.props.triggerTagName,c=this.props.lazyRender&&!this.state.hasBeenOpened&&this.state.isClosed&&!this.state.inTransition?null:this.props.children,d=this.props,u=d.classParentString,p=d.contentOuterClassName,h=d.contentInnerClassName,g="".concat(u,"__trigger ").concat(n," ").concat(r," ").concat(this.state.isClosed?this.props.triggerClassName:this.props.triggerOpenedClassName),m="".concat(u," ").concat(this.state.isClosed?this.props.className:this.props.openedClassName),f="".concat(u,"__contentOuter ").concat(p),b="".concat(u,"__contentInner ").concat(h);return i.a.createElement(s,l({className:m.trim()},this.props.containerElementProps),i.a.createElement(a,l({id:this.triggerId,className:g.trim(),onClick:this.handleTriggerClick,style:this.props.triggerStyle&&this.props.triggerStyle,onKeyPress:function(t){var n=t.key;(" "===n&&"button"!==e.props.triggerTagName.toLowerCase()||"Enter"===n)&&e.handleTriggerClick(t)},tabIndex:this.props.tabIndex&&this.props.tabIndex,"aria-expanded":!this.state.isClosed,"aria-disabled":this.props.triggerDisabled,"aria-controls":this.contentId,role:"button"},this.props.triggerElementProps),o),this.renderNonClickableTriggerElement(),i.a.createElement("div",{id:this.contentId,className:f.trim(),style:t,onTransitionEnd:this.handleTransitionEnd,ref:this.setInnerRef,hidden:this.props.contentHiddenWhenClosed&&this.state.isClosed&&!this.state.inTransition,role:"region","aria-labelledby":this.triggerId},i.a.createElement("div",{className:b.trim()},c)))}}])&&d(t.prototype,n),r&&d(t,r),Object.defineProperty(t,"prototype",{writable:!1}),s}(r.Component);b.propTypes={transitionTime:s.a.number,transitionCloseTime:s.a.number,triggerTagName:s.a.string,easing:s.a.string,open:s.a.bool,containerElementProps:s.a.object,triggerElementProps:s.a.object,contentElementId:s.a.string,classParentString:s.a.string,className:s.a.string,openedClassName:s.a.string,triggerStyle:s.a.object,triggerClassName:s.a.string,triggerOpenedClassName:s.a.string,contentOuterClassName:s.a.string,contentInnerClassName:s.a.string,accordionPosition:s.a.oneOfType([s.a.string,
1s.a.number]),handleTriggerClick:s.a.func,onOpen:s.a.func,onClose:s.a.func,onOpening:s.a.func,onClosing:s.a.func,onTriggerOpening:s.a.func,onTriggerClosing:s.a.func,trigger:s.a.oneOfType([s.a.string,s.a.element]),triggerWhenOpen:s.a.oneOfType([s.a.string,s.a.element]),triggerDisabled:s.a.bool,lazyRender:s.a.bool,overflowWhenOpen:s.a.oneOf(["hidden","visible","auto","scroll","inherit","initial","unset"]),contentHiddenWhenClosed:s.a.bool,triggerSibling:s.a.oneOfType([s.a.string,s.a.element,s.a.func]),tabIndex:s.a.number,contentContainerTagName:s.a.string,children:s.a.oneOfType([s.a.string,s.a.element])},b.defaultProps={transitionTime:400,transitionCloseTime:null,triggerTagName:"span",easing:"linear",open:!1,classParentString:"Collapsible",triggerDisabled:!1,lazyRender:!1,overflowWhenOpen:"hidden",contentHiddenWhenClosed:!1,openedClassName:"",triggerStyle:null,triggerClassName:"",triggerOpenedClassName:"",contentOuterClassName:"",contentInnerClassName:"",className:"",triggerSibling:null,onOpen:function(){},onClose:function(){},onOpening:function(){},onClosing:function(){},onTriggerOpening:function(){},onTriggerClosing:function(){},tabIndex:null,contentContainerTagName:"div",triggerElementProps:{}},t.default=b}]))}},function(e){e.O(0,[4790,6255,2650,6558,6287,5871,9774,2888,179],(function(){return t=20967,e(e.s=t);var t}));var t=e.O();_N_E=t}]);
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.