(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,556441,e=>{"use strict";var t=e.i(902875),l=e.i(725287),a=e.i(240058),i=e.i(877957),r=e.i(368847),s=e.i(132084),n=e.i(528600),o=e.i(837879),c=e.i(498076),d=e.i(37429),u=e.i(683199);e.s(["default",0,()=>{let e=(0,l.useSearchParams)(),x=e.get("par")||e.get("partner"),g=(0,c.useIsMobile)(),p=(0,o.useSubscriptionsEnabled)(),{user:m}=(0,n.useUser)(),{isUserPremium:f}=m,v=(0,u.usePremiumSource)();return x===s.Partner.TIKTOK&&g&&p&&!f?(0,t.jsxs)("div",{className:"relative mb-4 overflow-hidden bg-[#590462]",children:[(0,t.jsx)(d.default,{src:"https://s.w-x.co/tt-banner.jpg",alt:"",fill:!0,priority:!0,isFetchPriority:!0,rounded:!1,objectFit:"cover",className:"object-center",wrapperClassName:"absolute inset-0","aria-hidden":"true"}),(0,t.jsxs)("div",{className:"relative z-10 p-6 text-center",children:[(0,t.jsx)(r.default,{variant:"Title.S",className:"mb-2.5 text-white",children:"Your TikTok Exclusive"}),(0,t.jsx)(r.default,{variant:"Body.S.Bold",className:"mb-2.5 text-white",children:"Get The Weather Channel Premium FREE for 1 month — turn ads off now, plus much more!"}),(0,t.jsx)(i.Button,{className:"rounded-lg px-8 py-2 text-sm font-bold",variant:"secondary",asChild:!0,children:(0,t.jsx)(a.default,{href:"/subscribe/checkout?products=e251f39b-afd7-4ad9-9c87-5e2a8ed63fbb&promoCode=t934k258j742&tpcc=mktg-today-tiktok-banner",onClick:()=>v({sourceModule:"tiktok-banner",sourceElement:"claim-now"}),children:"Claim Now"})})]})]}):null}])},971571,function(e){e.n(e.i(556441))},982538,e=>{"use strict";var t=e.i(247865);function l(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function a(e){let a=t.forwardRef((a,i)=>{var n;let x,g,{children:p,...m}=a,f=null,v=!1,b=[];o(p)&&"function"==typeof u&&(p=u(p._payload)),t.Children.forEach(p,e=>{var l;if(l=e,t.isValidElement(l)&&"function"==typeof l.type&&"__radixId"in l.type&&l.type.__radixId===r){v=!0;let t="child"in e.props?e.props.child:e.props.children;o(t)&&"function"==typeof u&&(t=u(t._payload)),f=s(e,t),b.push(f?.props?.children)}else b.push(e)}),f?f=t.cloneElement(f,void 0,b):!v&&1===t.Children.count(p)&&t.isValidElement(p)&&(f=p);let h=f?(n=f,(g=(x=Object.getOwnPropertyDescriptor(n.props,"ref")?.get)&&"isReactWarning"in x&&x.isReactWarning)?n.ref:(g=(x=Object.getOwnPropertyDescriptor(n,"ref")?.get)&&"isReactWarning"in x&&x.isReactWarning)?n.props.ref:n.props.ref||n.ref):void 0,y=function(...e){return t.useCallback(function(...e){return t=>{let a=!1,i=e.map(e=>{let i=l(e,t);return a||"function"!=typeof i||(a=!0),i});if(a)return()=>{for(let t=0;t{let t=r(...e);return i(...e),t}:i&&(l[a]=i):"style"===a?l[a]={...i,...r}:"className"===a&&(l[a]=[i,r].filter(Boolean).join(" "))}return{...e,...l}}(m,f.props??{});return f.type!==t.Fragment&&(w.ref=i?y:h),t.cloneElement(f,w)});return a.displayName=`${e}.Slot`,a}var i=a("Slot"),r=Symbol.for("radix.slottable"),s=(e,l)=>{if("child"in e.props){let l=e.props.child;return t.isValidElement(l)?t.cloneElement(l,void 0,e.props.children(l.props.children)):null}return t.isValidElement(l)?l:null},n=Symbol.for("react.lazy");function o(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===n&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}var c=e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,d=e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,u=t[" use ".trim().toString()];e.s(["Slot",0,i,"createSlot",0,a,"createSlottable",0,function(e){let t=e=>"child"in e?e.children(e.child):e.children;return t.displayName=`${e}.Slottable`,t.__radixId=r,t}],982538)},294237,e=>{"use strict";var t=e.i(7284);let l=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,a=t.clsx;e.s(["cva",0,(e,t)=>i=>{var r;if((null==t?void 0:t.variants)==null)return a(e,null==i?void 0:i.class,null==i?void 0:i.className);let{variants:s,defaultVariants:n}=t,o=Object.keys(s).map(e=>{let t=null==i?void 0:i[e],a=null==n?void 0:n[e];if(null===t)return null;let r=l(t)||l(a);return s[e][r]}),c=i&&Object.entries(i).reduce((e,t)=>{let[l,a]=t;return void 0===a||(e[l]=a),e},{});return a(e,o,null==t||null==(r=t.compoundVariants)?void 0:r.reduce((e,t)=>{let{class:l,className:a,...i}=t;return Object.entries(i).every(e=>{let[t,l]=e;return Array.isArray(l)?l.includes({...n,...c}[t]):({...n,...c})[t]===l})?[...e,l,a]:e},[]),null==i?void 0:i.class,null==i?void 0:i.className)}])},736593,(e,t,l)=>{"use strict";e.i(288906),Object.defineProperty(l,"__esModule",{value:!0});var a={default:function(){return d},getImageProps:function(){return c}};for(var i in a)Object.defineProperty(l,i,{enumerable:!0,get:a[i]});let r=e.r(836437),s=e.r(507631),n=e.r(56930),o=r._(e.r(165613));function c(e){let{props:t}=(0,s.getImgProps)(e,{defaultLoader:o.default,imgConf:{deviceSizes:[640,750,828,1080,1280,1600],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image/",loader:"custom",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,l]of Object.entries(t))void 0===l&&delete t[e];return{props:t}}let d=n.Image},749621,(e,t,l)=>{t.exports=e.r(736593)},683199,e=>{"use strict";var t=e.i(247865),l=e.i(546446),a=e.i(128541),i=e.i(537989);e.s(["usePremiumSource",0,()=>{let e=(0,l.useSetAtom)(a.purchaseSourceAttributionAtom),r=(0,l.useAtomValue)(i.pageIdAtom);return(0,t.useCallback)(({sourceModule:t,sourceElement:l,sourceUpsellPlacement:a})=>{e({sourcePage:r||null,sourceModule:t,sourceElement:l,sourceUpsellPlacement:a??null})},[e,r])}])},663333,e=>{"use strict";let t=(0,e.i(981030).atom)("");e.s(["deviceClassAtom",0,t])},498076,e=>{"use strict";var t=e.i(546446),l=e.i(663333);e.s(["useIsMobile",0,function(){return"mobile"===(0,t.useAtomValue)(l.deviceClassAtom)}])},747961,e=>{"use strict";var t=e.i(902875),l=e.i(247865),a=e.i(294237),i=e.i(789876);let r=(0,a.cva)("inline-block",{variants:{size:{sm:"w-4 h-4",md:"w-6 h-6",lg:"w-8 h-8",xl:"w-16 h-16",xxl:"w-32 h-32"},color:{primary:"text-gray-900",brandDark:"text-brand-dark",brandLight:"text-brand-light",inverse:"text-white"}},defaultVariants:{size:"md",color:"primary"}}),s=l.default.forwardRef(({icon:e,size:l,color:a,title:s,desc:n,className:o,ariaHidden:c,...d},u)=>(0,t.jsx)(e,{ref:u,className:(0,i.cn)(r({size:l,color:a}),o),title:s,desc:n,...c&&{"aria-hidden":c},...d}));s.displayName="BaseIcon",e.s(["BaseIcon",0,s])},789876,e=>{"use strict";var t=e.i(7284);let l=(0,e.i(923191).extendTailwindMerge)({extend:{classGroups:{"font-size":[{text:["xxs"]}]},theme:{color:[{brand:["100","200","300","400","dark","light"]}]}}});e.s(["cn",0,function(...e){return l((0,t.clsx)(e))}])},763886,e=>{"use strict";let t=(0,e.i(981030).atom)();e.s(["partnerAtom",0,t])},394481,e=>{"use strict";let t=(0,e.i(981030).atom)();e.s(["privacyRegimeAtom",0,t])},877957,564993,e=>{"use strict";var t=e.i(902875),l=e.i(247865),a=e.i(982538),i=e.i(294237),r=e.i(632137),s=e.i(747961);let n=(0,l.forwardRef)(({title:e,titleId:l,desc:a,descId:i,...r},s)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:s,"aria-labelledby":l,"aria-describedby":i,...r,children:[a?(0,t.jsx)("desc",{id:i,children:a}):null,void 0===e?(0,t.jsx)("title",{id:l,children:"Loader Circle"}):e?(0,t.jsx)("title",{id:l,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M9.65 2.926A5.335 5.335 0 1 0 13.335 8a.665.665 0 0 1 1.33 0 6.665 6.665 0 1 1-4.606-6.34.665.665 0 1 1-.41 1.266",clipRule:"evenodd"})]})),o=l.default.forwardRef((e,l)=>(0,t.jsx)(s.BaseIcon,{ref:l,icon:n,...e}));o.displayName="LoaderCircle",e.s(["LoaderCircle",0,o],564993);let c=(0,i.cva)("rounded-lg cursor-pointer",{variants:{variant:{default:"bg-brand-400 text-primary-foreground hover:bg-[#252C3F] active:bg-[#0C1226] focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-0",secondary:"bg-white text-gray-900 active:bg-[#E6E6E6] focus:outline-none focus:ring-1 focus:ring-blue-500 focus:ring-offset-0",destructive:"bg-alert-severe hover:bg-[#C1251A] active:bg-[#A70C00] text-white focus:outline-none focus:ring-1 focus:ring-blue-500 focus:ring-offset-0",outline:"border-1 border-gray-500 hover:bg-white active:bg-[#E6E6E6] bg-transparent focus:outline-none focus:ring-1 focus:ring-blue-500 focus:ring-offset-0",ghost:"hover:bg-white active:bg-[#E6E6E6] bg-transparent focus:outline-none focus:ring-1 focus:ring-blue-500 focus:ring-offset-0",link:"text-primary underline-offset-3 underline focus:outline-none focus:ring-1 focus:ring-blue-500 focus:ring-offset-0",avatarAccountLink:"text-primary text-[14px]",avatarGoPremium:"bg-gray-900 text-white text-[14px]",avatarSignOut:"text-primary text-[16px]",ghostUI:""},size:{default:"h-10 px-4 py-3",lg:"h-10 px-8 py-3",sm:"h-8 px-3 py-2",xsm:"h-6 px-2",icon:"h-10 w-10",text:""},loading:{true:"pointer-events-none cursor-not-allowed opacity-50",false:""},disabled:{true:"pointer-events-none cursor-not-allowed opacity-30",false:""},theme:{standard:"",samsung:"rounded-[18px] h-auto bg-[#252422] px-2.5 py-2 text-[15px] font-medium text-white hover:bg-[#252422] active:bg-[#252422]"}},defaultVariants:{variant:"default",size:"default",loading:!1,disabled:!1,theme:"standard"}}),d=l.forwardRef(({className:e,variant:l="default",size:i,theme:s="standard",asChild:n=!1,disabled:d=!1,loading:u=!1,children:x,...g},p)=>{let m=n?a.Slot:"button";return(0,t.jsx)(m,{...g,className:(0,r.cn)(c({variant:l,size:i,loading:u,disabled:d,theme:s}),"inline-flex items-center justify-center",e),ref:p,disabled:d||u,children:n?x:(0,t.jsxs)(t.Fragment,{children:[u&&(0,t.jsx)(o,{size:"sm",className:"mr-2 animate-spin",color:"default"===l||"destructive"===l?"inverse":"primary"}),x]})})});d.displayName="Button",e.s(["Button",0,d],877957)},37429,e=>{"use strict";e.i(288906);var t=e.i(902875),l=e.i(247865),a=e.i(749621),i=e.i(632137);let r={square:"Square (1:1)",video:"Video (16:9)",goldenPortrait:"Golden Portrait (1:1.618)",goldenLandscape:"Golden Landscape (1.618:1)","16/9":"16:9","8/5":"8:5","4/3":"4:3","3/2":"3:2","2/3":"2/3","1/1":"1:1",auto:"Auto"};["square","video","goldenPortrait","goldenLandscape","16/9","8/5","4/3","3/2","2/3","1/1","auto"].map(e=>({label:r[e],value:e}));let s={square:"aspect-square",video:"aspect-video",goldenPortrait:"aspect-[1/1.618]",goldenLandscape:"aspect-[1.618/1]","16/9":"aspect-[16/9]","8/5":"aspect-[8/5]","4/3":"aspect-[4/3]","3/2":"aspect-[3/2]","2/3":"aspect-[2/3]","1/1":"aspect-[1/1]",auto:"h-full w-full"},n=(0,l.forwardRef)(({src:e,alt:l,shadow:r,rounded:n=!0,className:o,wrapperClassName:c,width:d,height:u,quality:x,priority:g=!1,loading:p,isFetchPriority:m=!1,objectFit:f,fill:v=!1,sizes:b,aspectRatio:h,isAnimated:y=!1,unoptimized:w,...S},k)=>{if(!e)return null;let j=y||e.toLowerCase().endsWith(".gif"),B=v||!!h,C=f??(h?"cover":"contain"),E=h?s[h]:"",L=(0,t.jsx)(a.default,{ref:k,src:e,alt:l,width:B?void 0:d??320,height:B?void 0:u??180,quality:x,priority:g,loading:p,fetchPriority:m?"high":void 0,fill:B,sizes:b,unoptimized:w??j,className:(0,i.cn)({"shadow-md":r,"rounded-lg":n,"object-contain":"contain"===C,"object-cover":"cover"===C,"object-fill":"fill"===C,"object-none":"none"===C,"object-scale-down":"scale-down"===C,"h-auto w-full":!B},o),...S});return B?(0,t.jsx)("div",{className:(0,i.cn)("relative overflow-hidden",E,!h&&"h-full w-full",c),children:L}):L});n.displayName="Image",e.s(["ASPECT_RATIO_CLASSES",0,s,"Image",0,n,"default",0,n])},368847,341669,e=>{"use strict";var t=e.i(902875),l=e.i(247865),a=e.i(294237),i=e.i(632137);let r=({skeletonClassName:e,elementType:l="span"})=>(0,t.jsx)(l,{className:(0,i.cn)("square inline-block animate-pulse rounded bg-gray-200",e)});e.s(["default",0,r],341669);let s={0:"No Clamp",1:"1 Line",2:"2 Lines",3:"3 Lines",4:"4 Lines",5:"5 Lines"};[0,1,2,3,4,5].map(e=>({label:s[e],value:String(e)}));let n=l.default.forwardRef(({className:e,isLoading:l,skeletonClassName:a,variant:s,elementType:n,lineClamp:c,color:d,responsive:u,children:x,...g},p)=>{if(l)return(0,t.jsx)(r,{skeletonClassName:a||""});let m=n||function({variant:e}){switch(e){case"Display.XL":case"Display.L":case"Title.XL":case"Display.M":case"Display.S":case"Title.L":case"Title.M":case"Title.S":return"h2";default:return"p"}}({variant:s}),f=(0,t.jsx)(m,{className:(0,i.cn)(o({variant:s,color:d,lineClamp:c,responsive:u}),e),ref:p,...g,children:x});return u?(0,t.jsx)("div",{className:"@container/text",children:f}):f});n.displayName="Text";let o=(0,a.cva)("",{variants:{variant:{"Display.XL":["text-6xl","leading-relaxed","tracking-tighter"],"Display.L":["text-5xl","leading-normal","tracking-tighter","font-medium"],"Display.M":["text-4xl","leading-tight","tracking-tight","font-medium"],"Display.S":["text-xl","leading-relaxed","tracking-tight","font-medium"],"Title.XL":["text-4xl","leading-snug","tracking-tight","font-extrabold"],"Title.L":["text-3xl","leading-normal","tracking-tight","font-extrabold"],"Title.M":["text-2xl","leading-normal","tracking-tight","font-extrabold"],"Title.S":["text-xl","leading-normal","tracking-tight","font-bold"],"Title.XS":["text-base","leading-relaxed","tracking-tight","font-bold"],"Body.L":["text-lg","leading-loose","tracking-normal","font-medium"],"Body.L.Bold":["text-lg","leading-loose","tracking-normal","font-bold"],"Body.L.ExtraBold":["text-lg","leading-loose","tracking-normal","font-extrabold"],"Body.M":["text-base","leading-loose","tracking-tight","font-medium"],"Body.M.Bold":["text-base","leading-loose","tracking-tight","font-bold"],"Body.M.ExtraBold":["text-base","leading-loose","tracking-tight","font-extrabold"],"Body.S":["text-sm","leading-loose","tracking-tight","font-medium"],"Body.S.Bold":["text-sm","leading-loose","tracking-normal","font-bold"],"Caption.M":["text-xs","leading-normal","tracking-normal","font-medium"],"Caption.M.Bold":["text-xs","leading-normal","tracking-normal","font-bold"],"Caption.S":["text-xxs","leading-loose","tracking-tight","font-medium"],"Caption.S.Bold":["text-xxs","leading-loose","tracking-normal","font-bold"]},responsive:{true:"",false:""},color:{primary:"text-gray-900",secondary:"text-gray-500",default:"text-gray-900",disabled:"text-gray-400",placeholder:"text-gray-600",brandDark:"text-brand-dark",brandLight:"text-brand-light",inverse:"text-white",error:"text-[var(--color-alert-severe)]"},lineClamp:{0:"",1:"line-clamp-1 pb-0.5",2:"line-clamp-2 pb-0.5",3:"line-clamp-3 pb-0.5",4:"line-clamp-4 pb-0.5",5:"line-clamp-5 pb-0.5"}},compoundVariants:[{variant:"Display.XL",responsive:!0,class:"text-4xl @sm/text:text-5xl @lg/text:text-6xl"},{variant:"Display.L",responsive:!0,class:"text-2xl @sm/text:text-4xl @lg/text:text-5xl"},{variant:"Display.M",responsive:!0,class:"text-xl @sm/text:text-2xl @lg/text:text-4xl"},{variant:"Display.S",responsive:!0,class:"text-lg @sm/text:text-xl @lg/text:text-2xl"},{variant:"Title.XL",responsive:!0,class:"text-2xl @sm/text:text-3xl @lg/text:text-4xl"},{variant:"Title.L",responsive:!0,class:"text-xl @sm/text:text-2xl @lg/text:text-3xl"},{variant:"Title.M",responsive:!0,class:"text-lg @sm/text:text-xl @lg/text:text-2xl"},{variant:"Title.S",responsive:!0,class:"text-base @sm/text:text-lg @lg/text:text-xl"},{variant:"Title.XS",responsive:!0,class:"text-sm @sm/text:text-base"},{variant:"Body.L",responsive:!0,class:"text-base @sm/text:text-lg @lg/text:text-xl"},{variant:"Body.L.Bold",responsive:!0,class:"text-base @sm/text:text-lg @lg/text:text-xl"},{variant:"Body.L.ExtraBold",responsive:!0,class:"text-base @sm/text:text-lg @lg/text:text-xl"},{variant:"Body.M",responsive:!0,class:"text-sm @sm/text:text-base @lg/text:text-lg"},{variant:"Body.M.Bold",responsive:!0,class:"text-sm @sm/text:text-base @lg/text:text-lg"},{variant:"Body.M.ExtraBold",responsive:!0,class:"text-sm @sm/text:text-base @lg/text:text-lg"},{variant:"Body.S",responsive:!0,class:"text-xs @sm/text:text-sm @lg/text:text-base"},{variant:"Body.S.Bold",responsive:!0,class:"text-xs @sm/text:text-sm @lg/text:text-base"},{variant:"Caption.M",responsive:!0,class:"text-xxs @sm/text:text-xs @lg/text:text-sm"},{variant:"Caption.M.Bold",responsive:!0,class:"text-xxs @sm/text:text-xs @lg/text:text-sm"},{variant:"Caption.S",responsive:!0,class:"text-xxs @sm/text:text-xxs @lg/text:text-xs"},{variant:"Caption.S.Bold",responsive:!0,class:"text-xxs @sm/text:text-xxs @lg/text:text-xs"}],defaultVariants:{variant:"Body.M",color:"default",responsive:!1}});e.s(["Text",0,n,"default",0,n,"textVariants",0,o],368847)},632137,e=>{"use strict";var t=e.i(7284);let l=(0,e.i(923191).extendTailwindMerge)({extend:{classGroups:{"font-size":[{text:["xxs"]}]},theme:{color:[{brand:["100","200","300","400","dark","light"]}]}}});e.s(["cn",0,function(...e){return l((0,t.clsx)(e))}])},739971,e=>{"use strict";let t=(0,e.i(981030).atom)(null);e.s(["subscriptionsEnabledAtom",0,t])},837879,e=>{"use strict";var t=e.i(247865),l=e.i(546446),a=e.i(725287),i=e.i(485737),r=e.i(739971),s=e.i(725296),n=e.i(394481),o=e.i(763886),c=e.i(132084);e.s(["useSubscriptionsEnabled",0,()=>{let e=(0,l.useAtomValue)(r.subscriptionsEnabledAtom),d=(0,l.useAtomValue)(i.geoipCountry),u=(0,a.useParams)()?.locale,x=(0,l.useAtomValue)(n.privacyRegimeAtom)??s.Regime.EXEMPT,g=(0,l.useAtomValue)(o.partnerAtom);return(0,t.useMemo)(()=>null!==e?e:"US"===d&&"en-US"===u&&s.US_REGIMES.includes(x)&&g!==c.Partner.OPPO,[e,d,u,x,g])}])}]);