(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[746],{24945:e=>{e.exports={container:"styles_container__GgNVA",titleContainer:"styles_titleContainer__mb_S6",title:"styles_title__d3o_1",toggle:"styles_toggle__lUx7O",iconContainer:"styles_iconContainer__xwy_I",card:"styles_card__R6ZU5",divider:"styles_divider___wyFl",stepperItem:"styles_stepperItem__sCySa",stepperNumber:"styles_stepperNumber__5ft94",stepperContainer:"styles_stepperContainer__l2Rku",stepperTitle:"styles_stepperTitle__pUscg",active:"styles_active__pEbm0",inactive:"styles_inactive__lZVMH",stepper:"styles_stepper__PZwYX",step:"styles_step__3eWv_",disabled:"styles_disabled__Cf51X",circle:"styles_circle__BUG6N",text:"styles_text__DB_vV",completed:"styles_completed__7VjNI",stepTextContainer:"styles_stepTextContainer__o3U4I",completedCircle:"styles_completedCircle__s_d3A",creamBackground:"styles_creamBackground__OvxFX",line:"styles_line__EgDE9",defaultBackground:"styles_defaultBackground__bo6pg"}},27339:(e,t,n)=>{"use strict";n.d(t,{g:()=>c});var r=n(95155),a=n(6874),s=n.n(a),i=n(44987);i.Ay.header.withConfig({componentId:"sc-97413660-0"})(["position:fixed;top:0;left:0;width:100vw;z-index:110;transition:height 0.5s ease;height:calc(100px);border-bottom:1px solid #e0dedc;background-color:white;"]),i.Ay.div.withConfig({componentId:"sc-97413660-1"})(["transform:translateY(0);background-color:transparent;position:relative;z-index:111;display:flex;will-change:background-color,transform;transition:background-color 0.5s ease,transform 0.5s ease-in-out,border-color 0.5s ease;height:100%;align-items:center;margin-left:3.45vw;margin-right:3.45vw;"]),i.Ay.nav.withConfig({componentId:"sc-97413660-2"})(["flex:1;display:flex;& > *{margin-right:30px;}"]),i.Ay.div.withConfig({componentId:"sc-97413660-3"})(["flex:1;display:flex;justify-content:center;align-items:center;"]),i.Ay.div.withConfig({componentId:"sc-97413660-4"})(["flex:1;display:flex;justify-content:end;& > *{justify-content:end;margin-left:30px;}"]);let l=(0,i.Ay)(s()).withConfig({componentId:"sc-97413660-5"})(["text-transform:uppercase;text-decoration:none;color:",";&:hover{color:#a64e26;}"],e=>{let{dark:t}=e;return t?"#fff":"#000"});i.Ay.nav.withConfig({componentId:"sc-97413660-6"})(["display:flex;flex-grow:1;align-items:center;grid-column-gap:30px;column-gap:30px;pointer-events:all;font-size:calc(12.5px + 0.1vw);font-family:'Proxima Nova',Helvetica,sans-serif;font-weight:400;letter-spacing:0;text-transform:none;line-height:1.21;"]);var o=n(50804);let c=e=>{let{dark:t,...n}=e;return(0,r.jsx)(l,{"aria-label":"Canyon Ranch Logo",dark:t,href:"https://www.canyonranch.com",children:(0,r.jsx)(o.f,{primary:!t,...n})})}},31675:e=>{e.exports={container:"style_container__RiIeg",label:"style_label__0sYuS",link:"style_link__FH2Vj"}},35695:(e,t,n)=>{"use strict";n.r(t);var r=n(18999),a={};for(let e in r)"default"!==e&&(a[e]=()=>r[e]);n.d(t,a)},38923:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>F});var r=n(95155),a=n(12115),s=n(29300),i=n.n(s),l=n(96370),o=n(14676),c=n(57489),d=n(35695),p=n(1794),u=n(364),h=n(45766),m=n(62604),_=n(88808),v=n.n(_);let x=()=>{var e;let t=(0,d.usePathname)(),n=(0,d.useRouter)(),{isSmallScreen:s}=(0,h.l)(),{savedAppointmentSlot:l,confirmationId:_,reservationNumber:x}=(0,m.Wu)(),{includedProducts:g}=(0,u.Z)(),f=(0,a.useMemo)(()=>Object.values(g),[g]),{location:y}=(0,p.z)(),b="/".concat(y),j=[{disabled:!1,path:"".concat(b,"/cart"),step:1,text:"Cart"},{disabled:!((null===(e=l.results)||void 0===e?void 0:e.length)||_||x),path:"".concat(b,"/checkout"),step:2,text:"Checkout"},{disabled:!_||!x,path:"".concat(b,"/confirmation"),step:3,text:"Confirmation"}],C=j.some(e=>{let{path:n}=e;return t.startsWith(n)});if(!(!s&&C&&f.length>0))return null;let N=(e,t)=>{t||n.push(e)};return(0,r.jsx)("div",{className:v().stepper,children:j.map((e,n)=>{let{step:s,text:l,path:d,disabled:p}=e,u=t.startsWith(d),h=j.findIndex(e=>{let{path:n}=e;return t.startsWith(n)})>n;return(0,r.jsxs)(a.Fragment,{children:[(0,r.jsxs)("div",{className:i()(v().step,{[v().active]:u,[v().disabled]:p}),onClick:()=>N(d,p),children:[(0,r.jsx)("div",{className:"".concat(v().circle," ").concat(h?v().completed:""),children:h?(0,r.jsx)(c.g,{icon:o.faCheck}):s}),(0,r.jsx)("p",{className:v().text,children:l})]}),n{var e;let t=(0,d.usePathname)(),n=(0,d.useRouter)(),{isSmallScreen:s}=(0,h.l)(),[l,_]=(0,a.useState)(!1),{location:v}=(0,p.z)(),x="/".concat(v),{savedAppointmentSlot:g,confirmationId:y,reservationNumber:b}=(0,m.Wu)(),{includedProducts:j}=(0,u.Z)(),C=(0,a.useMemo)(()=>Object.values(j),[j]),N=[{disabled:!1,path:"".concat(x,"/cart"),step:1,text:"Cart"},{disabled:!((null===(e=g.results)||void 0===e?void 0:e.length)||y||b),path:"".concat(x,"/checkout"),step:2,text:"Checkout"},{disabled:!y,path:"".concat(x,"/confirmation"),step:3,text:"Confirmation"}],w=N.find(e=>{let{path:n}=e;return t.startsWith(n)}),S=N.some(e=>{let{path:n}=e;return t.startsWith(n)});if(!(s&&S&&C.length>0))return null;let I=(e,t)=>{t||n.push(e)};return(0,r.jsxs)("div",{className:f().container,children:[(0,r.jsxs)("div",{className:i()(f().titleContainer,{[f().creamBackground]:l||!w}),children:[" ",(0,r.jsx)("div",{className:f().title,children:l?"Select a step":w?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:i()(f().completedCircle,{[f().defaultBackground]:w.path==="".concat(x,"/cart")||w.path==="".concat(x,"/checkout")||w.path==="".concat(x,"/confirmation")}),children:w.step}),(0,r.jsxs)("div",{className:f().stepTextContainer,children:[(0,r.jsx)("div",{className:f().stepNumber,children:(0,r.jsxs)("div",{className:f().stepperNumber,children:["STEP ",w.step]})}),(0,r.jsx)("div",{className:f().stepperTitle,children:(0,r.jsx)("span",{children:w.text})})]})]}):"Select a Step"}),(0,r.jsx)("div",{className:f().toggle,children:(0,r.jsx)("div",{className:f().iconContainer,children:(0,r.jsx)(c.g,{icon:l?o.faChevronUp:o.faChevronDown,onClick:()=>_(!l)})})})]}),!l&&(0,r.jsx)("div",{className:f().line}),l&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:f().divider}),(0,r.jsx)("div",{className:f().card,children:(0,r.jsx)("div",{className:f().stepperItem,children:(0,r.jsx)("div",{className:f().stepper,children:N.map((e,n)=>{let{step:a,text:s,path:l,disabled:d}=e,p=t.startsWith(l),u=N.findIndex(e=>{let{path:n}=e;return t.startsWith(n)})>n;return(0,r.jsxs)("div",{className:i()(f().step,p?f().active:"",d?f().disabled:""),onClick:()=>I(l,d),children:[(0,r.jsx)("div",{className:i()(f().circle,u?f().completed:""),children:u?(0,r.jsx)(c.g,{icon:o.faCheck}):a}),(0,r.jsxs)("div",{className:f().stepTextContainer,children:[(0,r.jsx)("div",{className:f().stepNumber,children:(0,r.jsxs)("div",{className:f().stepperNumber,children:["STEP ",a]})}),(0,r.jsx)("div",{className:f().stepperTitle,children:(0,r.jsx)("span",{children:s})})]})]},a)})})})})]})]})};var b=n(6874),j=n.n(b),C=n(50308),N=n(37177),w=n(84076),S=n(95721),I=n(498),k=n(27339),E=n(55917),W=n(139),z=n(18973),A=n(82678),O=n.n(A);let B=e=>{let{user:t}=e;return(0,r.jsxs)("div",{className:O().loggedIn,children:[(0,r.jsx)("span",{className:O().greet,children:"Hello,"}),(0,r.jsx)(j(),{className:O().navigateAccount,href:"/account",children:t&&t.displayName+"!"})]})};var P=n(94102),T=n.n(P);let U="/login",R=()=>(0,r.jsxs)("div",{className:T().loadingContainer,children:[(0,r.jsx)(c.g,{className:T().loadingIcon,icon:o.faSpinner,spin:!0}),(0,r.jsx)("span",{children:"Loading..."})]}),D=()=>{let{itinerary:e}=(0,W.G)(),t=(0,d.usePathname)();return(0,r.jsxs)("div",{className:T().linkContainer,children:[(0,r.jsx)("span",{className:T().greet,children:"Hello,"}),(0,r.jsx)(j(),{className:T().signIn,href:(()=>{if(t===U)return U;let n=new URLSearchParams;return n.set("redirect",t.startsWith(U)?"/account":t),(null==e?void 0:e.id)&&sessionStorage.setItem("itineraryId",e.id),"".concat(U,"?").concat(n.toString())})(),children:"sign in or register"})]})},L=e=>{let{location:t}=e,{user:n,loading:s}=(0,E.Z)(),{toggleOpen:i,ref:l,isOpen:u}=(0,w.L)(),{setLocation:m}=(0,p.z)(),{isMobileOrTablet:_}=(0,h.l)();(0,a.useEffect)(()=>{t&&m(t)},[t,m]);let v=(0,S.a)(),x=(0,d.usePathname)(),g=(0,I.o)(x,N.nq),f=(0,I.o)(x,N.c1);return v||f?s&&_?(0,r.jsx)("div",{className:T().headerWrapper,children:(0,r.jsx)(R,{})}):f?(0,r.jsx)(()=>(0,r.jsxs)("div",{className:T().checkoutHeader,children:[(0,r.jsx)("div",{className:T().logoContainer,children:(0,r.jsx)(k.g,{width:150})}),n&&!n.isAnonymous&&(0,r.jsxs)("div",{className:T().userDetails,children:[(0,r.jsx)(B,{user:n}),(0,r.jsxs)("div",{className:T().mobileWrapper,children:[(0,r.jsxs)("div",{className:T().helpConatiner,children:[(0,r.jsx)(c.g,{className:T().questionIcon,icon:o.faQuestion,onClick:i}),u&&(0,r.jsx)("div",{className:T().helpDropdown,ref:l,children:(0,r.jsx)(C.H,{})})]}),(0,r.jsx)("div",{className:T().verticalBorder}),(0,r.jsx)(z.y,{})]})]})]}),{}):(0,r.jsxs)("div",{className:T().headerWrapper,children:[(null==n?void 0:n.isAnonymous)?(0,r.jsx)(D,{}):(0,r.jsx)(B,{user:n}),!g&&(0,r.jsxs)("div",{className:T().contentWrapper,children:[(0,r.jsx)("div",{className:T().verticalBorder}),(0,r.jsx)("div",{className:T().cartWrapper,children:(0,r.jsx)(z.y,{})})]})]}):null};n(76396);var H=n(41709);let M=(0,a.createContext)(void 0),G=e=>{let{children:t}=e,[n,{data:s,loading:i}]=(0,H.AC2)(),[l,o]=(0,a.useState)((null==s?void 0:s.profile.data)||null),[c,d]=(0,a.useState)(!1),[p,u]=(0,a.useState)(null),h=async()=>{var e,t;return null!==(t=null===(e=(await n()).data)||void 0===e?void 0:e.profile.data)&&void 0!==t?t:null};return(0,r.jsx)(M.Provider,{value:{getUserProfile:h,isGuest:c,loading:i,resetProfile:()=>{o(null),d(!1),u(null)},selectedGenderPreference:p,setGenderPreference:e=>{u(e)},setGuestProfile:e=>{o(e),d(!0)},setGuestStatus:e=>{d(e)},setUserProfile:e=>{o(e),d(!1)},userProfile:l},children:t})},F=e=>{let{params:t,children:n}=e,{slug:s}=(0,a.use)(t);return(0,r.jsx)("div",{className:i()("legacy-wrapper",{"theme-club":l.u.includes(s)}),children:(0,r.jsx)(G,{children:(0,r.jsxs)(m.Fj,{children:[(0,r.jsx)(L,{location:s}),(0,r.jsx)(x,{}),(0,r.jsx)(y,{}),(0,r.jsx)("div",{className:"catalog-wrapper",children:n})]})})})}},50308:(e,t,n)=>{"use strict";n.d(t,{H:()=>i});var r=n(95155),a=n(31675),s=n.n(a);let i=()=>(0,r.jsx)("div",{className:s().container,children:(0,r.jsx)("div",{className:s().info,children:(0,r.jsxs)("span",{className:s().label,children:["CALL US AT",(0,r.jsx)("a",{"aria-label":"Call",className:s().link,href:"tel:+18664949279",children:"(866) 494-9279"})]})})})},62604:(e,t,n)=>{"use strict";n.d(t,{Fj:()=>l,Wu:()=>o,ty:()=>s});var r=n(95155),a=n(12115),s=function(e){return e.CC="CC",e.Reservation="Reservation",e}({});let i=(0,a.createContext)(void 0),l=e=>{let{children:t}=e,[n,s]=(0,a.useState)({availableDate:null,results:null}),[l,o]=(0,a.useState)({availableDate:null,results:null}),[c,d]=(0,a.useState)(0),[p,u]=(0,a.useState)(null),[h,m]=(0,a.useState)(null),[_,v]=(0,a.useState)(null),[x,g]=(0,a.useState)(!1),[f,y]=(0,a.useState)("CC");return(0,r.jsx)(i.Provider,{value:{confirmationId:p,reservationNumber:h,gratuity:c,reservationCode:_,isReservationCodeError:x,savedAppointmentSlot:l,selectedAppointmentSlot:n,selectedPaymentMethod:f,setConfirmationId:u,setReservationNumber:m,setGratuity:d,setReservationCode:v,setIsReservationCodeError:g,setSavedAppointmentSlot:o,setSelectedAppointmentSlot:s,setSelectedPaymentMethod:y},children:t})},o=()=>{let e=(0,a.useContext)(i);if(!e)throw Error("useAppointmentContext must be used within an AppointmentProvider");return e}},74490:(e,t,n)=>{Promise.resolve().then(n.bind(n,38923))},76396:()=>{},79737:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});let r={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};for(var a,s=new Uint8Array(16),i=[],l=0;l<256;++l)i.push((l+256).toString(16).slice(1));let o=function(e,t,n){if(r.randomUUID&&!t&&!e)return r.randomUUID();var l=(e=e||{}).random||(e.rng||function(){if(!a&&!(a="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)))throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return a(s)})();if(l[6]=15&l[6]|64,l[8]=63&l[8]|128,t){n=n||0;for(var o=0;o<16;++o)t[n+o]=l[o];return t}return function(e,t=0){return(i[e[t+0]]+i[e[t+1]]+i[e[t+2]]+i[e[t+3]]+"-"+i[e[t+4]]+i[e[t+5]]+"-"+i[e[t+6]]+i[e[t+7]]+"-"+i[e[t+8]]+i[e[t+9]]+"-"+i[e[t+10]]+i[e[t+11]]+i[e[t+12]]+i[e[t+13]]+i[e[t+14]]+i[e[t+15]]).toLowerCase()}(l)}},80163:(e,t,n)=>{"use strict";n.d(t,{Ob:()=>i,fx:()=>s,zv:()=>a});var r=n(12115);function a(e){return e&&r.isValidElement(e)&&e.type===r.Fragment}let s=(e,t,n)=>r.isValidElement(e)?r.cloneElement(e,"function"==typeof n?n(e.props||{}):n):t;function i(e,t){return s(e,e,t)}},82678:e=>{e.exports={loggedIn:"styles_loggedIn__hCB3y",userIcon:"styles_userIcon__G1R5K",navigateAccount:"styles_navigateAccount__rvT3L"}},84076:(e,t,n)=>{"use strict";n.d(t,{L:()=>a});var r=n(12115);let a=()=>{let[e,t]=(0,r.useState)(!1),n=(0,r.useRef)(null);return(0,r.useEffect)(()=>{let e=e=>{n.current&&!n.current.contains(e.target)&&t(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[]),{isOpen:e,ref:n,setIsOpen:t,toggleOpen:()=>t(e=>!e)}}},88808:e=>{e.exports={stepper:"style_stepper__6hTZX",step:"style_step__GkRsu",disabled:"style_disabled__t86gi",circle:"style_circle__vLRhR",text:"style_text__iO1al",completed:"style_completed__OsABi",active:"style_active__r9S3N",connector:"style_connector__7LegV"}},94102:e=>{e.exports={contentWrapper:"style_contentWrapper__niS8J",headerWrapper:"style_headerWrapper__Opsbt",loadingContainer:"style_loadingContainer__TBXKy",loadingIcon:"style_loadingIcon__KuMIy",linkContainer:"style_linkContainer__RhvYo",greet:"style_greet__TbEXc",signIn:"style_signIn__Qi9p8",verticalBorder:"style_verticalBorder__OFWwz",cartWrapper:"style_cartWrapper__hnZum",checkoutHeader:"style_checkoutHeader___seiY",logoContainer:"style_logoContainer__MEiQC",userDetails:"style_userDetails__hQK1C",helpConatiner:"style_helpConatiner__jXA3r",questionIcon:"style_questionIcon__NvfTv",helpDropdown:"style_helpDropdown__gE1EN",mobileWrapper:"style_mobileWrapper__atqgu"}},94600:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var r=n(12115),a=n(29300),s=n.n(a),i=n(15982),l=n(39386),o=n(18184),c=n(45431),d=n(61388);let p=e=>{let{componentCls:t,sizePaddingEdgeHorizontal:n,colorSplit:r,lineWidth:a,textPaddingInline:s,orientationMargin:i,verticalMarginInline:c}=e;return{[t]:Object.assign(Object.assign({},(0,o.dF)(e)),{borderBlockStart:"".concat((0,l.zA)(a)," solid ").concat(r),"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:c,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:"".concat((0,l.zA)(a)," solid ").concat(r)},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:"".concat((0,l.zA)(e.dividerHorizontalGutterMargin)," 0")},["&-horizontal".concat(t,"-with-text")]:{display:"flex",alignItems:"center",margin:"".concat((0,l.zA)(e.dividerHorizontalWithTextGutterMargin)," 0"),color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:"0 ".concat(r),"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:"".concat((0,l.zA)(a)," solid transparent"),borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},["&-horizontal".concat(t,"-with-text-start")]:{"&::before":{width:"calc(".concat(i," * 100%)")},"&::after":{width:"calc(100% - ".concat(i," * 100%)")}},["&-horizontal".concat(t,"-with-text-end")]:{"&::before":{width:"calc(100% - ".concat(i," * 100%)")},"&::after":{width:"calc(".concat(i," * 100%)")}},["".concat(t,"-inner-text")]:{display:"inline-block",paddingBlock:0,paddingInline:s},"&-dashed":{background:"none",borderColor:r,borderStyle:"dashed",borderWidth:"".concat((0,l.zA)(a)," 0 0")},["&-horizontal".concat(t,"-with-text").concat(t,"-dashed")]:{"&::before, &::after":{borderStyle:"dashed none none"}},["&-vertical".concat(t,"-dashed")]:{borderInlineStartWidth:a,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:"none",borderColor:r,borderStyle:"dotted",borderWidth:"".concat((0,l.zA)(a)," 0 0")},["&-horizontal".concat(t,"-with-text").concat(t,"-dotted")]:{"&::before, &::after":{borderStyle:"dotted none none"}},["&-vertical".concat(t,"-dotted")]:{borderInlineStartWidth:a,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},["&-plain".concat(t,"-with-text")]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize},["&-horizontal".concat(t,"-with-text-start").concat(t,"-no-default-orientation-margin-start")]:{"&::before":{width:0},"&::after":{width:"100%"},["".concat(t,"-inner-text")]:{paddingInlineStart:n}},["&-horizontal".concat(t,"-with-text-end").concat(t,"-no-default-orientation-margin-end")]:{"&::before":{width:"100%"},"&::after":{width:0},["".concat(t,"-inner-text")]:{paddingInlineEnd:n}}})}},u=(0,c.OF)("Divider",e=>[p((0,d.oX)(e,{dividerHorizontalWithTextGutterMargin:e.margin,dividerHorizontalGutterMargin:e.marginLG,sizePaddingEdgeHorizontal:0}))],e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:e.marginXS}),{unitless:{orientationMargin:!0}});var h=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let m=e=>{let{getPrefixCls:t,direction:n,className:a,style:l}=(0,i.TP)("divider"),{prefixCls:o,type:c="horizontal",orientation:d="center",orientationMargin:p,className:m,rootClassName:_,children:v,dashed:x,variant:g="solid",plain:f,style:y}=e,b=h(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style"]),j=t("divider",o),[C,N,w]=u(j),S=!!v,I=r.useMemo(()=>"left"===d?"rtl"===n?"end":"start":"right"===d?"rtl"===n?"start":"end":d,[n,d]),k="start"===I&&null!=p,E="end"===I&&null!=p,W=s()(j,a,N,w,"".concat(j,"-").concat(c),{["".concat(j,"-with-text")]:S,["".concat(j,"-with-text-").concat(I)]:S,["".concat(j,"-dashed")]:!!x,["".concat(j,"-").concat(g)]:"solid"!==g,["".concat(j,"-plain")]:!!f,["".concat(j,"-rtl")]:"rtl"===n,["".concat(j,"-no-default-orientation-margin-start")]:k,["".concat(j,"-no-default-orientation-margin-end")]:E},m,_),z=r.useMemo(()=>"number"==typeof p?p:/^\d+$/.test(p)?Number(p):p,[p]);return C(r.createElement("div",Object.assign({className:W,style:Object.assign(Object.assign({},l),y)},b,{role:"separator"}),v&&"vertical"!==c&&r.createElement("span",{className:"".concat(j,"-inner-text"),style:{marginInlineStart:k?z:void 0,marginInlineEnd:E?z:void 0}},v)))}},95721:(e,t,n)=>{"use strict";n.d(t,{a:()=>s});var r=n(12115),a=n(58796);let s=()=>{let[e,t]=(0,r.useState)(!1),{isMobileScreen:n}=(0,a.b)();return(0,r.useEffect)(()=>{let e=()=>{t(window.scrollY>(n?500:60))};return window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)},[]),e}}},e=>{var t=t=>e(e.s=t);e.O(0,[2959,3887,1286,1794,3704,1137,7489,4666,6874,685,485,4987,3038,1709,1452,1754,8441,1684,7358],()=>t(74490)),_N_E=e.O()}]);