(globalThis["TURBOPACK_remote_chunk_loading_global_wx-next-web"]||(globalThis["TURBOPACK_remote_chunk_loading_global_wx-next-web"]=[])).push(["object"==typeof document?document.currentScript:void 0,629636,e=>{"use strict";var t=e.i(902875),a=e.i(725287),l=e.i(546446),i=e.i(663333),s=e.i(590238);e.s(["AuthorsAnalyticsBoundary",0,function(){let e=(0,a.useParams)(),n=e.slug||"home",r=e.locale||"en-US",o=(0,l.useAtomValue)(i.deviceClassAtom);return(0,t.jsx)(s.AnalyticsBoundary,{pageId:`explore-${n}`,pageLocale:r,deviceClass:o})}])},726538,e=>{"use strict";var t=e.i(902875),a=e.i(247865),l=e.i(725287),i=e.i(457492);e.s(["SectionSubnav",0,function({links:e,locale:s,section:n,leadingLink:r,disableActiveFallback:o=!1,className:c}){let m=(0,l.useParams)(),{navLinks:u,basePath:h}=(0,a.useMemo)(()=>({navLinks:[...r?[r]:[],...e.map(e=>({...e,slug:`${n}/${e.slug}`}))],basePath:"en-US"===s?"":`/${s}`}),[e,s,n,r]),d=(0,a.useMemo)(()=>{let t=r&&!o?0:-1;if(m.section&&m.section!==`/${n}`.replace(/^\//,"").replace(/\//g,"-"))return t;let a=e.findIndex(e=>e.slug===m.slug);return -1===a?t:a+ +!!r},[m.section,m.slug,n,e,r,o]);return(0,t.jsx)(i.SubnavigationUI,{links:u,basePath:h,activeIndex:d,className:c})}],726538)},238430,e=>{"use strict";var t=e.i(902875),a=e.i(247865);e.s(["default",0,function({candidate:e,failedMessage:l="Authentication failed. Please try again.",protectMessage:i="Remove your adblocker.",fetch:s,refresh:n,getCustomAccountInfo:r}){let[o,c]=(0,a.useState)(""),[m,u]=(0,a.useState)(!1),[h,d]=(0,a.useState)(!1),[p,v]=(0,a.useState)(!1),b=(0,a.useRef)([]);(0,a.useEffect)(()=>{e.id!==b.current[0]&&(b.current=[e.id],e.transactIDs&&b.current.push(...e.transactIDs))},[e.id,e.transactIDs]);let g=(0,a.useCallback)(()=>{try{s("/?adm_get_token=1").then(e=>{e.ok&&n()}).catch(()=>{c(l)})}catch{c(l)}},[s,l,n]),k=(0,a.useMemo)(()=>"u">typeof window?window:{admiral:{}},[]);return(0,a.useEffect)(()=>{typeof window>"u"||(k.admiral=k.admiral||function(...e){(k.admiral.q=k.admiral.q||[]).push(e)},k.admiral("after","measure.detected",function(t){if("abr"==e.requirement)t.adblocking?(c(i),u(!0)):v(!0);else if("account"==e.requirement||"benefits"==e.requirement){let t=!!r;k.admiral("after","visitor.latest",function(a){var l;if("account"===e.requirement)(t?r().registered:a.status.registered)||h||(c(i),u(!0));else if("benefits"===e.requirement){let a=[];if(t)a=r().benefits;else{let e=document.cookie.split(";");e&&(a=(null==(l=e.find(e=>e.startsWith("admbenefits=")))?void 0:l.split(","))??[])}if(a){let t=e.benefits??[];if(0==t.length)return void v(!0);let l=!1;for(let e of t)a.includes(e)&&(l=!0);l?v(!0):(c(i),u(!0))}else c(i),u(!0)}})}}))},[]),(0,a.useEffect)(()=>{p&&(v(!1),g())},[p,g]),(0,a.useEffect)(()=>{h||!m||(d(!0),k.admiral("targeting","force",{candidateIDs:b.current}))},[h,m,b,k]),(0,t.jsxs)("div",{children:[o||null," "]})}])},590238,e=>{"use strict";var t=e.i(725287),a=e.i(537989);e.i(609717);var l=e.i(950771),i=e.i(695203),s=e.i(604323),n=e.i(797770),r=e.i(236433),o=e.i(513539),c=e.i(991511);e.s(["AnalyticsBoundary",0,e=>{let m=(0,t.usePathname)();return(0,c.useRehydrateAtoms)([[a.pageIdAtom,e.pageId],[l.pageLocaleAtom,e.pageLocale],[i.deviceClassAtom,e.deviceClass],[s.metricsArticleDataAtom,e.metricsArticleData],[n.adsMetricsUnitAndZoneAtom,e.adsMetricsUnitAndZone??"non_monetized"],[o.layoutStateAtom,e.layoutState??null],[o.activeEventAtom,e.activeEvent??null],[r.pageAtomsPathnameAtom,m]]),null}])},123590,333761,e=>{"use strict";var t=e.i(947118),a=e.i(737801),l=e.i(630986),i=e.i(247865);e.s(["useTrackContentLinkClick",0,()=>{let e="content-link-click",s=(0,t.useIsInitialized)(),n=(0,a.useEventAttributes)(),r=(0,l.useCMSAttributes)();return(0,i.useCallback)(t=>{let a={createdDate:r?.createdDate||"",contentId:r?.contentId||"",publishDate:r?.publishDate||"",author:r?.author||"",collection:r?.collection||"",entitlements:r?.entitlements||"",provider:r?.provider||"",linkType:t.linkType,linkURL:t.linkURL,linkText:t.linkText||"",moduleId:t.moduleId||"",tagsKeyword:t.tagsKeyword??r?.tagsKeyword,...n,physicalCountry:n.physicalCountry||"",physicalState:n.physicalState||"",wlocCity:n.wlocCity||"",wlocCountry:n.wlocCountry||"",wlocState:n.wlocState||"",regime:n.regime||""};if(!s)return void console.warn("MParticle is not initialized");try{window.mParticle?.logEvent?.(e,window.mParticle?.EventType?.Other,a);try{window.mParticle?.upload?.()}catch{}console.debug(`MParticle: Event "${e}" tracked`,a)}catch(t){console.error(`MParticle: Event "${e}" failed`,t)}},[r?.createdDate,r?.contentId,r?.publishDate,r?.author,r?.collection,r?.entitlements,r?.provider,n,s])}],123590);var s=e.i(546446),n=e.i(540768),r=e.i(682142),o=e.i(782937),c=e.i(695881),m=e.i(333350),u=e.i(64412),h=e.i(950771),d=e.i(537989),p=e.i(695203),v=e.i(604323),b=e.i(358273),g=e.i(158662),k=e.i(777638),f=e.i(727365),y=e.i(896363),w=e.i(924776),j=e.i(409628),P=e.i(605781);let x=(0,c.createLogger)("useTrackContentLinkClick"),C=new Set(["city","locality","neighborhood","airport","postal","poi","ski","geocode","locid"]),S=new Set(["mapbox","twc-poi","twc-v3-loc-search","twc-v3-loc-point"]);e.s(["useTrackContentLinkClick",0,()=>{let e=(0,s.useAtomValue)(d.pageIdAtom),t=(0,s.useAtomValue)(h.pageLocaleAtom),a=(0,s.useAtomValue)(p.deviceClassAtom),l=(0,s.useAtomValue)(v.metricsArticleDataAtom),c=(0,s.useAtomValue)(g.experimentJoinListAtom),{location:_}=(0,u.useLocation)(),A=(0,w.useIsHightouchReady)(),q=(0,i.useCallback)(i=>{let s=(0,r.getCICookie)(),m=s?.["TWC-GeoIP-Country"]??(0,n.getCookie)("twc-location-country"),u=s?.["TWC-GeoIP-Region"]??(0,n.getCookie)("twc-location-region"),h=s?.["TWC-Privacy"]??(0,n.getCookie)("twc-privacy"),d=window.DprSdk?.getGdprConsentOptInsString()??"",p=window.DprSdk?.getCcpaSaleOptInString()??"",v=window.navigator?.globalPrivacyControl??!1,g=d?.includes("functional-technology")??!1,w=window.DprSdk?.getUserConsent("geographically-relevant-advertising")!==!1,P=window.DprSdk?.getUserConsent("interest-based-ads")!==!1,x=String(window.DprSdk?.getUserConsent("sale-of-data")!==!1),A=String(window.DprSdk?.getUserConsent("sensitive-data")!==!1),q=navigator?.cookieEnabled??!1,I=(0,n.getCookie)("partner")||"",z=(0,o.getPartnerByPattern)(I)??I,D=(0,b.getMetricsSession)(),T=D?.sessionId||"",L=new Date(D?.sessionStartTime||0).toISOString(),E=new Date,R=E.getHours(),M=j.WEEK_DAYS[E.getDay()]??"",U=(0,f.normalizeWlocType)(_?.type),$=_?.featureSource??null;return{linkType:i.linkType,linkURL:i.linkURL,linkText:i.linkText||"",moduleId:i.moduleId||"",pageId:e??"",schemaVersion:"nextgen",author:l?.author||"",contentId:l?.contentId??null,createdDate:l?.createdDate??null,publishDate:l?.publishDate??null,collection:l?.collection??null,entitlements:l?.entitlements??null,nodeTypes:l?.nodeType??null,pageTemplate:l?.pageTemplate??null,premiumContent:l?.premiumContent!=null?String(l.premiumContent):null,provider:l?.provider??null,tagsGeo:l?.tagsGeo??null,tagsKeyword:i.tagsKeyword??l?.tagsKeyword??null,tagsStorm:l?.tagsStorm??null,title:l?.title??null,seoTitle:l?.seoTitle??null,referrer:document.referrer,locale:t,deviceClass:a,partner:z,sessionId:T,sessionStartTime:L,siteMode:"normal",dayOfWeek:M,hourOfDay:R,regime:h??"",cookiesEnabled:q,gpcSignalOptOut:v,functionalTechnologies:g,geographicallyRelevantAds:w,interestBasedAds:P,priv:d,privProducts:p,saleOfData:x,saleOfDataAuthorization:x,sensitiveDataAuthorization:A,campaign:(0,k.getCampaign)(),linkReferral:(0,k.getLinkReferral)()??void 0,experimentJoinList:c,weatherMode:"normal",physicalCountry:m??"",physicalState:u??"",wlocCity:_?.city??null,wlocCountry:_?.countryCode??null,wlocState:_?.adminDistrictCode??null,wlocDMA:_?.dmaCd??null,wlocId:_?.placeId??null,wlocFeatureId:_?.featureId??null,wlocFeatureSource:null!=$&&S.has($)?$:void 0,wlocTags:_?.tags?.length?(0,y.parseArrayToString)(_.tags):null,wlocType:null!==U&&C.has(U)?U:void 0,samsungVersion:(0,k.getSamsungVersion)(),appVersion:"b1f2a8b9d69b0e3e05fe6d294ee6a35cce1a3921".slice(0,10)}},[e,t,a,l,c,_]);return(0,i.useCallback)(e=>{if(m.default){if(!A)return void x.warn('Hightouch: Event "content-link-click" skipped - SDK not ready');try{(0,P.trackContentLinkClick)(q(e)),x.info('Hightouch: Event "content-link-click" tracked')}catch(e){x.error('Hightouch: Event "content-link-click" failed',{error:e})}}},[A,q])}],333761)},887908,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3d-1kbutbj1gv.js"].map(t=>e.l(t))).then(()=>t(147168)))},991894,e=>{e.v(t=>Promise.all(["static/immutable/chunks/22euvwis66vmb.js"].map(t=>e.l(t))).then(()=>t(39086)))},840623,e=>{e.v(t=>Promise.all(["static/immutable/chunks/2n8msz19yvqd6.js"].map(t=>e.l(t))).then(()=>t(882330)))},660824,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0xxeeocmy2aye.js"].map(t=>e.l(t))).then(()=>t(530212)))},317297,e=>{e.v(t=>Promise.all(["static/immutable/chunks/2616xyz29bjwr.js"].map(t=>e.l(t))).then(()=>t(680602)))},355962,e=>{e.v(t=>Promise.all(["static/immutable/chunks/37hnuu5dy6sit.js"].map(t=>e.l(t))).then(()=>t(503885)))},765014,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3um12qzwmc8k_.js"].map(t=>e.l(t))).then(()=>t(872251)))},876327,e=>{e.v(t=>Promise.all(["static/immutable/chunks/2tyxy3-hxmn50.js"].map(t=>e.l(t))).then(()=>t(947387)))},921282,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3ma3aggvms9ma.js"].map(t=>e.l(t))).then(()=>t(493948)))},959395,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0f3g-lp97vkng.js"].map(t=>e.l(t))).then(()=>t(706686)))},813499,e=>{e.v(t=>Promise.all(["static/immutable/chunks/329zyt8hnwe7y.js"].map(t=>e.l(t))).then(()=>t(314459)))},563854,e=>{e.v(t=>Promise.all(["static/immutable/chunks/16536_5evh7u0.js"].map(t=>e.l(t))).then(()=>t(643246)))},48629,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1zgos4ygxa0bb.js"].map(t=>e.l(t))).then(()=>t(769885)))},762150,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0p2m8whl54tha.js"].map(t=>e.l(t))).then(()=>t(1892)))},541661,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0y1c5urz16cs_.js"].map(t=>e.l(t))).then(()=>t(478186)))},565343,e=>{e.v(t=>Promise.all(["static/immutable/chunks/06xr-i7ondto9.js"].map(t=>e.l(t))).then(()=>t(294782)))},393816,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0ff1-4vnz_78l.js"].map(t=>e.l(t))).then(()=>t(855621)))},75726,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0yr40fq9cik4v.js"].map(t=>e.l(t))).then(()=>t(748540)))},72951,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3mw623e8v1oie.js"].map(t=>e.l(t))).then(()=>t(360647)))},276567,e=>{e.v(t=>Promise.all(["static/immutable/chunks/2853l-wt_g4_t.js"].map(t=>e.l(t))).then(()=>t(501462)))},951283,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1hb99379n909x.js"].map(t=>e.l(t))).then(()=>t(273498)))},416614,e=>{e.v(t=>Promise.all(["static/immutable/chunks/084ypheui9pug.js"].map(t=>e.l(t))).then(()=>t(901728)))},592630,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0s_0vvr_qgag9.js"].map(t=>e.l(t))).then(()=>t(507085)))},423373,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1p3orq86c5ifv.js"].map(t=>e.l(t))).then(()=>t(62159)))},815954,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3qaf2w3zk3w27.js"].map(t=>e.l(t))).then(()=>t(61161)))},15398,e=>{e.v(t=>Promise.all(["static/immutable/chunks/02xiqt9zvf6gh.js"].map(t=>e.l(t))).then(()=>t(762526)))},776943,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1ytb6oy4ikrz6.js"].map(t=>e.l(t))).then(()=>t(97569)))},284458,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3nxkndkqavswg.js"].map(t=>e.l(t))).then(()=>t(877390)))},261156,e=>{e.v(t=>Promise.all(["static/immutable/chunks/38l6gmiu5_9ku.js"].map(t=>e.l(t))).then(()=>t(827382)))},389867,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3hk3rd5e71dc4.js"].map(t=>e.l(t))).then(()=>t(702479)))},900346,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0t4h2wlc7n595.js"].map(t=>e.l(t))).then(()=>t(389327)))},96219,e=>{e.v(t=>Promise.all(["static/immutable/chunks/381m8qf6cbhtp.js"].map(t=>e.l(t))).then(()=>t(16557)))},267082,e=>{e.v(t=>Promise.all(["static/immutable/chunks/31nq3o47_azko.js"].map(t=>e.l(t))).then(()=>t(894202)))},829350,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1p8724zzw5ewi.js"].map(t=>e.l(t))).then(()=>t(447314)))},391939,e=>{e.v(t=>Promise.all(["static/immutable/chunks/396y1w1ozc-fu.js"].map(t=>e.l(t))).then(()=>t(72575)))},252521,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0lmym4f8kyevf.js"].map(t=>e.l(t))).then(()=>t(661446)))},408674,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1bk2xo-o_s-vf.js"].map(t=>e.l(t))).then(()=>t(783769)))},846784,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1-9yeudlt40j_.js"].map(t=>e.l(t))).then(()=>t(873667)))},713848,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0qp3xhy3q8zip.js"].map(t=>e.l(t))).then(()=>t(889507)))},407657,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1-2wb7wpbqbgn.js"].map(t=>e.l(t))).then(()=>t(75960)))},415546,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0tsqv73kd2uwg.js"].map(t=>e.l(t))).then(()=>t(667728)))},781723,e=>{e.v(t=>Promise.all(["static/immutable/chunks/17nasyndzgye8.js"].map(t=>e.l(t))).then(()=>t(654703)))},197999,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0hwzkvu2g7pco.js"].map(t=>e.l(t))).then(()=>t(272493)))},103659,e=>{e.v(t=>Promise.all(["static/immutable/chunks/17hryngooc2j1.js"].map(t=>e.l(t))).then(()=>t(296920)))},625303,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1d-xb8qt0v27_.js"].map(t=>e.l(t))).then(()=>t(718437)))},148486,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3q96qady37ql-.js"].map(t=>e.l(t))).then(()=>t(946515)))},957284,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1zx_ucotfu7pf.js"].map(t=>e.l(t))).then(()=>t(48914)))},92368,e=>{e.v(t=>Promise.all(["static/immutable/chunks/19pzyqeq9654w.js"].map(t=>e.l(t))).then(()=>t(789895)))},226507,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3jelzfg203nfe.js"].map(t=>e.l(t))).then(()=>t(538258)))},132409,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0nmdno2r5jhr2.js"].map(t=>e.l(t))).then(()=>t(3017)))},626117,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3mltvvqhcgund.js"].map(t=>e.l(t))).then(()=>t(825086)))},395624,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1q-jk2-pdev6-.js"].map(t=>e.l(t))).then(()=>t(600726)))},494738,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3_ndi79lx21jd.js"].map(t=>e.l(t))).then(()=>t(512028)))},774463,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3t1n31-ogxy75.js"].map(t=>e.l(t))).then(()=>t(155062)))},752465,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3iyt_l7ny1i-k.js"].map(t=>e.l(t))).then(()=>t(777844)))},67832,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1jtfbjn7tl5lf.js"].map(t=>e.l(t))).then(()=>t(414064)))},2638,e=>{e.v(t=>Promise.all(["static/immutable/chunks/2jkxj9298b3gp.js"].map(t=>e.l(t))).then(()=>t(198051)))},916531,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0wdahy0c-g55j.js"].map(t=>e.l(t))).then(()=>t(369675)))},744883,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1yxzgbbc9k2zy.js"].map(t=>e.l(t))).then(()=>t(581947)))},880187,e=>{e.v(t=>Promise.all(["static/immutable/chunks/17dedv282ubqs.js"].map(t=>e.l(t))).then(()=>t(747997)))},164295,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0srphq_p8tbzl.js"].map(t=>e.l(t))).then(()=>t(702162)))},521662,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0mi2a4br_qp3u.js"].map(t=>e.l(t))).then(()=>t(782697)))},403395,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0pvy0xx928tqy.js"].map(t=>e.l(t))).then(()=>t(573581)))},661123,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1n29uczdwr6s-.js"].map(t=>e.l(t))).then(()=>t(711818)))},48208,e=>{e.v(t=>Promise.all(["static/immutable/chunks/2n6233oisp1f-.js"].map(t=>e.l(t))).then(()=>t(625444)))},476493,e=>{e.v(t=>Promise.all(["static/immutable/chunks/234hfx_o8ubit.js"].map(t=>e.l(t))).then(()=>t(328877)))},650095,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1-83gv2_8qjed.js"].map(t=>e.l(t))).then(()=>t(601862)))},945801,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3a02q729huh9w.js"].map(t=>e.l(t))).then(()=>t(566248)))},909969,e=>{e.v(t=>Promise.all(["static/immutable/chunks/41skq4kn8ohe8.js"].map(t=>e.l(t))).then(()=>t(218776)))},155043,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0nxr0_6i1lqtd.js"].map(t=>e.l(t))).then(()=>t(869146)))},353962,e=>{e.v(t=>Promise.all(["static/immutable/chunks/2hut6c8sprk2i.js"].map(t=>e.l(t))).then(()=>t(367128)))},666922,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3qb4sm1bny98e.js"].map(t=>e.l(t))).then(()=>t(856593)))},72998,e=>{e.v(t=>Promise.all(["static/immutable/chunks/2sx3cwgqxp3i5.js"].map(t=>e.l(t))).then(()=>t(970479)))},722332,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3e4lkh1cm8zsc.js"].map(t=>e.l(t))).then(()=>t(476881)))},171913,e=>{e.v(t=>Promise.all(["static/immutable/chunks/37viczxedu6th.js"].map(t=>e.l(t))).then(()=>t(927976)))},90,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0b6c2xomqe187.js"].map(t=>e.l(t))).then(()=>t(22872)))},632092,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3cmxbqj3xp7vq.js"].map(t=>e.l(t))).then(()=>t(45677)))},186044,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0vvbxf_wv0u_l.js"].map(t=>e.l(t))).then(()=>t(451309)))},235577,e=>{"use strict";var t=e.i(902875),a=e.i(523084),l=e.i(47524),i=e.i(632137),s=e.i(877957);e.s(["ScrollButton",0,function({direction:e,onClick:n,hidden:r,size:o="default",variant:c="light",className:m}){let u="sm"===o,h=(0,i.cn)("text-current",u?"size-4":"size-6 transition-[width,height] duration-150 group-hover:size-7 group-active:size-6 group-active:duration-100");return(0,t.jsx)(s.Button,{type:"button",onClick:n,"aria-hidden":"true",tabIndex:-1,className:(0,i.cn)("group z-sticky absolute top-1/2 flex -translate-y-1/2 cursor-pointer items-center justify-center rounded-full p-0 transition-all duration-150 ease-in-out active:duration-100","dark"===c?"bg-[#252422] text-white hover:bg-[#3a3937] active:bg-[#1a1918]":"solid"===c?"bg-black/80 text-white hover:bg-black/90 active:bg-black":"white"===c?"bg-white/80 text-gray-900 backdrop-blur-[2px] hover:bg-white/95 active:bg-white":"bg-transparent text-gray-900 hover:bg-gray-100 active:bg-gray-200",u?"size-8":"size-12","left"===e&&"left-1","right"===e&&"right-1",r&&"left"===e&&"-translate-x-[calc(100%+1.5rem)]",r&&"right"===e&&"translate-x-[calc(100%+1.5rem)]",r&&"pointer-events-none opacity-0",m),children:"left"===e?(0,t.jsx)(a.ChevronLeft,{className:h}):(0,t.jsx)(l.ChevronRight,{className:h})})}])},457492,e=>{"use strict";var t=e.i(902875),a=e.i(247865),l=e.i(632137),i=e.i(546446),s=e.i(663333),n=e.i(235577),r=e.i(315730),o=e.i(240058);let c=(0,l.cn)("h-full rounded-3xl px-4 text-sm whitespace-nowrap transition-colors text-gray-900 font-bold","inline-flex items-center hover:bg-gray-100 active:bg-gray-200 focus-visible:outline-none focus-visible:bg-gray-100"),m=e=>{let{activeIndex:a,index:i,link:s}=e,n=a===i,r=(0,l.cn)(c,{"bg-gray-100 text-blue-500":n});if(e.onSelect){let{onSelect:a}=e;return(0,t.jsx)("button",{type:"button",onClick:()=>a(i,s),className:(0,l.cn)("cursor-pointer",r),"aria-current":n?"page":void 0,children:s.label})}let{basePath:m,mpa:u}=e,h=s.href??("/"===s.slug?m||"/":`${m}/${s.slug}`);return(0,t.jsx)(o.default,{href:h,mpa:u,className:r,"aria-current":n?"page":void 0,sourceModule:"subnavigation",children:s.label})},u=(0,a.memo)(e=>{let{links:a,activeIndex:o,className:c,constrained:u=!0}=e,h=(0,i.useAtomValue)(s.deviceClassAtom),{ref:d,showLeft:p,showRight:v,scrollLeft:b,scrollRight:g}=(0,r.useHorizontalScroll)({enabled:"mobile"!==h&&"tablet"!==h,scrollAmount:200,contentKey:a});return(0,t.jsxs)("div",{className:(0,l.cn)("relative overflow-hidden rounded-3xl bg-white p-1 shadow-[0_4px_16px_0_rgba(0,0,0,0.08),_0_0_32px_0_rgba(0,0,0,0.12)]","md:rounded-4xl md:rounded-[28px]",u&&"md:mr-auto md:max-w-[min(958px,100%)]",c),"data-testid":"subnavigation",children:[(0,t.jsx)("div",{className:(0,l.cn)("pointer-events-none absolute top-0 -left-25 h-full w-24 bg-gradient-to-r from-white from-0% via-white via-60% to-transparent transition-[left] md:-top-1 md:h-14 md:rounded-s-[28px]",{"-left-1":p}),"aria-hidden":"true"}),(0,t.jsx)(n.ScrollButton,{hidden:!p,onClick:b,direction:"left"}),(0,t.jsx)("div",{ref:d,className:(0,l.cn)("scrollbar-hide flex h-10 items-center gap-1 overflow-x-auto md:h-12"),children:a.map((a,l)=>e.onSelect?(0,t.jsx)(m,{link:a,index:l,activeIndex:o,onSelect:e.onSelect},`${a.label}_${a.slug}`):(0,t.jsx)(m,{link:a,index:l,activeIndex:o,basePath:e.basePath,mpa:e.mpa},`${a.label}_${a.slug}`))}),(0,t.jsx)("div",{className:(0,l.cn)("pointer-events-none absolute top-0 -right-25 h-full w-24 bg-gradient-to-l from-white from-0% via-white via-60% to-transparent transition-[right] md:-top-1 md:h-14 md:rounded-e-[28px]",{"-right-1":v}),"aria-hidden":"true"}),(0,t.jsx)(n.ScrollButton,{hidden:!v,onClick:g,direction:"right"})]})},(e,t)=>e.activeIndex===t.activeIndex&&e.basePath===t.basePath&&e.mpa===t.mpa&&e.onSelect===t.onSelect&&e.constrained===t.constrained&&e.links.length===t.links.length&&e.links.every((e,a)=>e.label===t.links[a]?.label&&e.slug===t.links[a]?.slug&&e.href===t.links[a]?.href));u.displayName="SubnavigationUI",e.s(["SubnavigationUI",0,u],457492)},315730,e=>{"use strict";var t=e.i(147732),a=e.i(247865);e.s(["useHorizontalScroll",0,function({enabled:e=!0,scrollAmount:l=200,contentKey:i}={}){let s=(0,a.useRef)(null),n=(0,a.useRef)(null),r=(0,a.useRef)(!1),[o,c]=(0,a.useState)(!1),[m,u]=(0,a.useState)(!1),h=(0,a.useCallback)(()=>{let t=s.current;if(!t||!e){c(!1),u(!1);return}let{scrollLeft:a,scrollWidth:l,clientWidth:i}=t,n=Math.abs(a),o=n>2,m=n+i(0,t.debounce)(h,150),[h]),p=(0,a.useCallback)(()=>{null===n.current&&(n.current=requestAnimationFrame(()=>{h(),n.current=null}))},[h]);(0,a.useEffect)(()=>{let t=s.current;return t&&(r.current="rtl"===getComputedStyle(t).direction),h(),e&&(t?.addEventListener("scroll",p),window.addEventListener("resize",d)),()=>{null!==n.current&&cancelAnimationFrame(n.current),n.current=null,t?.removeEventListener("scroll",p),d.cancel(),window.removeEventListener("resize",d)}},[e,h,p,d,i]);let v=(0,a.useCallback)(()=>s.current?.scrollBy({left:-l,behavior:"smooth"}),[l]),b=(0,a.useCallback)(()=>s.current?.scrollBy({left:l,behavior:"smooth"}),[l]);return{ref:s,showLeft:o,showRight:m,scrollLeft:v,scrollRight:b}}])}]);