(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,147732,e=>{"use strict";e.s(["f",0,function(e,t,{signal:o,edges:i}={}){let a,r=null,n=null!=i&&i.includes("leading"),l=null==i||i.includes("trailing"),c=()=>{null!==r&&(e.apply(a,r),a=void 0,r=null)},d=null,s=()=>{null!=d&&clearTimeout(d),d=setTimeout(()=>{d=null,l&&c(),u()},t)},u=()=>{null!==d&&(clearTimeout(d),d=null),a=void 0,r=null},p=function(...e){if(o?.aborted)return;a=this,r=e;let t=null==d;s(),n&&t&&c()};return p.schedule=s,p.cancel=u,p.flush=()=>{c()},o?.addEventListener("abort",u,{once:!0}),p}])},866137,723469,e=>{"use strict";let t=(0,e.i(144683).g)(!1);e.s(["f",0,t],866137);var o=e.i(538167),i=e.i(935251),a=e.i(282446),r=e.i(201542),n=e.i(682142),l=e.i(782937),c=e.i(695881),d=e.i(333350),s=e.i(64412),u=e.i(950771),p=e.i(537989),g=e.i(695203),f=e.i(158662),I=e.i(358273),y=e.i(122124),E=e.i(777638),C=e.i(924776),w=e.i(24638),h=e.i(409628),v=e.i(605781),D=e.i(963722),L=e.i(313983);let m=(0,c.createLogger)("useTrackString");e.s(["f",0,()=>{let e=(0,a.y)(p.f),t=(0,a.y)(u.f),c=(0,a.y)(g.f),S=(0,a.y)(f.f),P=(0,i.usePathname)(),{location:T}=(0,s.f)(),x=(0,w.f)(),b=(0,C.f)()&&void 0!==x,R=(0,o.useCallback)(o=>{let i=(0,n.f)(),a=i?.["TWC-GeoIP-Country"]??(0,r.getCookie)("twc-location-country"),d=i?.["TWC-GeoIP-Region"]??(0,r.getCookie)("twc-location-region"),s=i?.["TWC-Privacy"]??(0,r.getCookie)("twc-privacy"),u=window.DprSdk?.getGdprConsentOptInsString()??"",p=window.DprSdk?.getCcpaSaleOptInString()??"",g=window.navigator?.globalPrivacyControl??!1,f=(0,D.u)(L.d.FUNCTIONAL_TECHNOLOGY),C=(0,D.u)(L.d.GEOGRAPHICALLY_RELEVANT_ADVERTISING),w=(0,D.u)(L.d.SALE_OF_DATA),v=(0,D.u)(L.d.SENSITIVE_DATA),m=navigator?.cookieEnabled??!1,b=(0,r.getCookie)("partner")||"",R=(0,l.i)(b)??b,A=(0,I.N)(),F=A?.sessionId||"",k=new Date(A?.sessionStartTime||0).toISOString(),_=new Date,U=_.getHours(),O=h.f[_.getDay()]??"",G="article"===e||"video"===e?(0,y.Z)(P??""):(0,y.N)(P??"");return{trackString:o,pageId:e??"",schemaVersion:"nextgen",url:G,referrer:document.referrer,locale:t,deviceClass:c,partner:R,sessionId:F,sessionStartTime:k,siteMode:"normal",dayOfWeek:O,hourOfDay:U,regime:s??"",cookiesEnabled:m,gpcSignalOptOut:g,functionalTechnologies:f,geographicallyRelevantAds:C,interestBasedAds:x?.[L.d.INTEREST_BASED_ADS]??null,priv:u,privProducts:p,saleOfDataAuthorization:w,sensitiveDataAuthorization:v,campaign:(0,E.s)(),experimentJoinList:S,weatherMode:"normal",physicalCountry:a??"",physicalState:d??"",wlocCity:T?.city??null,wlocCountry:T?.countryCode??null,wlocState:T?.adminDistrictCode??null,wlocDMA:T?.dmaCd??null,samsungVersion:(0,E.L)(),appVersion:"e9304b9dc9a3aba9ddce0ca3871fe1caf9336dfa".slice(0,10)}},[e,t,c,S,P,T,x]);return(0,o.useCallback)(e=>{if(d.default&&e){if(!b)return void m.warn('Hightouch: Event "track-string" skipped - SDK not ready');try{(0,v.h)(R(e)),m.info('Hightouch: Event "track-string" tracked',{trackString:e})}catch(e){m.error('Hightouch: Event "track-string" failed',{error:e})}}},[b,R])}],723469)},647292,e=>{"use strict";let t=(0,e.i(144683).g)("");e.s(["f",0,t])},320209,e=>{"use strict";e.i(199690);var t=e.i(538167),o=e.i(935251),i=e.i(282446),a=e.i(201542),r=e.i(682142),n=e.i(782937),l=e.i(695881),c=e.i(333350),d=e.i(64412),s=e.i(950771),u=e.i(537989),p=e.i(695203),g=e.i(158662),f=e.i(358273),I=e.i(122124),y=e.i(727365),E=e.i(896363),C=e.i(777638),w=e.i(924776),h=e.i(24638),v=e.i(409628),D=e.i(605781),L=e.i(963722),m=e.i(313983);let S=(0,l.createLogger)("useTrackAssetViewed"),P=[],T=null;function x(e){try{(0,D.o)(e),S.info(`Hightouch: Event "asset-viewed" tracked - ${e.contentId}`)}catch(e){S.error('Hightouch: Event "asset-viewed" failed',e)}}e.s(["c",0,function(e){try{T?.(e)}catch(e){S.error('Hightouch: Event "asset-viewed" failed',e)}},"f",0,()=>{let e=(()=>{let e=(0,o.usePathname)(),l=(0,i.y)(u.f),D=(0,i.y)(s.f),S=(0,i.y)(p.f),T=(0,i.y)(g.f),{location:b}=(0,d.f)(),R=(0,h.f)(),A=(0,w.f)()&&void 0!==R,F=(0,t.useCallback)(({moduleId:t,contentId:o,assetMediaType:i,title:c,pos:d,tagsKeyword:s})=>{let u=(0,r.f)(),p=u?.["TWC-GeoIP-Country"]??(0,a.getCookie)("twc-location-country"),g=u?.["TWC-GeoIP-Region"]??(0,a.getCookie)("twc-location-region"),w=u?.["TWC-Privacy"]??(0,a.getCookie)("twc-privacy"),h=window.DprSdk?.getGdprConsentOptInsString()??"",P=window.DprSdk?.getCcpaSaleOptInString()??"",x=window.navigator?.globalPrivacyControl??!1,A=(0,L.u)(m.d.FUNCTIONAL_TECHNOLOGY),F=(0,L.u)(m.d.GEOGRAPHICALLY_RELEVANT_ADVERTISING),k=(0,L.u)(m.d.SALE_OF_DATA),_=(0,L.u)(m.d.SENSITIVE_DATA),U=navigator?.cookieEnabled??!1,O=(0,a.getCookie)("partner")||"",G=(0,n.i)(O)??O,N=(0,f.N)(),M=N?.sessionId||"",z=new Date(N?.sessionStartTime||0).toISOString(),$=new Date,V=$.getHours(),Z=v.f[$.getDay()]??"",B="article"===l||"video"===l?(0,I.Z)(e??""):(0,I.N)(e??"");return{moduleId:t,contentId:o,assetMediaType:i,title:c,pos:String(d),tagsKeyword:s??null,pageId:l??"",schemaVersion:"nextgen",url:B,referrer:document.referrer,locale:D,deviceClass:S,partner:G,sessionId:M,sessionStartTime:z,siteMode:"normal",dayOfWeek:Z,hourOfDay:V,regime:w??"",cookiesEnabled:U,gpcSignalOptOut:x,functionalTechnologies:A,geographicallyRelevantAds:F,interestBasedAds:R?.[m.d.INTEREST_BASED_ADS]??null,priv:h,privProducts:P,saleOfDataAuthorization:k,sensitiveDataAuthorization:_,campaign:(0,C.s)(),experimentJoinList:T,weatherMode:"normal",physicalCountry:p??"",physicalState:g??"",wlocCity:b?.city??null,wlocCountry:b?.countryCode??null,wlocState:b?.adminDistrictCode??null,wlocDMA:b?.dmaCd??null,wlocId:b?.placeId??null,wlocFeatureId:b?.featureId??null,wlocTags:b?.tags?.length?(0,E.f)(b.tags):null,wlocType:(0,y.f)(b?.type),samsungVersion:(0,C.L)(),appVersion:"e9304b9dc9a3aba9ddce0ca3871fe1caf9336dfa".slice(0,10)}},[e,l,D,S,T,b,R]);return(0,t.useEffect)(()=>{if(!A||0===P.length)return;let e=P;P=[],e.forEach(x)},[A]),(0,t.useCallback)(e=>{if(!c.default)return;let t=F(e);A?x(t):P.push(t)},[A,F])})();(0,t.useEffect)(()=>(T=e,()=>{T===e&&(T=null)}),[e])}])},782552,e=>{"use strict";e.i(199690);var t=e.i(538167),o=e.i(935251),i=e.i(282446),a=e.i(201542),r=e.i(682142),n=e.i(782937),l=e.i(695881),c=e.i(333350),d=e.i(64412),s=e.i(950771),u=e.i(537989),p=e.i(695203),g=e.i(513539),f=e.i(158662),I=e.i(358273),y=e.i(122124),E=e.i(777638),C=e.i(727365),w=e.i(896363),h=e.i(924776),v=e.i(24638),D=e.i(409628),L=e.i(605781),m=e.i(963722),S=e.i(313983);let P=(0,l.createLogger)("useTrackModuleViewed"),T=new Set(["city","locality","neighborhood","airport","postal","poi","ski","geocode","locid"]),x=new Set(["mapbox","twc-poi","twc-v3-loc-search","twc-v3-loc-point"]),b=[];function R(e){try{(0,L.T)(e),P.info(`Hightouch: Event "module-viewed" tracked - ${e.moduleId}`)}catch(e){P.error('Hightouch: Event "module-viewed" failed',{error:e})}}e.s(["f",0,()=>{let e=(0,o.usePathname)(),l=(0,i.y)(u.f),L=(0,i.y)(s.f),P=(0,i.y)(p.f),A=(0,i.y)(g.D),F=(0,i.y)(f.f),{location:k}=(0,d.f)(),_=(0,v.f)(),U=(0,h.f)()&&void 0!==_,O=(0,t.useCallback)(({moduleId:t,modulePosition:o})=>{let i=(0,r.f)(),c=i?.["TWC-GeoIP-Country"]??(0,a.getCookie)("twc-location-country"),d=i?.["TWC-GeoIP-Region"]??(0,a.getCookie)("twc-location-region"),s=i?.["TWC-Privacy"]??(0,a.getCookie)("twc-privacy"),u=window.DprSdk?.getGdprConsentOptInsString()??"",p=window.DprSdk?.getCcpaSaleOptInString()??"",g=window.navigator?.globalPrivacyControl??!1,f=(0,m.u)(S.d.FUNCTIONAL_TECHNOLOGY),h=(0,m.u)(S.d.GEOGRAPHICALLY_RELEVANT_ADVERTISING),v=(0,m.u)(S.d.SALE_OF_DATA),b=(0,m.u)(S.d.SENSITIVE_DATA),R=navigator?.cookieEnabled??!1,U=(0,a.getCookie)("partner")||"",O=(0,n.i)(U)??U,G=(0,I.N)(),N=G?.sessionId||"",M=new Date(G?.sessionStartTime||0).toISOString(),z=new Date,$=z.getHours(),V=D.f[z.getDay()]??"",Z="article"===l||"video"===l?(0,y.Z)(e??""):(0,y.N)(e??""),B=(0,C.f)(k?.type),H=k?.featureSource??null;return{moduleId:t,modulePosition:void 0===o?void 0:String(o),layoutState:A??void 0,pageId:l??"",url:Z,referrer:document.referrer,locale:L,deviceClass:P,partner:O,sessionId:N,sessionStartTime:M,siteMode:"normal",dayOfWeek:V,hourOfDay:$,regime:s??"",cookiesEnabled:R,gpcSignalOptOut:g,functionalTechnologies:f,geographicallyRelevantAds:h,interestBasedAds:_?.[S.d.INTEREST_BASED_ADS]??null,priv:u,privProducts:p,saleOfDataAuthorization:v,sensitiveDataAuthorization:b,campaign:(0,E.s)(),experimentJoinList:F,weatherMode:"normal",physicalCountry:c??"",physicalState:d??"",wlocCity:k?.city??null,wlocCountry:k?.countryCode??null,wlocState:k?.adminDistrictCode??null,wlocDMA:k?.dmaCd??null,wlocId:k?.placeId??null,wlocFeatureId:k?.featureId??null,wlocFeatureSource:null!=H&&x.has(H)?H:void 0,wlocTags:k?.tags?.length?(0,w.f)(k.tags):null,wlocType:null!==B&&T.has(B)?B:void 0,samsungVersion:(0,E.L)(),appVersion:"e9304b9dc9a3aba9ddce0ca3871fe1caf9336dfa".slice(0,10)}},[e,l,L,P,A,F,k,_]);return(0,t.useEffect)(()=>{if(!U||0===b.length)return;let e=b;b=[],e.forEach(R)},[U]),(0,t.useCallback)(e=>{if(!c.default)return;let t=O(e);U?R(t):b.push(t)},[U,O])}])},957582,e=>{"use strict";var t=e.i(538167);let o=[],i=new Set,a=()=>i.forEach(e=>e());function r(e){return i.add(e),()=>{i.delete(e)}}let n=()=>o.length>0,l=()=>!1;e.s(["V",0,function(e){return o.push(e),a(),()=>{let t=o.lastIndexOf(e);-1!==t&&(o.splice(t,1),a())}},"T",0,function(e){o.at(-1)?.(e)},"y",0,function(){return(0,t.useSyncExternalStore)(r,n,l)}])},630986,e=>{"use strict";var t=e.i(282446),o=e.i(604323);e.s(["f",0,()=>(0,t.y)(o.f)])},1567,e=>{"use strict";var t=e.i(487709),o=e.i(737801),i=e.i(282446),a=e.i(513539),r=e.i(538167);e.s(["f",0,()=>{let e="module-viewed",n=(0,o.f)(),l=(0,i.y)(a.D);return(0,r.useCallback)(({moduleId:o,modulePosition:i})=>{if(!(0,t.f)())return void console.warn("MParticle is not loaded");let a={...n,moduleId:o,modulePosition:String(i),layoutState:l};try{window.mParticle?.logEvent?.(e,window.mParticle?.EventType?.Other,a),console.debug(`MParticle: Event "${e}" tracked`,a)}catch(t){console.error(`MParticle: Event "${e}" failed`,t)}},[n,l])}])},514285,e=>{"use strict";let t=new Set;e.s(["T",0,()=>t.clear(),"g",0,e=>t.has(e),"U",0,e=>{e&&t.add(new URL(e,window.location.href).pathname)}])},343277,(e,t,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.getLocationPointByPlaceId=l,o.getLocationPointByGeocode=c,o.getLocationPointByLocIdParam=d,o.getLocationPointByIcao=s,o.getLocationPointByCanonicalCityId=u,o.getLocationPointByFeatureId=p;let i=e.r(630585),a=e.r(678651),r=e.r(414655),n=e.r(330091);async function l(e,t){let o=(0,a.urlFrom)((0,i.getLocationPointUrlConfig)({placeId:e,language:t})),n=await fetch(o,{headers:{"Accept-Encoding":"gzip"},next:{revalidate:86400}});return(0,r.handleFetchResponse)(n)}async function c(e,t,o){let n=(0,a.urlFrom)((0,i.getLocationPointUrlConfig)({geocode:e,language:t,locationType:o?.locationType})),l=await fetch(n,{headers:{"Accept-Encoding":"gzip"},next:{revalidate:86400}});return(0,r.handleFetchResponse)(l)}async function d(e,t){let o=(0,n.testLocId)(e);if(!o)throw Error("Not a valid locId or type supported");let l=(0,a.urlFrom)((0,i.getLocationPointUrlConfig)({[o.type]:o.locId,language:t})),c=await fetch(l,{headers:{"Accept-Encoding":"gzip"},next:{revalidate:86400}});return(0,r.handleFetchResponse)(c)}async function s(e,t){let o=(0,a.urlFrom)((0,i.getLocationPointUrlConfig)({icaoCode:e,language:t,locationType:"airport"})),n=await fetch(o,{headers:{"Accept-Encoding":"gzip"},next:{revalidate:86400}});return(0,r.handleFetchResponse)(n)}async function u(e,t){let o=(0,a.urlFrom)((0,i.getLocationPointUrlConfig)({canonicalCityId:e,language:t})),n=await fetch(o,{headers:{"Accept-Encoding":"gzip"},next:{revalidate:86400}});return(0,r.handleFetchResponse)(n)}async function p(e,t,o){let n=(0,a.urlFrom)((0,i.getLocationPointUrlConfig)({featureId:e,language:t,locationType:o?.locationType})),l=await fetch(n,{headers:{"Accept-Encoding":"gzip"},next:{revalidate:86400,tags:[`featureId:${e}`]}});return(0,r.handleFetchResponse)(l)}},630585,(e,t,o)=>{"use strict";e.i(199690),Object.defineProperty(o,"__esModule",{value:!0}),o.getLocationSearchUrlConfig=function({query:e,language:t,locationType:o,countryCode:i,adminDistrictCode:a}){let r={query:e,language:t,format:"json",apiKey:"71f92ea9dd2f4790b92ea9dd2f779061"};return o&&(r.locationType=o),i&&(r.countryCode=i),a&&(r.adminDistrictCode=a),{host:"api.weather.com",protocol:"https",pathname:"/v3/location/search",query:r}},o.getLocationPointUrlConfig=function({geocode:e,locId:t,placeId:o,canonicalCityId:i,featureId:a,icaoCode:r,locationType:n,language:l}){let c={language:l,format:"json",apiKey:"71f92ea9dd2f4790b92ea9dd2f779061"};return e&&(c.geocode=e),t&&(c.locid=t),o&&(c.placeid=o),i&&(c.canonicalCityId=i),a&&(c.featureId=a),r&&(c.icaoCode=r),n&&(c.locationType=n),{host:"api.weather.com",protocol:"https",pathname:"/v3/location/point",query:c}}},330091,(e,t,o)=>{"use strict";var i,a;Object.defineProperty(o,"__esModule",{value:!0}),o.ErrInvalidFeatureId=o.ErrInvalidCanonicalCityID=o.ErrInvalidPlaceID=o.ErrInvalidPartialLocID9=o.ErrInvalidPartialLocID1=o.ErrInvalidUSZipCode=o.ErrInvalidLocID=o.ErrInvalidLatOrLong=o.ErrInvalidGeocode=o.ErrInvalid=o.LocationError=o.isMapboxFeatureId=o.MAPBOX_FEATURE_TYPES=o.RegExpUuidFeatureId=o.RegExpFeatureId=o.RegExpCanonicalCityID=o.RegExpPlaceID=o.RegExpPartialLocID9=o.RegExpPartialLocID1=o.RegExpUSZipCode=o.RegExpLocID=o.RegExpGeocode=o.LocationTypeMap=o.LocationType=void 0,o.valid=c,o.normalized=function(e,t){switch(t){case i.Geocode:return g(e);case i.LocID:return I(e);case i.USZipCode:return y(e);case i.PartialLocID1:return E(e);case i.PartialLocID9:return C(e);case i.PlaceID:return w(e);case i.CanonicalCityID:return h(e);case i.FeatureId:return v(e);default:return e}},o.testLocId=function(e){let t="";try{t=decodeURIComponent(e)}catch{}for(let e of(t=p(t),d))if(e.regex.test(t))try{return{type:e.type,locId:e.normalize(t)}}catch{break}return null},o.locIdFromSeoPhrase=p,o.normalizedGeocode=g,o.parseLatLonFromGeocode=function(e){let t=g(e).split(",");if(2!==t.length||!t[0]||!t[1])throw o.ErrInvalidGeocode;let i=parseFloat(t[0].trim()),a=parseFloat(t[1].trim());if(isNaN(i)||isNaN(a))throw o.ErrInvalidGeocode;return[i,a]},o.normalizeLatOrLong=f,o.normalizedLocID=I,o.normalizedUSZipCode=y,o.normalizedPartialLocID1=E,o.normalizedPartialLocID9=C,o.normalizedPlaceID=w,o.normalizedCanonicalCityID=h,o.normalizedFeatureId=v,o.geocodeFromLatLong=function(e,t){return`${e.toFixed(2)},${t.toFixed(2)}`},(a=i||(o.LocationType=i={}))[a.Geocode=0]="Geocode",a[a.LocID=1]="LocID",a[a.USZipCode=2]="USZipCode",a[a.PartialLocID1=3]="PartialLocID1",a[a.PartialLocID9=4]="PartialLocID9",a[a.PlaceID=5]="PlaceID",a[a.CanonicalCityID=6]="CanonicalCityID",a[a.FeatureId=7]="FeatureId",o.LocationTypeMap={Geocode:"geocode",LocID:"locId",USZipCode:"locId",PartialLocID1:"locId",PartialLocID9:"locId",PlaceID:"placeId",CanonicalCityID:"canonicalCityId",FeatureId:"featureId"},o.RegExpGeocode=/^[-+]?([1-8]?\d(\.\d+)?|90(\.0+)?),[-+]?(180(\.0+)?|((1[0-7]\d)|([1-9]?\d))(\.\d+)?)$/;let r=/.*(\+|-|\s)+(\w*|(\w{4}\d{4})|(\d+))(:(1|4|5|9|11|13|16|17|19|21|25|27|28))?(:\w{2})?$/;o.RegExpLocID=/^([^+|^:]*):(1|4|5|9|11|13|16|17|19|21|25|27|28):\w{2}$/,o.RegExpUSZipCode=/^\d{5}(:\d)?(\w{2})?$/,o.RegExpPartialLocID1=/^\w{4}\d{4}(:1)?$/,o.RegExpPartialLocID9=/^([a-zA-Z]{3}):.*$/,o.RegExpPlaceID=/^([0-9a-f]){32,}$/,o.RegExpCanonicalCityID=o.RegExpPlaceID,o.RegExpFeatureId=/^(place|locality|neighborhood|postcode|poi|ski|airport|address|district|region|country)\.[\w.]+$/i,o.RegExpUuidFeatureId=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i,o.MAPBOX_FEATURE_TYPES=["place","locality","neighborhood","postcode","address","district","region","country"];let n=RegExp(`^(${o.MAPBOX_FEATURE_TYPES.join("|")})\\.[\\w.]+$`,"i");o.isMapboxFeatureId=e=>n.test(e);class l extends Error{constructor(e){super(e),this.name="LocationError"}}function c(e,t){switch(t){case i.Geocode:return o.RegExpGeocode.test(e)&&"0.00,0.00"!==e;case i.LocID:return o.RegExpLocID.test(e);case i.USZipCode:return o.RegExpUSZipCode.test(e);case i.PartialLocID1:return o.RegExpPartialLocID1.test(e);case i.PartialLocID9:return o.RegExpPartialLocID9.test(e);case i.PlaceID:return o.RegExpPlaceID.test(e);case i.CanonicalCityID:return o.RegExpCanonicalCityID.test(e);case i.FeatureId:return o.RegExpFeatureId.test(e)||o.RegExpUuidFeatureId.test(e);default:return!1}}o.LocationError=l,o.ErrInvalid=new l("location: invalid location"),o.ErrInvalidGeocode=new l("location: invalid location: invalid geocode"),o.ErrInvalidLatOrLong=new l("location: invalid location: invalid latitude or longitude"),o.ErrInvalidLocID=new l("location: invalid location: invalid locid"),o.ErrInvalidUSZipCode=new l("location: invalid location: invalid US zip code"),o.ErrInvalidPartialLocID1=new l("location: invalid location: invalid partial locid type 1"),o.ErrInvalidPartialLocID9=new l("location: invalid location: invalid partial locid type 9"),o.ErrInvalidPlaceID=new l("location: invalid location: invalid placeid"),o.ErrInvalidCanonicalCityID=new l("location: invalid location: invalid canonical city ID"),o.ErrInvalidFeatureId=new l("location: invalid location: invalid featureId");let d=[{regex:o.RegExpFeatureId,type:o.LocationTypeMap.FeatureId,normalize:v},{regex:o.RegExpUuidFeatureId,type:o.LocationTypeMap.FeatureId,normalize:v},{regex:o.RegExpGeocode,type:o.LocationTypeMap.Geocode,normalize:g},{regex:o.RegExpLocID,type:o.LocationTypeMap.LocID,normalize:I},{regex:o.RegExpUSZipCode,type:o.LocationTypeMap.USZipCode,normalize:y},{regex:o.RegExpPartialLocID1,type:o.LocationTypeMap.PartialLocID1,normalize:E},{regex:o.RegExpPartialLocID9,type:o.LocationTypeMap.PartialLocID9,normalize:C},{regex:o.RegExpPlaceID,type:o.LocationTypeMap.PlaceID,normalize:w},{regex:o.RegExpCanonicalCityID,type:o.LocationTypeMap.CanonicalCityID,normalize:h}],s=/-/,u=/\s/;function p(e){if(o.RegExpUuidFeatureId.test(e))return e;let t=e;if(r.test(e))if(s.test(e)){let o=e.split("-").pop();o&&(t=o)}else if(u.test(e)){let o=e.split(" ").pop();o&&(t=o)}else{let o=e.split("+").pop();o&&(t=o)}return t}function g(e){if(""===e||!c(e,i.Geocode))throw o.ErrInvalidGeocode;let t=e.split(",");if(2!==t.length)throw o.ErrInvalidGeocode;try{for(let e=0;e{"use strict";e.s(["x",0,function(e){return"snowcast"===e||e.startsWith("snowcast-")},"U",0,function(e){return"ios"===e||e.endsWith("-ios")}])},5397,e=>{"use strict";let t=(0,e.i(144683).g)();e.s(["f",0,t])},752496,e=>{"use strict";var t=e.i(538167),o=e.i(609858);let i=(0,e.i(695881).createLogger)("DebugCollector");e.s(["DebugCollectorClient",0,function({componentName:e,data:a,page:r,onUpdateData:n,onSetPageData:l}){let{updateComponentData:c,setPageData:d}=(0,o.f)(),s=(0,t.useRef)(!1),u=n||c,p=l||d;return(0,t.useEffect)(()=>{if(a)return i.lifecycle(`Collecting component data for ${e}`,{dataKeys:Object.keys(a),hasPerformance:!!a.performance,hasContext:!!a.context}),u(e,{...a,_collectedAt:new Date().toISOString()}),()=>{i.lifecycle(`Cleaning up data for ${e}`),u(e,null)}},[e,a,u]),(0,t.useEffect)(()=>{r&&!s.current&&(i.lifecycle("Setting page metadata",{title:r.title,assetName:r.assetName,collection:r.collection}),p({...r,_updatedAt:new Date().toISOString()}),s.current=!0)},[r,p]),null}])},609858,674339,e=>{"use strict";var t=e.i(282446),o=e.i(538167);let i=(0,e.i(144683).g)({timestamp:new Date().toISOString()});e.s(["f",0,i],674339),e.s(["f",0,function(){let[e,a]=(0,t.q)(i),r=(0,o.useCallback)((e,t)=>{a(o=>{let i=o?.[e]||{},a="object"==typeof t&&null!==t&&"object"==typeof i?{...i,...t}:t;return{...o,[e]:a}})},[a]),n=(0,o.useCallback)((e,t)=>{a(o=>{let i=o||{timestamp:new Date().toISOString()},a=i.components||{};if(null===t){let t={...a};return delete t[e],{...i,components:t}}return{...i,components:{...a,[e]:t}}})},[a]),l=(0,o.useCallback)(e=>{r("page",e)},[r]),c=(0,o.useCallback)(e=>{r("route",e)},[r]),d=(0,o.useCallback)(e=>{Object.entries(e).forEach(([e,t])=>{t&&r(e,t)})},[r]);return{debugData:e,updateSection:r,updateComponentData:n,setPageData:l,clearAllDebugData:(0,o.useCallback)(()=>{a({timestamp:new Date().toISOString()})},[a]),updateRouteInfo:c,updatePageDebug:d}}],609858)},846871,e=>{"use strict";var t=e.i(458201),o=e.i(294237),i=e.i(632137);let a=(0,o.f)("inline-block rounded-full border-solid animate-spin box-border",{variants:{size:{sm:"w-4 h-4 border-[2px]",md:"w-6 h-6 border-[2px]",lg:"w-8 h-8 border-[3px]"},variant:{white:"border-white border-b-transparent",primary:"border-brand-400 border-b-transparent",black:"border-[#252422] border-b-transparent"}},defaultVariants:{size:"sm",variant:"black"}});e.s(["f",0,({className:e,size:o,variant:r,label:n})=>(0,t.jsx)("div",{className:(0,i.f)(a({size:o,variant:r}),e),"aria-label":n})])},579310,e=>{"use strict";var t=e.i(144683),o=e.i(889753);let i=(0,e.i(532923).f)(o.u,e=>e.prop("locations")),a=(0,t.g)(e=>e(o.u)?.locations||[]);(0,t.g)(e=>{let t=e(a);return t?.find(e=>0===e.position)||t?.[0]||null}),(0,t.g)(e=>(e(a)?.length||0)>0),e.s(["R",0,i,"r",0,a])},436028,e=>{"use strict";e.s(["f",0,e=>Array.isArray(e)&&e.length>0])}]);