1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["static/js/bundle-N1pqUbp9.js","static/js/rolldown-runtime-DAXXjFlN.js","static/js/redux-BLp-9c6b.js","static/js/react-BUD3sqOU.js","static/js/useTranslation-DNygmZqD.js","static/js/v4-7PpCUsCL.js","static/js/preload-helper-CiYdU7ls.js","static/js/development-SVNU2l7x.js","static/js/react-dom-DmHqBZ9-.js","static/js/immutable-B9dbWDn0.js","static/js/getJsEnvironment-Dgx4vb26.js","static/js/RemoteConfigKeys-BQrvV1cW.js","static/js/jsx-runtime-CFwixLRt.js","static/js/defaults-dRH8iYba.js","static/js/castConfigValue-CTnNxeWv.js","static/js/env-BuxKa6Xp.js","static/js/isTypedArray-D3CaU1rF.js","static/js/isObjectLike-6Z0XZgDQ.js","static/js/isObject-DHJ7Pvoe.js","static/js/_isIndex-BTtJpEI9.js","static/js/isArray-Ce0306SO.js","static/js/mixpanel-C3z0T5gX.js","static/js/debug-MPanfdcw.js","static/js/getUserAgent-C0-uNtkq.js","static/js/variables-BN6j1tu1.js","static/js/getIsInPwa-Cc7dlcZ9.js","static/js/i18n-DHOp6VKq.js","static/js/getResourceUrl-kk7kEzkq.js","static/js/translationNamespace-BNGth7Lu.js","static/js/i18nCommon-CE4SSFyS.js","static/js/toNumber-Wzsbe-9l.js","static/js/browser-DAxQW0Gp.js","static/js/customFetch-DWm3Fndv.js","static/js/fetchOptionHeader-D-IRf9Rb.js","static/js/langPath-CPzQ8-SP.js","static/js/trackingConstants-BqRWaBVW.js","static/js/autoChatConstants-BZAqKilH.js","static/js/joinConstants-CrpmbOAL.js","static/js/liveStreamConstants-D_sC2WMt.js","static/js/profileConstants-ckMcWGvW.js","static/js/drmConstants-B9qNlEhs.js","static/js/loadScriptTag-BVvVywZr.js","static/js/sentry-BV4W6Kqz.js","static/js/getTimestampOffset-C5Yp5XNj.js","static/js/createCachedSelector-kIuLoRRo.js","static/js/getExternalData-BvOeYJZ4.js","static/js/prop-types-DeUPn3oD.js","static/js/styled-components.browser.esm-BeVSDhq0.js","static/js/defineProperty-BbfpZ9Tg.js","static/js/media--rQZkUud.js","static/js/scrollUtils-BRXzFGR0.js","static/js/ChunkLoading-CUYJj8qq.js","static/js/popupNotificationConstants-CT_h54s3.js","static/js/WithRouter-CSTtp1W5.js","static/js/getTimezoneOffsetInMilliseconds-BUm4Uv-U.js","static/js/format-Cx7EYAAt.js","static/js/shopConstants-B032MU-I.js","static/js/getMeData-DEAqEZiz.js","
1static/js/getHashColor-D-VEDD7J.js","static/js/ActionTypes-UbacDiLh.js","static/js/handleFetchError-URf5PPHj.js","static/js/getNetworkingData-C3Y16oQk.js","static/js/mergeMeData-DupL6xOw.js","static/js/pushToastr-BygQt2Zv.js","static/js/getOperationData-BiDKgM_Z.js","static/js/getRemoteConfigData-B6l4yna4.js","static/js/getUserData-DXsDD_Ij.js","static/js/getPublicUrlPath-CFTq2wil.js","static/js/getIsPreviewClear-DMzCyHzA.js","static/js/getMessageData-CG7c5sfD.js","static/js/lodash-DSwaj6b-.js","static/js/getListData-kGyVDo2C.js","static/js/esm-R3mroGY5.js","static/js/classPrivateFieldSet2-CUhwy2NK.js","static/js/feedConstants-Chfpcs2d.js","static/js/feedUtils-D5XDoce3.js","static/js/__vite-browser-external-BTYuaygK.js","static/js/objectifyArrayById-CgJd7AMC.js","static/js/savePosts-BiGhWFzp.js","static/js/_MapCache--GQlWGn3.js","static/js/toString-D8wltZnU.js","static/js/messages-B6FKPWf8.js","static/js/getRouterData-rV5TQwqd.js","static/js/_arrayPush-MPEgAANJ.js","static/js/es6-Bge3yoYJ.js","static/js/getToObject-yyC_t8gi.js","static/js/configConstants-XG1a1nb-.js","static/js/loginRegisterConstants-B9L_ULze.js","static/js/getConfigData-CF3sOFvG.js","static/js/growthBook-Blff1MEb.js","static/js/configActions-CBUR9ahz.js","static/js/AppMessageTypes-Bd6nr1_l.js","static/js/helpers-BfKuaddc.js","static/js/isMatch-zDywARBm.js","static/js/_baseIsEqual-rGB3eTLG.js","static/js/isEqual-CjblpAbf.js","static/js/PusherEvents-Cl3vA7WU.js","static/js/SWMessageLocalTypes-CgY-_xpC.js","static/js/pusherController-CHu78g2R.js","static/js/pusherUtils-DyZb81Dp.js","static/js/batchPusherEvents-DthFqsVn.js","static/js/unRegisterServiceWorker-BHXsrd2N.js","static/js/Delay-B1HKZtra.js","static/js/assetConstants-C0CkaszY.js"])))=>i.map(i=>d[i]); 2import{o as e}from"./rolldown-runtime-DAXXjFlN.js";import{t}from"./react-BUD3sqOU.js";import{n,t as r}from"./preload-helper-CiYdU7ls.js";import{n as i,v as a}from"./development-SVNU2l7x.js";import{Cl as ee,Ql as te,Ts as o,Ud as s,Wd as c,Xl as l,Yl as u,Zl as d,nu as f,ru as p,vs as m,xl as h}from"./RemoteConfigKeys-BQrvV1cW.js";import{t as g}from"./jsx-runtime-CFwixLRt.js";import{i as _}from"./defaults-dRH8iYba.js";import{l as v,u as y}from"./mixpanel-C3z0T5gX.js";import{O as b}from"./getUserAgent-C0-uNtkq.js";import{n as x}from"./i18n-DHOp6VKq.js";import{t as S}from"./translationNamespace-BNGth7Lu.js";import{a as C,t as w}from"./trackingConstants-BqRWaBVW.js";import{h as ne,m as re,r as ie}from"./sentry-BV4W6Kqz.js";import{t as T}from"./prop-types-DeUPn3oD.js";import{t as E}from"./getMeData-DEAqEZiz.js";import{U as D,lt as O}from"./ActionTypes-UbacDiLh.js";import{t as k}from"./getNetworkingData-C3Y16oQk.js";import{t as A}from"./mergeMeData-DupL6xOw.js";import{t as j}from"./getOperationData-BiDKgM_Z.js";import{t as M}from"./pushToastr-BygQt2Zv.js";import{t as N}from"./getRemoteConfigData-B6l4yna4.js";import{t as P}from"./getIsPreviewClear-DMzCyHzA.js";import{On as F,Yn as I,Zn as L,at as ae,cr as oe,mn as R,ot as z}from"./bundle-N1pqUbp9.js";import{t as B}from"./addModal-vOQG28Q5.js";import{t as V}from"./removeModals-BsLLbOft.js";import{i as se,n as ce}from"./VodPlayerPool-BSpCLW2f.js";import{t as le}from"./authEntryType-_TxtKYG6.js";import{d as H}from"./updateRegisterData-Cg92DDzh.js";import{t as U}from"./getIsRemoteConfigMerged-kTT9H5da.js";import{t as W}from"./openBindEmailModal-nHaXIDkN.js";import{t as G}from"./getIsPermissionMatched-YpOj-BTJ.js";import{t as K}from"./usePreviousValue-jdJkyCuS.js";import{n as ue}from"./playerPool-0e__acYe.js";import{t as q}from"./getVodPlayerPoolSizeMaxKey-DJ5OO4Ea.js";var J=e(t());i();var Y=e(T()),de=g();n();var fe=typeof window>`u`,X=({hasToken:e=!1,isRegisterJustCompleted:t=!1,isUsernameSet:n=!1,isWebAuthnBound:i=!1,isAccountLinksFetched:ee=!1,isLoginPhoneModalOpen:te=!1,isLoginPhoneVerifyModalOpen:o=!1,isAgeVerificationOptionsModalOpen:s=!1,isAgeVerificationPhoneModalOpen:c=!1,isLoginJustCompleted:l=!1,hasShownWelcomeToastr:u=!1,isConfigureRemoteConfigMerged:d=!1,isPresenceClientRemoteConfigMerged:f=!1,isPresenceUserRemoteConfigMerged:p=!1,isInNeedLandingCountries:m=!1,isInNeedOver18Countries:h=!1,isOnJoin:g=!1,hasReferralCode:b=!1,onloadRedirectUrl:x=``,shouldAgeVerify:S=!1,shouldOpenBindEmailModal:C=!1,shouldOpenBindPhoneNumberModal:w=!1,shouldOpenAgeVerificationNotification:T=!1,openAgeVerificationNotification:E=_.NULL_FUNCTION,closeAgeVerificationNotification:D=_.NULL_FUNCTION,redirectRecord:O=_.EMPTY_OBJECT,updateRedirectRecord:k=_.NULL_FUNCTION,openBindEmailModal:A=_.NULL_FUNCTION,bindPhone:j=_.NULL_FUNCTION,showWelcomeToastr:M=_.NULL_FUNCTION,setHasShownWelcomeToastr:N=_.NULL_FUNCTION,sentryReplaySessionSampleRate:P=-1,sentryReplayOnErrorSampleRate:F=-1,mixpanelRecordSessionsPercent:I=1,sentryLogEnabled:L=null,sentryLogLevel:R=null,
2sentryLogCaptureNames:z=_.EMPTY_ARRAY,sentryLogCaptureTimeoutMsec:B=null,vodPlayerPoolSizeMax:V=null,videoElementPoolSizeMax:H=null})=>{let U=(0,J.useRef)(!1),W=K(P),G=K(F),q=te||o||s||c,Y=e&&n&&ee,X=K(q),{pathname:Z}=a(),Q=(0,J.useMemo)(()=>{try{if(!x)return null;let t=new URL(x,location.origin);if(!(t.pathname!==Z&&(fe&&d||(e?p:f))))return null;let n=x;return t.hostname===`swag.live`&&(n=t.pathname),O[n]?null:(k({[n]:!0}),n)}catch{return null}},[e,d,f,p,x,Z,O,k]),$=(0,J.useMemo)(()=>S&&!g&&m&&t&&p&&w&&!b,[S,g,m,p,t,w,b]);return(0,J.useEffect)(()=>{t&&p&&C&&(!$||X&&!q)&&A({entry:le.REGISTER,canClose:!0})},[p,t,C,$,q,X,A]),(0,J.useEffect)(()=>{if(!$)return;let e=setTimeout(()=>{j()},1e3);return()=>clearTimeout(e)},[$,l,j]),(0,J.useEffect)(()=>{(l||t)&&Y&&!q&&!u&&(N(),M({isWebAuthnBound:i}))},[l,t,Y,q,i,u,M,N]),(0,J.useEffect)(()=>{if(!e||!m||!p||!T||!S){D();return}E()},[e,m,p,T,S,E,D]),(0,J.useEffect)(()=>{(e?p:f)&&(async()=>{try{let e=await ie(),t=G&&G!==F,n=W&&W!==P;if(t||n){let i=async()=>{let t=e.getClient().getIntegrationByName(`Replay`);if(!t){let{replayIntegration:n}=await r(async()=>{let{replayIntegration:e}=await import(`./bundle-N1pqUbp9.js`).then(e=>e.dr);return{replayIntegration:e}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103]));e.addIntegration(n()),t=e.getClient().getIntegrationByName(`Replay`)}return t};if(t&&F!==0){let e=await i();e._replay.recordingMode=!1,e.start(),e._replay.recordingMode=`buffer`,e._replay.session.sampled=`buffer`,e._replay._options.errorSampleRate=F}if(n&&P===1){let e=await i();e._replay.recordingMode=!1,e.start(),e._replay.recordingMode=`session`,e._replay.session.sampled=`session`}(t||n)&&P===0&&F===0&&await(await i())._replay.stop()}}catch{}})()},[e,f,p,P,F]),(0,J.useEffect)(()=>{I===100?v():I===0&&y()},[I]),(0,J.useEffect)(()=>{L==null&&R==null||ne({isEnabled:L,level:R})},[L,R]),(0,J.useEffect)(()=>{V&&(ce({size:V}),ue({size:V}))},[V]),(0,J.useEffect)(()=>{H&&se({size:H})},[H]),(0,J.useEffect)(()=>{re({allowedCaptureNames:z,timeoutMsec:B})},[z,B]),(0,J.useEffect)(()=>{d&&!h&&!m&&oe()},[d,h,m]),Q&&!U.current?(U.current=!0,(0,de.jsx)(ae,{to:Q,status:302})):null};X.propTypes={hasToken:Y.default.bool,isRegisterJustCompleted:Y.default.bool,isUsernameSet:Y.default.bool,isWebAuthnBound:Y.default.bool,isAccountLinksFetched:Y.default.bool,isLoginPhoneModalOpen:Y.default.bool,isLoginPhoneVerifyModalOpen:Y.default.bool,isAgeVerificationOptionsModalOpen:Y.default.bool,isAgeVerificationPhoneModalOpen:Y.default.bool,isLoginJustCompleted:Y.default.bool,isConfigureRemoteConfigMerged:Y.default.bool,isPresenceClientRemoteConfigMerged:Y.default.bool,isPresenceUserRemoteConfigMerged:Y.default.bool,isInNeedLandingCountries:Y.default.bool,isInNeedOver18Countries:Y.default.bool,isOnJoin:Y.default.bool,hasReferralCode:Y.default.bool,onloadRedirectUrl:Y.default.string,shouldAgeVerify:Y.default.bool,shouldOpenBindEmailModal:Y.default.bool,shouldOpenBindPhoneNumberModal:Y.default.bool,shouldOpenAgeVerificationNotification:Y.default.bool,openAgeVerificationNotification:Y.default.func,closeAgeVerificationNotification:Y.default.func,redirectRecord:Y.default.object,updateRedirectRecord:Y.default.func,openBindEmailModal:Y.default.func,bindPhone:Y.default.func,showWelcomeToastr:Y.default.func,setHasShownWelcomeToastr:Y.default.func,hasShownWelcomeToastr:Y.default.bool,sentryReplaySessionSampleRate:Y.default.number,sentryReplayOnErrorSampleRate:Y.default.number,mixpanelRecordSessionsPercent:Y.default.number,sentryLogEnabled:Y.default.bool,sentryLogLevel:Y.default.string,sentryLogCaptureNames:Y.default.array,sentryLogCaptureTimeoutMsec:Y.default.number,vodPlayerPoolSizeMax:Y.default.number,videoElementPoolSizeMax:Y.default.number};var Z=({componentName:e})=>async t=>t({type:D,payload:{selectPath:[`pinnedNotification`],data:{[e]:!0}}}),Q=({componentName:e})=>async t=>t({type:O,payload:{selectPath:[`pinnedNotification`,e]}}),$=({isWebAuthnBound:e}={})=>async(t,n)=>{if(G(n(),`JWT_SCOPE_GUEST`))return t({type:``});let r=S.NOTIFICATION;return await H({ns:r,key:`passkey_setup_now`,timeoutMs:3e3}),t(M(e?{textKey:`toast_signup_success`,durationSec:3}:{textKey:`toast_signup_success`,content:x.t(`passkey_setup_prompt_subtitle`,{ns:r}),type:`success`,trackingModalId:C.LoginSignup.PasskeySetUpReminder,primaryButton:{text:x.t(`passkey_setup_now`,{ns:r}),trackingId:w.LoginRegister.ButtonEnableNow,onClick:()=>{t(V({ids:[F.AGE_VERIFICATION_PHONE],transitionStatus:`reversing`})),t(z(`/manage-profile/account-linking/web-authn`))}},secondaryButton:{text:x.t(`passkey_setup_later`,{ns:r}),trackingId:w.LoginRegister.ButtonEnableLater,onClick:()=>{}}}))},pe=L((e,{location:{pathname:t}})=>{let n=E(e,`country`),r=E(e,`accountLinks`),i=r.email,a=r?.webauthn,g=Array.isArray(a?.passkeys)?a.passkeys.length>0:!!a,_=!!k(e,[`me`,`accountLinks`],`isFetched`),v=E(e,`flightCheck`),y=N(e,`NEED_LANDING_COUNTRIES`)||[],x=[`display`,`coming`,`backing`,`opening`,`comingFromBottom`],S=N(e,`NEED_OVER_18_COUNTRIES`)||[];return{hasToken:!!E(e,`token`),isRegisterJustCompleted:j(e,[`register`],`isRegisterJustCompleted`),isLoginJustC
2ompleted:j(e,[`login`],`isLoginJustCompleted`),hasShownWelcomeToastr:j(e,[`register`],`hasShownWelcomeToastr`),isLoginPhoneModalOpen:!!x.includes(I(e,F.PHONE,`status`)),isLoginPhoneVerifyModalOpen:!!x.includes(I(e,F.PHONE_VERIFY,`status`)),isAgeVerificationOptionsModalOpen:!!x.includes(I(e,F.AGE_VERIFICATION_OPTIONS,`status`)),isAgeVerificationPhoneModalOpen:!!x.includes(I(e,F.AGE_VERIFICATION_PHONE,`status`)),isConfigureRemoteConfigMerged:U(e,`0`),isPresenceClientRemoteConfigMerged:U(e,`1`),isPresenceUserRemoteConfigMerged:U(e,`2`),isOnJoin:R({pathname:t,dataKey:`isOnJoin`}),onloadRedirectUrl:N(e,o),shouldOpenAgeVerificationNotification:!!N(e,h),shouldOpenBindEmailModal:!i?.id&&!!N(e,`REGISTER_OPTIONAL_BIND_EMAIL_MODAL`),shouldOpenBindPhoneNumberModal:!!N(e,ee),sentryReplaySessionSampleRate:N(e,te),sentryReplayOnErrorSampleRate:N(e,d),shouldAgeVerify:!P(e),redirectRecord:E(e,`redirect`),mixpanelRecordSessionsPercent:N(e,m),hasReferralCode:j(e,[`acquisition`,`manual`],`code`)||j(e,[`acquisition`,`referral`],`code`),isInNeedLandingCountries:y.includes(n),isInNeedOver18Countries:S.includes(n),sentryLogEnabled:N(e,f),sentryLogLevel:N(e,p),sentryLogCaptureNames:N(e,u),sentryLogCaptureTimeoutMsec:N(e,l),isUsernameSet:v?.isUsernameSet===!0,isWebAuthnBound:g,isAccountLinksFetched:_,vodPlayerPoolSizeMax:N(e,q()),videoElementPoolSizeMax:N(e,b()?c:s)}},e=>({openAgeVerificationNotification:()=>{e(Z({componentName:`AgeVerificationPinnedNotification`}))},closeAgeVerificationNotification:()=>{e(Q({componentName:`AgeVerificationPinnedNotification`}))},updateRedirectRecord:t=>e(A({field:`redirect`,value:t})),openBindEmailModal:t=>e(W(t)),bindPhone:()=>e(B({id:F.AGE_VERIFICATION_PHONE,isHigherThanAll:!0,transitionStatus:`coming`})),showWelcomeToastr:t=>e($(t)),setHasShownWelcomeToastr:()=>e({type:D,payload:{selectPath:[`register`],data:{hasShownWelcomeToastr:!0}}})}))(X);export{pe as default};
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.