PageSourceSearch

https://cdn.shapermint.com/ssr/v8.48.18/_next/static/chunks/pages/pages/join-club-703e882fdc076730.js

js shapermint.com collected 2026-09-24 08:55:37 UTC 6,781 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4930],{39016:function(t,e,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/pages/join-club",function(){return i(77412)}])},46590:function(t,e,i){"use strict";i.d(e,{g:function(){return c}});var n=i(67294),s=i(11163),a=i(8077),l=i(87027),o=i(61867),r=i(99397);let c=t=>{let{locale:e}=(0,s.useRouter)(),{localePrefix:i}=(0,o.Cm)(e),{isClubMember:c}=(0,l.q3)(),d=(0,r.Z)()&&!(0,a.xK)(e,c);return(0,n.useEffect)(()=>{d&&globalThis.location.assign("".concat(i).concat(t))},[d,i,t]),d}},37069:function(t,e,i){"use strict";i.d(e,{i:function(){return c}});var n=i(67294),s=i(11163),a=i(87027),l=i(310),o=i(61867),r=i(99397);let c=t=>{let{locale:e}=(0,s.useRouter)(),{localePrefix:i}=(0,o.Cm)(e),{isClubMember:c}=(0,a.q3)(),d=(0,r.Z)()&&!(0,l.l)({locale:e,isClubMember:c});return(0,n.useEffect)(()=>{d&&globalThis.location.assign("".concat(i).concat(t))},[d,i,t]),d}},77412:function(t,e,i){"use strict";i.r(e),i.d(e,{__N_SSP:function(){return U},default:function(){return D}});var n=i(85893),s=i(67294),a=i(11163),l=i(61867),o=i(92490),r=i(60814),c=i(80496),d=i(19927),_=i(83566),u=i(5793),h=i(87248),m=i(12420),g=i(95820),x=i(63013),T=i(28175),p=i.n(T),b=i(5785),v=t=>{let{title:e,discountDescription:i,discountText:o,detailsTitle:c,buttomText:T,termsAndConditionsLink:v,imageLink:C,details:f,subscriptionProduct:y,onTrySubscription:N,disableAddToCartCta:j}=t,{addItems:w,showCart:E}=(0,g.gV)(),[k,A]=(0,s.useState)(!1),O=(0,g.KO)(),{locale:S}=(0,a.useRouter)();(0,s.useEffect)(()=>{var t;y&&A(null==O?void 0:null===(t=O.items)||void 0===t?void 0:t.some(t=>(null==t?void 0:t.title)===(null==y?void 0:y.title)))},[null==O?void 0:O.items,null==y?void 0:y.title]);let L=(0,s.useCallback)(async()=>{if(!y)return;let t=y.variations_definition.product_variations[0];try{w((0,b.mT)({product:y,variant:t,quantity:1})),E();let{currencyCode:e}=(0,l.Cm)(S);(0,x.lQ)((0,m.$g)(y,t,1,e))}catch(t){console.error("[ClubMembershipSubsription/addToCart]:",t)}},[y,w,E]);return(0,n.jsxs)("div",{className:p().container,children:[(0,n.jsx)(r.x,{variant:"heading3",weight:"bold",className:p().title,children:e}),(0,n.jsxs)("div",{className:p().content_container,children:[(0,n.jsxs)("div",{className:p().left_container,children:[(0,n.jsx)(r.x,{variant:"heading5",weight:"demi",className:p().discountDescription,children:i}),(0,n.jsx)(r.x,{variant:"body",weight:"regular",style:{fontSize:"14px"},children:o}),(0,n.jsx)("div",{className:p().img_container,children:(0,n.jsx)(u.E,{className:p().image,src:C,alt:"#",width:"350px",height:"298px"})})]}),(0,n.jsxs)("div",{className:p().right_container,children:[(0,n.jsx)(r.x,{variant:"heading4",weight:"bold",className:p().detailsTitle,children:c}),(0,n.jsx)("div",{className:p().details_list,children:f.map((t,e)=>(0,n.jsxs)("div",{className:p().details_container,children:[(0,n.jsx)("div",{className:p().details_icon,children:(0,n.jsx)(_.J.Actions.Check,{width:1.2,height:1.2,fill:"var(--colors-pallete-secondary-color)"})}),(0,n.jsx)(r.x,{variant:"body",weight:"regular",children:t})]},e))})]})]}),(0,n.jsx)("div",{className:p().buttom_container,children:(0,n.jsx)(h.Z,{disabled:null!=j?j:k,className:p().try_button,text:T,wide:!0,size:d.dr.Large,onClick:null!=N?N:L,testId:"want-to-try-button"})}),(0,n.jsx)(r.x,{variant:"link",weight:"regular",underline:!0,href:v,className:p().termsAndConditionsLink,style:{fontSize:"12px",textAlign:"center"},children:"See Terms & Conditions here"})]})},C=i(57742),f=i(20243),y=t=>{let{pageTitle:e,cardTitle:i,discountDescription:s,discountText:a,detailsTitle:l,buttomText:u,termsAndConditionsLink:h,imageLink:m,details:g,subscriptionProduct:x,onTrySubscription:T,disableAddToCartCta:p}=t,{isMobile:b}=(0,o.d)(),{translate:y,TRANSLATION_KEYS:N}=(0,f.T)(),j={width:b?"22px":"24px",height:b?"22px":"24px"};return(0,n.jsxs)(C.Z,{children:[(0,n.jsxs)(r.x,{variant:"heading3",weight:"demi",style:{marginBottom:"30px"},children:[b&&(0,n.jsx)(c.h,{onClick:()=>{globalThis.location.assign("/account/home")},"aria-label":y(N.COMMON.BUTTONS_GO_BACK),backgroundColor:{active:"transparent",hover:"transparent"},size:d.dr.Small,style:{marginRight:"10px"},children:(0,n.jsx)(_.J.Arrows.ChevronLeft,{width:j.width,height:j.height,"aria-hidden":"true"})}),e]}),(0,n.jsx)(v,{title:i,discountDescription:s,discountText:a,detailsTitle:l,buttomText:u,termsAndConditionsLink:h,imageLink:m,details:g,subscriptionProduct:x,onTrySubscription:T,disableAddToCartCta:p})]})},N=i(689),j=i(595),w=i(49866),E=i(46590),k=i(37069),A=i(13931),O=i(6543);let S=t=>{let{isClub90:e,subscriptionPrice:i,translate:n}=t;return n(e?O.k.JOIN_CLUB_DISCOUNT_TEXT_90_DAYS:O.k.JOIN_CLUB_DISCOUNT_TEXT_MONTHLY,{subscriptionPrice:i})};var L=i(37455),U=!0,D=()=>{let t=(0,E.g)("/account/home"),e=(0,k.i)("/account/home"),{locale:i}=(0,a.useRouter)(),{translate:s,TRANSLATION_KEYS:o}=(0,f.T)(),{localePrefix:r,countrySubs:c,currencyFormat:d}=(0,l.Cm)(i),{saleUrl:_="".concat(r,"/collections/sale")}=(0,w.Vs)(),{isClubInCart:u,saveProductToStorageOrCart:h,skipRedirection:m}=(0,j.V)({isUsedInCart:!1}),g=c.find(t=>t.name.includes("club_membership")),x=(null==g?void 0:g.fee)?"".concat(d).concat(g.fee):"$4.99",T=(null==g?void 0:g.save)?"".concat(d).concat(g.save):"$9.95",p=(null==g?void 0:g.perks)||N.OK,b=(0,L.S)(i),v=(0,A._)(i),C=S({isClub90:b,subscriptionPrice:x,translate:s}),O=async()=>
1{if(u){globalThis.location.assign(_);return}await h(),m||globalThis.location.assign(_)};return t||e?null:(0,n.jsx)(y,{pageTitle:"Club Membership",cardTitle:"Try our Club Membership for FREE for ".concat(v," Days"),discountDescription:"And Save ".concat(T," on FREE Shipping on every order!"),discountText:C,detailsTitle:s(o.ACCOUNT.JOIN_CLUB_DETAILS_TITLE),buttomText:s(o.ACCOUNT.JOIN_CLUB_BUTTON_TEXT),termsAndConditionsLink:"".concat(r,"/pages/shapermint-terms-and-conditions"),imageLink:"https://theme.zdassets.com/theme_assets/1507515/c9504f39d5671ea9d6c31ae5340c88eaaed2ad3b.jpg",details:p,onTrySubscription:O,disableAddToCartCta:u})}},28175:function(t){t.exports={container:"styles_container__3g8ix",content_container:"styles_content_container__ghMcU",left_container:"styles_left_container__4V4p5",right_container:"styles_right_container__mYKmd",discountDescription:"styles_discountDescription___KeGZ",title:"styles_title__sqWM_",detailsTitle:"styles_detailsTitle__AXFKR",termsAndConditionsLink:"styles_termsAndConditionsLink__ojo_y",img_container:"styles_img_container__t6bJt",image:"styles_image__gTrEY",buttom_container:"styles_buttom_container__uWbEj",try_button:"styles_try_button__6Efrp",details_list:"styles_details_list__TD62h",details_container:"styles_details_container__3PRoX",details_icon:"styles_details_icon__RNWxB"}}},function(t){t.O(0,[2821,38,2888,9774,179],function(){return t(t.s=39016)}),_N_E=t.O()}]);

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.