PageSourceSearch

https://commmune.com/_next/static/chunks/pages/sso/signin/terms_and_privacy_policy-85752fa3d54dbc0b.js

js commmune.com collected 2026-10-02 06:28:12 UTC 6,962 bytes, 5 lines download raw bytes

1
2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="8a358de2-77c0-5e74-a232-e0549e94277e")}catch(e){}}();
3(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4594],{6294:(e,t,s)=>{"use strict";s.d(t,{H:()=>I});var i=s(45023),r=s(2004),a=s.n(r),o=s(90524),n=s(41471),l=s(17162),c=s(14162),d=s(32657),u=s(70674),m=s(25310),S=s(64750),g=s(88075);let f={parentEmailOptional:!0};function I({onSignUp:e,disabledSignUp:t=!1,parentalConsentPending:s=!1,parentEmailError:r,onParentalConsentEdit:h,parentalConsentGated:p=!0,isEmailProvided:b=!0}){let{t:y}=(0,o.B)(["components/organisms/sso"]),E=(0,n.useSelector)(e=>e.app.brand.design?.common.logo.src),_=(0,S.w)()||!b,N=(0,g.R)(),{isNotifyReactions:T,isNotifyDigestMail:O,isNotifyPosts:C,setIsNotifyReactions:L,setIsNotifyDigestMail:Y,setIsNotifyPosts:R}=(0,u.il)(),{value:v,setValue:x}=(0,m.tX)();return(0,i.FD)(c.B,{height:450,headerText:y("Sign Up"),headerImage:(0,i.Y)("section",{className:"jsx-f943373b8dfc9d3 text-center image-container",children:(0,i.Y)("img",{src:E,style:{width:240},className:"jsx-f943373b8dfc9d3"})}),children:[s?(0,i.Y)(m.kp,{resume:"sso-login"}):(0,i.FD)(i.FK,{children:[(0,i.Y)("section",{className:"jsx-f943373b8dfc9d3 mt-5 text-center",children:(0,i.Y)(l.a,{className:"w-75",color:N.ctaColor,disabled:t||!(0,m.RP)(v,f),onClick:()=>{e(_?{isNotifyReactions:!1,isNotifyDigestMail:!1,isNotifyPosts:!1}:{isNotifyReactions:T,isNotifyDigestMail:O,isNotifyPosts:C},(0,m.hz)(v))},"data-cy":"sso-sign-up-button",children:y("Sign up")})}),!_&&(0,i.Y)(u.zb,{isNotifyReactions:T,isNotifyDigestMail:O,isNotifyPosts:C,setIsNotifyReactions:L,setIsNotifyDigestMail:Y,setIsNotifyPosts:R,ctaColor:N.checkboxCtaColor}),p&&(0,i.Y)(m.a0,{value:v,onChange:e=>{h?.(),x(e)},ctaColor:N.checkboxCtaColor,rules:f,parentEmailError:r}),(0,i.Y)("section",{className:"jsx-f943373b8dfc9d3 regNote mt-3 text-center",children:(0,i.Y)(d.J,{})})]}),(0,i.Y)(a(),{id:"f943373b8dfc9d3",children:".regNote.jsx-f943373b8dfc9d3,.mail-info.jsx-f943373b8dfc9d3,label.jsx-f943373b8dfc9d3{font-size:12px}.image-container.jsx-f943373b8dfc9d3{margin-bottom:30px}.mail-info.jsx-f943373b8dfc9d3{color:#909090;margin-top:24px}.mail-checkbox.jsx-f943373b8dfc9d3{margin-top:8px}.mail-text.jsx-f943373b8dfc9d3{vertical-align:middle}"})]})}},14082:(e,t,s)=>{"use strict";s.d(t,{Cn:()=>o,i2:()=>n,y:()=>a});var i=s(89914),r=s(41471);let a={disableCommunityCopilot:"disableCommunityCopilot",disableCommunityDataLab:"disableCommunityDataLab",disableEmailNotification:"disableEmailNotification",disableProfileIconEdit:"disableProfileIconEdit",disableUserIntroduction:"disableUserIntroduction",enableForYouRecommend:"enableForYouRecommend",enableMultiFactorAuthenticationByBrand:"enableMultiFactorAuthenticationByBrand",enableSecuritySettings:"enableSecuritySettings"},o=e=>{let{data:t}=(0,i.s3)(`/launchdarklyBrandEnabled/${e}`);return t?.value??!1},n=e=>{let t=(0,r.useSelector)(e=>e.app.brand.id),{data:s}=(0,i.s3)(`/launchdarklyBrandEnabledWithoutAuth/${e}/${t}`);return s?.value??!1}},38120:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>g});var i=s(45023),r=s(36439),a=s(41471),o=s(62786),n=s(6294),l=s(8089),c=s(97953),d=s(53189),u=s(94053),m=s(84404),S=s(66432);let g=()=>{let[e,t]=(0,r.useState)(!1),s=(0,u.Ri)(l.A.COOKIE_SSO_JWT),g=(0,a.useDispatch)(),{redirectFailed:f}=(0,d.w)();return(0,i.Y)(n.H,{onSignUp:e=>{try{if(t(!0),!s)return void f();g(c.os.request({jwtToken:s,mailNotifyOptions:e,successCb:()=>{(0,u.zs)(l.A.COOKIE_SSO_JWT);let e=m.tN.popURL(),t=e&&"undefined"!==e?e:o.default.VIEW_HOME;window.location.href=(0,S.Hs)(t)},errCb:f}))}catch{t(!1),f()}},disabledSignUp:e,parentalConsentGated:!1})}},53189:(e,t,s)=>{"use strict";s.d(t,{w:()=>l});var i=s(62786),r=s(20764),a=s(36439),o=s(98611),n=s(84404);let l=()=>{let e=(0,r.useRouter)();return{redirectOidcSignUp:()=>{e.replace(i.default.SSO_OIDC_SIGN_UP)},redirectSamlSignUp:()=>{e.replace(i.default.SSO_SAML_SIGN_UP)},redirectSamlLink:()=>{e.replace(i.default.SSO_SAML_LINK)},redirectSuccess:()=>{let e=n.tN.popURL(),t=e&&"undefined"!==e?e:i.default.VIEW_HOME;(0,o.eM)(t)},redirectFailed:(0,a.useCallback)(()=>e.replace(i.default.SSO_FAILED),[e]),redirectSamlLinkFailed:()=>e.replace(i.default.SSO_SAML_LINK_FAILED)}}},64750:(e,t,s)=>{"use strict";s.d(t,{w:()=>o});var i=s(41471),r=s(11752),a=s(14082);let o=()=>{let e=(0,i.useSelector)(e=>e.app.brand.isEmailHidden??!1),t=(0,i.useSelector)(e=>e.user.nameIdFormatType===r.Ki.persistent),s=(0,a.i2)(a.y.disableEmailNotification);return e||t||s}},68343:(e,t,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/sso/signin/terms_and_privacy_policy",function(){return s(38120)}])},84404:(e,t,s)=>{"use strict";s.d(t,{Ae:()=>i,Al:()=>o,Q7:()=>n,RG:()=>r,tN:()=>a});
3class i{static{this.TITLE="temporaryPostTitle"}static{this.BODY="temporaryPostBody"}static{this.IS_TWEET="temporaryPostIsTweet"}static{this.URL_PREVIEW="temporaryUrlPreview"}static store(e,t,s){sessionStorage.setItem(this.TITLE,e),sessionStorage.setItem(this.BODY,t),this.storeIsTweet(s)}static storePreview(e){sessionStorage.setItem(this.URL_PREVIEW,JSON.stringify(e))}static storeTitle(e){sessionStorage.setItem(this.TITLE,e)}static storeBody(e){sessionStorage.setItem(this.BODY,e)}static storeIsTweet(e){void 0!==e&&localStorage.setItem(this.IS_TWEET,`${e}`)}static getTitle(){return sessionStorage.getItem(this.TITLE)||""}static getBody(){return sessionStorage.getItem(this.BODY)||""}static getIsTweet(){return"true"===localStorage.getItem(this.IS_TWEET)}static clearSessionStorage(){sessionStorage.removeItem(this.TITLE),sessionStorage.removeItem(this.BODY)}}class r{static{this.BODY="temporaryCommentBody"}static storeBody(e){sessionStorage.setItem(this.BODY,e)}static getBody(){return sessionStorage.getItem(this.BODY)||""}static clearSessionStorage(){sessionStorage.removeItem(this.BODY)}}let a={URL:"temporaryReferrerURL",storeURL:e=>{sessionStorage.setItem(a.URL,void 0===e?"undefined":e)},popURL:()=>{let e=sessionStorage.getItem(a.URL)||"";return sessionStorage.removeItem(a.URL),"undefined"===e?"":e}},o=(e,t)=>{let s=()=>{let s=Number(localStorage.getItem(e));if(!s)return!1;let i=Date.now()-s;return i>=0&&i<t};return{isAvailable:()=>{try{return!s()}catch{return!1}},tryConsume:()=>{try{if(s())return!1;return localStorage.setItem(e,String(Date.now())),!0}catch{return!1}},clear:()=>{try{localStorage.removeItem(e)}catch{return}}}},n={KEY:"samlEncodedResponse",store:e=>{try{sessionStorage.setItem(n.KEY,e)}catch{return}},load:()=>{try{return sessionStorage.getItem(n.KEY)??void 0}catch{return}},clear:()=>{try{sessionStorage.removeItem(n.KEY)}catch{return}}}}},e=>{e.O(0,[8545,636,6593,8792],()=>e(e.s=68343)),_N_E=e.O()}]);
4//# sourceMappingURL=terms_and_privacy_policy-85752fa3d54dbc0b.js.map
5//# debugId=8a358de2-77c0-5e74-a232-e0549e94277e

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.