1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7457],{15937:function(e,t,a){Promise.resolve().then(a.bind(a,65467)),Promise.resolve().then(a.t.bind(a,43380,23)),Promise.resolve().then(a.bind(a,80857)),Promise.resolve().then(a.bind(a,38319)),Promise.resolve().then(a.bind(a,73759)),Promise.resolve().then(a.bind(a,63914)),Promise.resolve().then(a.bind(a,97813)),Promise.resolve().then(a.bind(a,15277)),Promise.resolve().then(a.bind(a,69811)),Promise.resolve().then(a.bind(a,55012)),Promise.resolve().then(a.bind(a,79372)),Promise.resolve().then(a.t.bind(a,85028,23)),Promise.resolve().then(a.bind(a,49197)),Promise.resolve().then(a.t.bind(a,88003,23)),Promise.resolve().then(a.t.bind(a,61692,23)),Promise.resolve().then(a.t.bind(a,94783,23))},65467:function(e,t,a){"use strict";a.d(t,{MenuButton:function(){return r}});var n=a(57437),i=a(2265),l=a(37867);function s(e){let{open:t,onClose:a,target:s="v2"}=e,r=(0,i.useRef)(null),o=(0,l.s6)(s),c=(0,l.GV)(s);(0,i.useEffect)(()=>{let e=r.current;e&&(t&&!e.open&&e.showModal(),!t&&e.open&&e.close())},[t]);let d=(0,i.useCallback)(e=>{e.preventDefault(),a()},[a]);return(0,n.jsxs)("dialog",{ref:r,className:"v2-nav","aria-label":"Main navigation",onCancel:d,onClose:a,"data-figma-node":"6526:2598",children:[(0,n.jsx)("img",{className:"v2-nav__sensation",src:"/v2/sensation.svg",alt:"","aria-hidden":"true"}),(0,n.jsxs)("div",{className:"v2-nav__head","data-figma-node":"6526:2600",children:[(0,n.jsxs)("div",{className:"v2-nav__bar","data-figma-node":"6526:2601",children:[(0,n.jsx)("a",{className:"v2-logo-link",href:(0,l.yJ)(s),"aria-label":"The Ice Bath Club â home",onClick:a,children:(0,n.jsx)("img",{className:"v2-nav__logo",src:"/v2/tibc-logo.svg",alt:"","data-figma-node":"6549:4122"})}),(0,n.jsxs)("div",{className:"v2-nav__actions","data-figma-node":"6526:2603",children:[(0,n.jsx)("a",{className:"v2-nav__ig",href:l._v,"aria-label":"The Ice Bath Club on Instagram","data-figma-node":"6526:2604",children:(0,n.jsx)("img",{src:"/v2/icons/instagram.svg",alt:""})}),(0,n.jsx)("button",{type:"button",autoFocus:!0,className:"v2-nav__close","aria-label":"Close menu",onClick:a,"data-figma-node":"6526:2607",children:(0,n.jsx)("img",{src:"/v2/icons/close.svg",alt:""})})]})]}),(0,n.jsxs)("div",{className:"v2-nav__links","data-figma-node":"6526:2610",children:[(0,n.jsx)("nav",{className:"v2-nav__primary","data-figma-node":"6526:2611",children:o.map(e=>(0,n.jsx)("a",{href:e.href,onClick:a,children:e.label},e.label))}),(0,n.jsx)("nav",{className:"v2-nav__secondary","data-figma-node":"6526:2615",children:c.map(e=>(0,n.jsx)("a",{href:e.href,onClick:a,children:e.label},e.label))})]})]}),(0,n.jsxs)("div",{className:"v2-nav__foot","data-figma-node":"6526:2616",children:[(0,n.jsx)("a",{className:"v2-nav__cta",href:l.FX,"data-figma-node":"6526:2617",children:"Get the TIBC app â"}),(0,n.jsxs)("p",{className:"v2-nav__hours","data-figma-node":"6526:2619",children:[l.Iw.lines.map(e=>(0,n.jsx)("b",{children:e},e)),l.Iw.note]}),(0,n.jsx)("nav",{className:"v2-nav__legal",children:l.nB.map(e=>(0,n.jsx)("a",{href:e.href,onClick:a,children:e.label},e.label))})]})]})}function r(e){let{nodeId:t,desktopNodeId:a,target:l="v2"}=e,[r,o]=(0,i.useState)(!1);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("button",{type:"button",className:"v2-hero__menu","aria-label":"Open menu","aria-expanded":r,onClick:()=>o(!0),"data-figma-node":t,"data-figma-desktop-node":a,children:(0,n.jsx)("img",{className:"v2-hero__menu-icon",src:"/v2/icons/icon-bars.svg",alt:""})}),(0,n.jsx)(s,{open:r,onClose:()=>o(!1),target:l})]})}},37867:function(e,t,a){"use strict";a.d(t,{FX:function(){return f},GV:function(){return m},Iw:function(){return g},KO:function(){return l},_v:function(){return p},nB:function(){return h},s6:function(){return x},yJ:function(){return o}});let n="/clubs",i="/pricing",l="/gifting",s="/corporate-wellness",r="/contact",o=function(){return arguments.length>0&&void 0!==arguments[0]&&arguments[0],"/"},c=[{label:"Clubs",v2:n,live:n},{label:"Pricing",v2:i,live:i},{label:"Gifting",v2:l,live:l},{label:"Corporate",v2:s,live:s}],d=[{label:"Groups",v2:"#groups",live:"/groups"},{label:"Franchise",v2:"#franchise",live:"/franchise"},{label:"Careers",v2:"/v2/careers",live:"/careers"},{label:"Ventures",v2:"#ventures",live:"/ventures"},{label:"FAQs",v2:"#faqs",live:"/faqs"},{label:"About",v2:"#about",live:"/about"},{label:"Contact",v2:r,live:r}],u=(e,t)=>
1e.map(e=>{let{label:a,v2:n,live:i}=e;return{label:a,href:"live"===t?i:n}}).filter(e=>null!==e.href),x=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"v2";return u(c,e)},m=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"v2";return u(d,e)};x(),m();let h=[{label:"Terms",href:"/terms"},{label:"Privacy",href:"/privacy"}],p="/v2/go/instagram",f="https://qrkit.co/_oBHFn",g={lines:["Open daily, 7AM â 10PM","No booking required."],note:"We provide bathers, towels, training and hydration."}},10536:function(e,t,a){"use strict";a.d(t,{Lh:function(){return c},PO:function(){return r},Qr:function(){return i},Xq:function(){return d},bs:function(){return l},qh:function(){return o},wg:function(){return s}});var n=a(93915);let i=(0,n.cn)({state:!1,color:""}),l=(0,n.cn)({id:"",offset:0,duration:.5,easing:e=>e<.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2}),s=(0,n.cn)(!1);(0,n.cn)(!1),(0,n.cn)(!1);let r=(0,n.cn)(!1),o=(0,n.cn)(!1),c=(0,n.cn)(0),d=(0,n.cn)()},69811:function(e,t,a){"use strict";a.d(t,{default:function(){return o}});var n=a(57437),i=a(62778),l=a(94508),s=a(92964),r=a(10536);function o(){let e=(0,s.Dv)(r.Qr);return(0,n.jsx)(i.EA.div,{variants:c,initial:"initial",animate:e.state?"animate":"exit",className:(0,l.cn)("bg-boozyZinfandel-p3 pointer-events-none fixed inset-0 z-[500] h-full w-full",e.color)})}let c={initial:{opacity:0}
1,animate:{opacity:1,transition:{ease:"easeInOut",duration:.7}},exit:{opacity:0,transition:{delay:.4,ease:"easeOut",duration:.4}}}},55012:function(e,t,a){"use strict";a.d(t,{default:function(){return l}});var n=a(57437),i=a(92964);function l(e){let{children:t}=e;return(0,n.jsx)(i.zt,{children:t})}},79372:function(e,t,a){"use strict";var n=a(57437),i=a(2265),l=a(99376),s=a(26892),r=a(10536),o=a(92964);t.default=function(e){let{children:t}=e,a=(0,i.useRef)(),c=(0,o.Dv)(r.bs),d=(0,l.usePathname)();(0,i.useEffect)(()=>{setTimeout(()=>{if(null==a?void 0:a.current){var e;null===(e=a.current.lenis)||void 0===e||e.scrollTo(0,{immediate:!0})}},100)},[d]),(0,i.useEffect)(()=>{if(c.id){var e,t;null===(t=a.current)||void 0===t||null===(e=t.lenis)||void 0===e||e.scrollTo(c.id,{offset:-c.offset,duration:c.duration,easing:c.easing,lerp:.2})}},[c]);let[u,x]=(0,i.useState)("");return(0,i.useEffect)(()=>{var e=new MutationObserver(function(e){e.forEach(function(e){x(e.target.style[0])})}),t=document.querySelector("body");e.observe(t,{attributes:!0,attributeFilter:["style"]})},[]),(0,n.jsx)(s.pi,{ref:a,root:!0,options:{lerp:.15,smoothWheel:!u},children:t})}},58783:function(e,t,a){"use strict";a.d(t,{Z:function(){return r}});var n=a(57437),i=a(94508),l=a(53974),s=a(5606);function r(e){var t;let{children:a,className:r,cornerRadius:o,noCornerSmoothing:c,noBottomCornerSmoothing:d,mobileCornerRadius:u}=e,{width:x}=(0,l.iP)();if(c)return(0,n.jsx)("div",{className:(0,i.cn)(r),children:a});let m=null!==(t=x&&x<640?(null!=o?o:0)/2:o)&&void 0!==t?t:0;return u?(0,n.jsx)(s.A6,{style:d?{borderTopLeftRadius:m,borderTopRightRadius:m}:{borderRadius:m},className:(0,i.cn)("overflow-hidden",r),cornerRadius:x&&x<640?u:null!=o?o:12,bottomRightCornerRadius:d?0:void 0,bottomLeftCornerRadius:d?0:void 0,children:a}):(0,n.jsx)(s.A6,{style:d?{borderTopLeftRadius:m,borderTopRightRadius:m}:{borderRadius:m},className:(0,i.cn)("overflow-hidden",r),cornerRadius:o&&16!==o?x&&x<640?o/2:o:0==o?0:o?16:x&&x<640?16:28,bottomRightCornerRadius:d?0:void 0,bottomLeftCornerRadius:d?0:void 0,children:a})}},1924:function(e,t,a){"use strict";a.d(t,{Z:function(){return l}});var n=a(57437),i=a(33145);function l(e){var t,a,l,s;let{image:r,className:o,sizes:c,priority:d=!1}=e;return(null==r?void 0:null===(t=r.asset)||void 0===t?void 0:t.url)?(0,n.jsx)(i.default,{src:r.asset.url,width:null===(a=r.asset.metadata.dimensions)||void 0===a?void 0:a.width,height:null===(l=r.asset.metadata.dimensions)||void 0===l?void 0:l.height,alt:null!==(s=r.alt)&&void 0!==s?s:"Image",placeholder:"blur",blurDataURL:r.asset.metadata.lqip,className:o,sizes:c,priority:d}):null}},80857:function(e,t,a){"use strict";var n=a(2265),i=a(99376),l=a(10536),s=a(92964);let r="hapana-widget-script";t.default=()=>{let[e,t]=(0,s.KO)(l.wg),a=(0,i.usePathname)();return(0,n.useEffect)(()=>{(()=>{let e=document.getElementById(r);e&&e.remove()})(),(()=>{let e=document.createElement("script");
1e.id=r,e.src="https://widget.hapana.com/hapana_widget.js",e.async=!0,document.body.appendChild(e)})(),t(!1)},[a,e]),null}},38319:function(e,t,a){"use strict";a.d(t,{default:function(){return x}});var n=a(57437),i=a(2265),l=a(71953),s=a(62778),r=a(35318),o=a(58783),c=a(71458),d=a(94508),u=a(26295);function x(){let[e,t]=(0,i.useState)([]),[a,x]=(0,i.useState)(!0),[f,g]=(0,i.useState)(null),[v,A]=(0,i.useState)([]),[b,w]=(0,i.useState)(!0),[y,j]=(0,i.useState)(null),[N,E]=(0,i.useState)([]),[I,_]=(0,i.useState)(!0),[R,C]=(0,i.useState)(null),[k,O]=(0,i.useState)([]),[S,M]=(0,i.useState)(!0),[V,B]=(0,i.useState)(null),P=(0,i.useRef)(null),[Q,U]=(0,i.useState)("singapore");return((0,i.useEffect)(()=>{let e=async()=>{try{let e=await fetch("/api/instagram/hk");if(!e.ok)throw Error("Failed to fetch Instagram posts");let t=await e.json();if(null==t?void 0:t.items)A(t.items);else throw Error("Invalid response from API")}catch(e){j(e.message)}finally{w(!1)}},a=async()=>{try{let e=await fetch("/api/instagram/th");if(!e.ok)throw Error("Failed to fetch Instagram posts");let t=await e.json();if(null==t?void 0:t.items)E(t.items);else throw Error("Invalid response from API")}catch(e){C(e.message)}finally{_(!1)}},n=async()=>{try{let e=await fetch("/api/instagram/ind");if(!e.ok)throw Error("Failed to fetch Instagram posts");let t=await e.json();if(null==t?void 0:t.items)O(t.items);else throw Error("Invalid response from API")}catch(e){B(e.message)}finally{M(!1)}};(async()=>{try{let e=await fetch("/api/instagram");if(!e.ok)throw Error("Failed to fetch Instagram posts");let a=await e.json();if(null==a?void 0:a.items)t(a.items);else throw Error("Invalid response from API")}catch(e){g(e.message)}finally{x(!1)}})(),e(),a(),n()},[]),a||f)?"":(0,n.jsx)("div",{className:"overflow-x-hidden",children:(0,n.jsxs)("section",{ref:P,className:"pb-28 md:pb-32 xxl:pb-52",children:[(0,n.jsxs)(s.EA.div,{variants:m,viewport:{once:!0},initial:"initial",whileInView:"animate",className:"contained mb-5 flex flex-row flex-wrap items-center gap-x-3 gap-y-1 text-center md:mb-10 md:gap-5",children:[(0,n.jsx)(l.T,{variants:r.M9,initial:"initial",whileInView:"animate",viewport:{once:!0},as:"h2",textStyle:"body",children:"Follow us:"}),(0,n.jsx)("button",{onClick:()=>U("singapore"),children:(0,n.jsx)(c.xv,{as:"h3",textStyle:"body",className:(0,d.cn)("font-extrabold text-depth/20 transition duration-300 hover:text-depth",{"text-depth":"singapore"==Q}),children:"Singapore"})}),(0,n.jsx)("button",{onClick:()=>U("hong-kong"),children:(0,n.jsx)(c.xv,{as:"h3",textStyle:"body",className:(0,d.cn)("font-extrabold text-depth/20 transition duration-300 hover:text-depth",{"text-depth":"hong-kong"==Q}),children:"Hong Kong"})}),(0,n.jsx)("button",{onClick:()=>U("thailand"),children:(0,n.jsx)(c.xv,{as:"h3",textStyle:"body",className:(0,d.cn)("font-extrabold text-depth/20 transition duration-300 hover:text-depth",{"text-depth":"thailand"==Q}),children:"Thailand"})}),(0,n.jsx)("button",{onClick:()=>U("indonesia"),children:(0,n.jsx)(c.xv,{as:"h3",textStyle:"body",className:(0,d.cn)("font-extrabold text-depth/20 transition duration-300 hover:text-depth",{"text-depth":"indonesia"==Q}),children:"Indonesia"})})]}),(0,n.jsxs)(s.EA.div,{variants:r.M9,initial:"initial",whileInView:"animate",viewport:{once:!0},className:"relative",children:[(0,n.jsx)(s.EA.div,{variants:h,id:"singapore",className:(0,d.cn)("flex h-full w-full",{"pointer-events-none absolute left-0 right-0 top-0 select-none":"singapore"!==Q}),initial:"initial",animate:"singapore"==Q?"animate":"singapore"!==Q?"exit":"",children:(0,n.jsx)(u.Z,{className:"space-x-3 sm:space-x-4 md:space-x-5",children:e.map((e,t)=>{var a,i;return(0,n.jsx)("div",{className:"box-border aspect-[19/24] h-full w-[70%] xs:w-[50%] sm:w-[40%] lg:w-[30%] xxl:w-[25%]",children:(0,n.jsx)(s.EA.div,{variants:p,className:"h-full w-full",children:(0,n.jsx)(o.Z,{cornerRadius:28,className:"h-full w-full bg-black/20",children:(0,n.jsxs)("a",{href:e.permalink,target:"_blank",rel:"noopener noreferrer",className:"group relative h-full w-full object-cover",children:["VIDEO"===e.media_type?(0,n.jsx)("img",{src:e.thumbnail_url,alt:null!==(a=e.caption)&&void 0!==a?a:"Instagram image",loading:"eager",className:"h-full w-full object-cover "}):(0,n.jsx)("img",{src:e.media_url,alt:null!==(i=e.caption)&&void 0!==i?i:"Instagram image",loading:"eager",className:"h-full w-full object-cover "}),(0,n.jsx)("div",{className:"absolute inset-0 flex items-center justify-center bg-black/20 font-medium text-white opacity-0 transition duration-300 group-hover:opacity-100"})]},e.id)})},t)},t)})})}),(0,n.jsx)(s.EA.div,{variants:h,id:"hong-kong",className:(0,d.cn)("flex h-full w-full",{"pointer-events-none absolute left-0 right-0 top-0 select-none":"hong-kong"!==Q}),initial:"initial",animate:"hong-kong"==Q?"animate":"hong-kong"!==Q?"exit":"",children:(0,n.jsx)(u.Z,{className:"space-x-3 sm:space-x-4 md:space-x-5",children:null==v?void 0:v.map((e,t)=>{var a,i;return(0,n.jsx)("div",{className:"box-border aspect-[19/24] h-full w-[70%] xs:w-[50%] sm:w-[40%] lg:w-[30%] xxl:w-[25%]",children:(0,n.jsx)(s.EA.div,{variants:p,className:"h-full w-full",children:(0,n.jsx)(o.Z,{cornerRadius:28,className:"h-full w-full bg-black/20",children:(0,n.jsxs)("a",{href:e.permalink,target:"_blank",rel:"noopener noreferrer",className:"group relative h-full w-full object-cover",children:["VIDEO"===e.media_type?(0,n.jsx)("img",{src:e.thumbnail_url,alt:null!==(a=e.caption)&&void 0!==a?a:"Instagram image",loading:"eager",className:"h-full w-full object-cover "}):(0,n.jsx)("img",{src:e.media_url,alt:null!==(i=e.caption)&&void 0!==i?i:"Instagram image",loading:"eager",className:"h-full w-full object-cover "}),(0,n.jsx)("div",{className:"absolute inset-0 flex items-center justify-center bg-black/20 font-medium text-white opacity-0 transition duration-300 group-hover:opacity-100"})]},e.id)})},t)},t)})})}),(0,n.jsx)(s.EA.div,{variants:h,id:"thailand",className:(0,d.cn)("flex h-full w-full",{"pointer-events-none absolute left-0 right-0 top-0 select-none":"thailand"!==Q}),initial:"initial",animate:"thailand"==Q?"animate":"thailand"!==Q?"exit":"",children:(0,n.jsx)(u.Z,{className:"space-x-3 sm:space-x-4 md:space-x-5",children:null==N?void 0:N.map((e,t)=>{var a,i;return(0,n.jsx)("div",{className:"box-border aspect-[19/24] h-full w-[70%] xs:w-[50%] sm:w-[40%] lg:w-[30%] xxl:w-[25%]",children:(0,n.jsx)(s.EA.div,{variants:p,className:"h-full w-full",children:(0,n.jsx)(o.Z,{cornerRadius:28,className:"h-full w-full bg-black/20",children:(0,n.jsxs)("a",{href:e.permalink,target:"_blank",rel:"noopener noreferrer",className:"group relative h-full w-full object-cover",children:["VIDEO"===e.media_type?(0,n.jsx)("img",{src:e.thumbnail_url,alt:null!==(a=e.caption)&&void 0!==a?a:"Instagram image",loading:"eager",className:"h-full w-full object-cover "}):(0,n.jsx)("img",{src:e.media_url,alt:null!==(i=e.caption)&&void 0!==i?i:"Instagram image",loading:"eager",className:"h-full w-full object-cover "}),(0,n.jsx)("div",{className:"absolute inset-0 flex items-center justify-center bg-black/20 font-medium text-white opacity-0 transition duration-300 group-hover:opacity-100"})]},e.id)})},t)},t)})})}),(0,n.jsx)(s.EA.div,{variants:h,id:"indonesia",className:(0,d.cn)("flex h-full w-full",{"pointer-events-none absolute left-0 right-0 top-0 select-none":"indonesia"!==Q}),initial:"initial",animate:"indonesia"==Q?"animate":"indonesia"!==Q?"exit":"",children:(0,n.jsx)(u.Z,{className:"space-x-3 sm:space-x-4 md:space-x-5",children:null==k?void 0:k.map((e,t)=>{var a,i;return(0,n.jsx)("div",{className:"box-border aspect-[19/24] h-full w-[70%] xs:w-[50%] sm:w-[40%] lg:w-[30%] xxl:w-[25%]",children:(0,n.jsx)(s.EA.div,{variants:p,className:"h-full w-full",children:(0,n.jsx)(o.Z,{cornerRadius:28,className:"h-full w-full bg-black/20",children:(0,n.jsxs)("a",{href:e.permalink,target:"_blank",rel:"noopener noreferrer",className:"group relative h-full w-full object-cover",children:["VIDEO"===e.media_type?(0,n.jsx)("img",{src:e.thumbnail_url,alt:null!==(a=e.caption)&&void 0!==a?a:"Instagram image",loading:"eager",className:"h-full w-full object-cover "}):(0,n.jsx)("img",{src:e.media_url,alt:null!==(i=e.caption)&&void 0!==i?i:"Instagram image",loading:"eager",className:"h-full w-full object-cover "}),(0,n.jsx)("div",{className:"absolute inset-0 flex items-center justify-center bg-black/20 font-medium text-white opacity-0 transition duration-300 group-hover:opacity-100"})]},e.id)})},t)},t)})})})]})]})})}let m={initial:{opacity:0}
1,animate:{opacity:1,transition:{duration:1,when:"beforeChildren",staggerChildren:.1}}},h={initial:{opacity:0},animate:{opacity:1,transition:{duration:.2,ease:"easeInOut",when:"beforeChildren",staggerChildren:.07,delay:.1}},exit:{opacity:0,transition:{when:"afterChildren",staggerChildren:0,duration:1}}},p={initial:{opacity:0,x:40},animate:{opacity:1,x:0,transition:{ease:(0,s._s)(.33,1,.68,1),duration:.9,opacity:{ease:"easeInOut",duration:.5}}},exit:{x:40,opacity:0,transition:{ease:"easeInOut",duration:.5}}}},73759:function(e,t,a){"use strict";a.d(t,{default:function(){return i}});var n=a(2265);function i(){return(0,n.useEffect)(()=>{},[]),null}},63914:function(e,t,a){"use strict";a.d(t,{default:function(){return s}});var n=a(2265),i=a(15491);let l=!1;function s(){return(0,n.useEffect)(()=>{l||(l=!0,i.Z.init("y38p0zcwxg"))},[]),null}},71953:function(e,t,a){"use strict";a.d(t,{T:function(){return u}});var n=a(57437),i=a(2265),l=a(90535),s=a(94508),r=a(62778),o=a(71458);let c=(0,l.j)("font-heading font-bold",{variants:{textStyle:o.sq},defaultVariants:{textStyle:"body"}}),d=i.forwardRef((e,t)=>{let{as:a="h2",className:i,textStyle:l,children:r,style:o}=e;return(0,n.jsx)(a,{ref:t,className:(0,s.cn)(c({textStyle:l,className:i}),""),style:o,children:r})});d.displayName="Text";let u=(0,r.EA)(d)},97813:function(e,t,a){"use strict";a.d(t,{default:function(){return x}});var n=a(57437),i=a(92964),l=a(10536),s=a(71458),r=a(1924),o=a(58783),c=a(62778),d=a(71953),u=a(35318);function x(){let[e,t]=(0,i.KO)(l.PO),a=(0,i.Dv)(l.Xq);return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(c.M_,{children:e&&(0,n.jsxs)(c.EA.div,{variants:m,initial:"initial",animate:"animate",exit:"exit",className:"fixed inset-0 z-[200] flex items-center justify-center",children:[(0,n.jsx)("div",{onClick:()=>t(!1),className:"absolute inset-0 -z-10 bg-black/20"}),(0,n.jsx)(o.Z,{className:"m-5",children:(0,n.jsxs)("div",{className:"w-full bg-white p-10 xs:max-w-[900px] md:p-16 lg:w-[720px]",children:[(0,n.jsxs)(c.EA.div,{variants:u.M9,className:"mb-6 space-y-1 text-center xs:mb-10 xs:space-y-3 ",children:[(0,n.jsx)(s.xv,{as:"h2",textStyle:"h2",className:"text-balance",children:"Select a gifting club"}),(0,n.jsxs)(s.xv,{as:"p",textStyle:"h3",children:["You can use our gift at"," ",(0,n.jsx)("span",{className:"text-cold",children:"any Ice Bath Club."})]})]}),(0,n.jsx)("div",{className:"mb-5 flex flex-row flex-wrap justify-center gap-3 xs:mb-10 xs:flex-nowrap xs:gap-5",children:null==a?void 0:a.map((e,t)=>{var a,i,l;return(0,n.jsxs)(c.EA.a,{variants:h,href:null==e?void 0:e.link,target:"_blank",className:"group w-[calc(50%-6px)] max-w-[180px] xs:w-full",children:[(0,n.jsx)(o.Z,{cornerRadius:20,className:"aspect-square w-full",children:(null==e?void 0:null===(a=e.club)||void 0===a?void 0:a.image)?(0,n.jsx)(r.Z,{image:null==e?void 0:null===(i=e.club)||void 0===i?void 0:i.image,className:"h-full w-full object-cover transition duration-500 group-hover:scale-105"}):(0,n.jsx)("div",{className:"h-full w-full bg-offWhite object-cover"})}),(0,n.jsx)(s.xv,{as:"h3",textStyle:"h3",className:"mt-1 text-center xs:mt-3 xs:text-left",children:null==e?void 0:null===(l=e.club)||void 0===l?void 0:l.name})]},t)})}),(0,n.jsx)(d.T,{variants:u.M9,as:"p",textStyle:"body-tiny",className:"text-pretty text-center",children:"We ask that you choose which club youâd like to purchase from when checking out."})]})})]})})})}let m={initial:{opacity:0}
1,animate:{opacity:1,transition:{ease:"easeInOut",duration:.3,staggerChildren:.12,delayChildren:.2}},exit:{opacity:0,transition:{ease:"easeInOut",duration:.3,when:"beforeChildren"}}},h={initial:{y:20,opacity:0},animate:{y:0,opacity:1,transition:{ease:"circOut",duration:.8,opacity:{ease:"easeInOut",duration:.6}}}}},71458:function(e,t,a){"use strict";a.d(t,{sq:function(){return r},xv:function(){return c}});var n=a(57437),i=a(2265),l=a(90535),s=a(94508);let r={title:"font-heading font-[800] text-[64px] leading-[64px] md:text-[80px] md:leading-none lg:text-[90px] lg:leading-none xl:text-[100px] xl:leading-[100px] xxl:text-[128px] xxl:leading-[128px]",titleSmallerOnMobile:"font-heading font-[800] text-[48px] leading-[52px] md:text-[72px] md:leading-none lg:text-[90px] lg:leading-none xl:text-[100px] xl:leading-[100px] xxl:text-[128px] xxl:leading-[128px]",h1:"font-heading font-[800] text-[48px] leading-[52px] md:text-[60px] md:leading-none lg:text-[70px] lg:leading-[74px] xl:text-[80px] xl:leading-[84px] xxl:text-[80px] xxl:leading-[84px]",h2:"font-heading text-[28px] leading-[32px] md:text-[34px] md:leading-[38px] lg:text-[42px] lg:leading-[46px] xxl:text-[48px] xxl:leading-[52px]",h3:"font-heading text-[20px] leading-[24px] md:text-[24px] md:leading-[28px] lg:text-[28px] lg:leading-[32px]",body:"text-body font-diatype font-[400] text-[16px] leading-[22px] md:text-[20px] md:leading-[28px] lg:text-[24px] lg:leading-[32px]","body-small":"text-body-small font-diatype font-[400] text-[14px] leading-[20px] md:text-[18px] md:leading-[26px] xl:text-[20px] xl:leading-[28px]","body-tiny":"text-body-tiny font-diatype font-[400] text-[12px] leading-[18px] sm:text-[16px] sm:leading-[22px]"},o=(0,l.j)("font-heading font-bold",{variants:{textStyle:r},defaultVariants:{textStyle:"body"}}),c=i.forwardRef((e,t)=>{let{as:a="h2",className:i,textStyle:l,children:r,style:c}=e;return(0,n.jsx)(a,{ref:t,className:(0,s.cn)(o({textStyle:l,className:i}),""),style:c,children:r})});c.displayName="Text"},15277:function(e,t,a){"use strict";a.d(t,{default:function(){return v}});var n=a(57437),i=a(58783),l=a(33145),s=a(53974),r=a(62778),o=a(2265),c=a(35318),d=a(71953),u={src:"/_next/static/media/QR Code.502b539b.png",height:774,width:773,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAHlBMVEUmMGMmMWQnMGMmMWQnMGQnMGQmMGQnMWQmMGQnMmXPQClvAAAACnRSTlODdmueXY6tN075RSWunQAAAAlwSFlzAAAWJQAAFiUBSVIk8AAAADVJREFUeJwVyscRwDAMBLG9QErqv2GP8QbL9RwtyNUVGCUacWffW0zQOdNAbVfzp3RSIkHJBx43AMWGnLwnAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:8},x={src:"/_next/static/media/App left 1 new.826b1efc.png",height:1748,width:804,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAICAMAAADp7a43AAAAP1BMVEVImORiU0pRp/Tf2uFgdZtMYYdopOOTueFqkL1tfalQZJZHU21sfoRHQjhcaX4PEyEpRGaNlaGyr68zSG2Op8m71b8gAAAACHRSTlPX/////////EAbeo0AAAAJcEhZcwAAFiUAABYlAUlSJPAAAAAsSURBVHicBcEHAgAQDACxU0rt+f+3Sig5B0KryujzspxTbJ9H8j4RzSKI8AEXnQEI68r3uAAAAABJRU5ErkJggg==",blurWidth:4,blurHeight:8},m={src:"/_next/static/media/App left 2 new.2c706c0e.png",height:1748,width:804,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAICAMAAADp7a43AAAAJFBMVEXd083u7/K/uLft7vL29/ri4OPAydfR1tzb3eX9/v/j2djj5uonJ1E1AAAAA3RSTlP+1Nlfd/BvAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAJ0lEQVR4nC3EuQEAIAwDsQObfOy/Lw0qRKRMlERei1GbORb8zK5eDw1hAJ9E8pUrAAAAAElFTkSuQmCC",blurWidth:4,blurHeight:8},h={src:"/_next/static/media/App middle new.c5eb56ee.png",height:1748,width:804,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAICAMAAADp7a43AAAANlBMVEWG3Pbw8fL45OSb1suFe3WZcV32+Ppjh7bt7vbe5+Wv0vLE3PTzxay52feFdm2/wtC7wM7l5OqVFrjdAAAACnRSTlP+////2dT//v7+eDY7ogAAAAlwSFlzAAAWJQAAFiUBSVIk8AAAACtJREFUeJwFwQkCABAIAMEtFMn1/8+a4R4RxpOOmRkxVSklE3BnxZrUvdsHEsYA9pWAi9QAAAAASUVORK5CYII=",blurWidth:4,blurHeight:8},p={src:"/_next/static/media/App right 1 new.4d2ee6c6.png",height:1748,width:804,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAICAMAAADp7a43AAAAOVBMVEXU1fuorPf69fqs3ObE3e3Z6vjM2PD9//zr/O/T5vA6vtuO2eqIh5+42e3o9/vc+Ojoz+l7eZVxdJIGczKdAAAACXRSTlP8////////2dQootE+AAAACXBIWXMAABYlAAAWJQFJUiTwAAAAK0lEQVR4nAXBhwEAIAjAsCo4EJz/H2v
1CuxGYiOFjOKpasFoLpAT5zE3Lq38VVwD4ezpwUwAAAABJRU5ErkJggg==",blurWidth:4,blurHeight:8},f={src:"/_next/static/media/App right 2 new.7f4ee008.png",height:1748,width:804,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAICAMAAADp7a43AAAAPFBMVEXy8vaQcVzk1syn1v66xt2Rjo3MztmhpJ2l0vno6e+ql4LHurLgxq3A0+g9TERydXCnvt+grK9VZl2iuNddEl7BAAAACXRSTlP9/////////td8FSaiAAAACXBIWXMAABYlAAAWJQFJUiTwAAAALElEQVR4nAXBhwEAIAjAsIqI4h7//2qCmzmuCtJrIrcQuDMJeR3Q/QYlxvIBEhMA+ZF3YBUAAAAASUVORK5CYII=",blurWidth:4,blurHeight:8},g=a(99376);function v(){let e=(0,g.usePathname)();return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(r.EA.section,{variants:c.$B,initial:"initial",whileInView:"animate",viewport:{once:!0},className:"relative z-0 overflow-x-clip bg-gradient-to-b from-iron/0 to-iron to-30% pb-20",children:(0,n.jsxs)("div",{className:"contained",children:[(0,n.jsxs)("div",{className:"hidden md:block",children:[(0,n.jsxs)("div",{className:"mx-auto mb-10 max-w-[772px] space-y-5 text-center",children:[(0,n.jsx)(d.T,{variants:c.pV,as:"h2",textStyle:"h1",className:"text-cold",children:"Download our app"}),(0,n.jsx)(d.T,{variants:c.pV,as:"p",textStyle:"h2",className:"text-balance",children:"Scan the QR code from your phone to download and get started"})]}),(0,n.jsx)(r.EA.div,{initial:{scale:.5,y:50,opacity:0},whileInView:{scale:1,opacity:1,y:0},transition:{ease:"circOut",duration:1.2,opacity:{ease:"easeInOut",duration:.4}},viewport:{once:!0},children:(0,n.jsx)(i.Z,{className:"mx-auto aspect-square w-5/12 max-w-[508px]",children:(0,n.jsx)("div",{className:"bg-white p-[10%]",children:(0,n.jsx)(l.default,{src:u,alt:"The Ice Bath Club app download QR code"})})})})]}),(0,n.jsx)(A,{})]})},e)})}function A(){let{width:e}=(0,s.iP)(),t=(0,o.useRef)(null),{scrollYProgress:a}=(0,r.vO)({target:t,offset:["start 0.55","start 0.45"]}),i=(0,r.q_)(a,{damping:60,stiffness:180}),c=(0,r.Hm)(i,[0,1],[-20,e&&e<1024?-50:-90]),d=(0,r.Hm)(i,[0,1],[20,e&&e<1024?50:140]),u=(0,r.Hm)(i,[0,1],[0,e&&e<768?50:e&&e<1024?80:225]),g=(0,r.Hm)(i,[0,1],[7,12]),v=(0,r.Hm)(i,[0,1],[0,e&&e<768?80:e&&e<1024?160:400]),A=(0,r.Hm)(i,[0,1],[14,24]),b=(0,r.Hm)(i,[0,1],[0,e&&e<768?-50:e&&e<1024?-80:-225]),w=(0,r.Hm)(i,[0,1],[-7,-12]),y=(0,r.Hm)(i,[0,1],[0,e&&e<768?-80:e&&e<1024?-160:-400]),j=(0,r.Hm)(i,[0,1],[-14,-24]);return(0,n.jsxs)("div",{ref:t,className:"relative mx-auto -mb-[167px] flex h-max w-max justify-center md:-mb-[185px] md:mt-32 lg:-mb-60 lg:mt-44",children:[(0,n.jsx)(r.EA.div,{style:{y:c},className:"z-10 w-[200px] md:w-[300px] lg:w-[405px]",children:(0,n.jsx)(l.default,{loading:"eager",className:"w-full rounded-t-[28px] shadow-[0_28px_64px_rgba(30,30,30,0.2)] md:rounded-t-[56px] ",src:h,alt:"App account screenshot"})}),(0,n.jsx)(r.EA.div,{style:{x:b,rotate:w},className:"absolute z-[2] mr-16 w-[200px] md:w-[300px] lg:w-[405px]",children:(0,n.jsx)(l.default,{loading:"eager",className:"w-full rounded-t-[28px] shadow-[0_28px_64px_rgba(30,30,30,0.2)] md:rounded-t-[56px] ",src:m,alt:"App account screenshot"})}),(0,n.jsx)(r.EA.div,{style:{x:y,rotate:j,y:d},className:"absolute z-[1] mr-20 w-[200px] md:w-[300px] lg:w-[405px]",children:(0,n.jsx)(l.default,{loading:"eager",className:"w-full rounded-t-[28px] shadow-[0_28px_64px_rgba(30,30,30,0.2)] md:rounded-t-[56px] ",src:x,alt:"App account screenshot"})}),(0,n.jsx)(r.EA.div,{style:{x:u,rotate:g},className:"absolute z-[2] ml-16 w-[200px] md:w-[300px] lg:w-[405px]",children:(0,n.jsx)(l.default,{loading:"eager",className:"w-full rounded-t-[28px] shadow-[0_28px_64px_rgba(30,30,30,0.2)] md:rounded-t-[56px] ",src:p,alt:"App account screenshot"})}),(0,n.jsx)(r.EA.div,{style:{x:v,rotate:A,y:d},className:"absolute z-[1] ml-20 w-[200px] md:w-[300px] lg:w-[405px]",children:(0,n.jsx)(l.default,{loading:"eager",className:"w-full rounded-t-[28px] shadow-[0_28px_64px_rgba(30,30,30,0.2)] md:rounded-t-[56px] ",src:f,alt:"App account screenshot"})})]})}},26295:function(e,t,a){"use strict";a.d(t,{Z:function(){return s}});var n=a(57437),i=a(49017);a(24869);var l=a(53974);function s(e){let{children:t,className:a}=e,{width:s}=(0,l.iP)();return(0,n.jsx)(i.K,{className:a,style:{paddingLeft:s&&(s-1644)/2>0?(s-1564)/2:s&&s>768?40:16,paddingRight:s&&(s-1644)/2>0?(s-1564)/2:s&&s>768?40:16},children:t})}},35318:function(e,t,a){"use strict";a.d(t,{$B:function(){return l},IS:function(){return o},IW:function(){return r},M9:function(){return d},Um:function(){return c},pV:function(){return s},uv:function(){return i}});var n=a(62778);let i={initial:{opacity:0}
1,animate:{opacity:1,transition:{when:"beforeChildren",duration:.8,staggerChildren:.08}}},l={initial:{opacity:.99999},animate:{opacity:1,transition:{when:"beforeChildren",duration:.2,staggerChildren:.08}}},s={initial:{opacity:0,y:40},animate:{opacity:1,y:0,transition:{ease:(0,n._s)(.33,1,.68,1),duration:1.2,opacity:{ease:"easeOut",duration:1}}},exit:{y:40,opacity:0,transition:{ease:"easeInOut",duration:.6}}},r={initial:{opacity:0,y:40},animate:{opacity:1,y:0,transition:{ease:(0,n._s)(.33,1,.68,1),duration:1.2,delay:.4,opacity:{ease:"easeOut",duration:1,delay:.4}}},exit:{y:40,opacity:0,transition:{ease:"easeInOut",duration:.6}}},o={initial:{opacity:0},animate:{opacity:1,transition:{ease:"easeInOut",duration:.3}},exit:{opacity:0,transition:{ease:"easeInOut",duration:.3}}},c={initial:{opacity:0,y:30},animate:{opacity:1,y:0,transition:{ease:(0,n._s)(.33,1,.68,1),duration:1.2,opacity:{ease:"easeOut",duration:1}}},exit:{y:40,opacity:0,transition:{ease:"easeInOut",duration:.6,y:{delay:.6}}}},d={initial:{opacity:0},animate:{opacity:1,transition:{ease:"easeInOut",duration:1}},exit:{opacity:1,transition:{ease:"easeInOut",duration:1,delay:1}}}},94508:function(e,t,a){"use strict";a.d(t,{cn:function(){return l}});var n=a(61994),i=a(53335);function l(){for(var e=arguments.length,t=Array(e),a=0;a<e;a++)t[a]=arguments[a];return(0,i.m6)((0,n.W)(t))}},43380:function(){},85028:function(){}},function(e){e.O(0,[6909,1817,255,857,6384,6077,6137,5201,7314,3974,5878,5859,6892,5034,2971,2117,1744],function(){return e(e.s=15937)}),_N_E=e.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.