PageSourceSearch

https://commmune.com/_next/static/chunks/pages/view/password/new-76b303b31b6b7b0d.js

js commmune.com collected 2026-09-24 20:06:56 UTC 10,906 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]="f8d87dfb-b252-586d-a181-24a909f219b7")}catch(e){}}();
3(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[47,9698],{4342:(e,t,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/view/password/new",function(){return a(28657)}])},17749:(e,t,a)=>{"use strict";a.d(t,{M:()=>b,t:()=>x});var i=a(45023),n=a(51949),r=a.n(n),s=a(36439),c=a(90524),l=a(41471),o=a(816),d=a(53205),u=a(74792),m=a(63831),h=a(22668),p=a(72763),f=a(52428);function b({statusCode:e}){let{t}=(0,c.B)(["components/templates/error"]),a=(0,l.useSelector)(e=>e.site.common.colors.post.backgroundColor);return(0,i.FD)("section",{className:r().dynamic([["368e962c5783fde",[h.A]]]),children:[(0,i.Y)("section",{className:r().dynamic([["368e962c5783fde",[h.A]]])+" error mx-auto py-4 py-sm-5",children:e===o.default.INTERNAL_SERVER_ERROR?(0,i.Y)(u.P,{}):(0,i.Y)(m.M,{})}),e<o.default.INTERNAL_SERVER_ERROR&&(0,i.Y)("section",{className:r().dynamic([["368e962c5783fde",[h.A]]])+" back-top mx-auto text-center mt-2",children:(0,i.Y)(d.M,{color:a,charColor:"#fff",onClick:()=>{location.replace("/view/home")},children:t("Back to top")})}),(0,i.Y)(r(),{id:"368e962c5783fde",dynamic:[h.A],children:`.error.__jsx-style-dynamic-selector{max-width:${h.A}px}.back-top.__jsx-style-dynamic-selector{width:140px}`})]})}function x({statusCode:e}){let t=(0,i.Y)(b,{statusCode:e}),a=(0,s.useCallback)(()=>(0,i.Y)(p.z,{content:t}),[e]),n=(0,s.useCallback)(()=>(0,i.Y)(p.z,{content:t}),[e]);return(0,i.Y)(f.default,{renderPc:a,renderSp:n})}},21635:(e,t,a)=>{"use strict";a.d(t,{Cn:()=>s,i2:()=>c,y:()=>r});var i=a(70442),n=a(41471);let r={disableCommunityCopilot:"disableCommunityCopilot",disableCommunityDataLab:"disableCommunityDataLab",disableEmailNotification:"disableEmailNotification",disableProfileIconEdit:"disableProfileIconEdit",disableUserIntroduction:"disableUserIntroduction",enableForYouRecommend:"enableForYouRecommend",enableMultiFactorAuthenticationByBrand:"enableMultiFactorAuthenticationByBrand",enableSecuritySettings:"enableSecuritySettings"},s=e=>{let{data:t}=(0,i.s3)(`/launchdarklyBrandEnabled/${e}`);return t?.value??!1},c=e=>{let t=(0,n.useSelector)(e=>e.app.brand.id),{data:a}=(0,i.s3)(`/launchdarklyBrandEnabledWithoutAuth/${e}/${t}`);return a?.value??!1}},22884:(e,t,a)=>{"use strict";a.d(t,{b:()=>r});var i=a(45023),n=a(78201);let r=e=>{let{invalid:t,style:a,type:r,...s}=e;return(0,i.Y)(n.A_,{type:r||"text",style:{...a,display:"block"},error:t,fullWidth:!0,inputProps:{"data-cy":"labeled-text-input"},...s})}},28657:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>S});var i=a(45023),n=a(51949),r=a.n(n),s=a(23144),c=a.n(s),l=a(36439),o=a(90524),d=a(38982),u=a(41471),m=a(29002),h=a(27802),p=a(14643),f=a(93998),b=a(92362),x=a(65893),y=a(22884),_=a(86404),g=a(93801),Y=a(17749),N=a(22668),w=a(49151),A=a(56549),I=a(29048),v=a(70284),C=a(88442),D=a(96058),E=a(24784),j=a(840);let M=({signinUrl:e})=>{let t=(0,w.q)(),a=(0,u.useSelector)(D.dt),{brand:n}=(0,I.P)(),s=(0,A.w)(),p=(0,u.useSelector)(D.Cv),{t:M}=(0,o.B)(["pages/view/password"]),S=(0,u.useDispatch)(),k=(0,C.R)(),[F,P]=(0,l.useState)(""),[R,L]=(0,l.useState)(""),O=(0,f.rI)(a.userAgent),B=n?.featureFlags?.loginWithLoginId??!1,$=a=>{if(a.preventDefault(),a.stopPropagation(),F.toLowerCase().endsWith(`@${m.DUMMY_EMAIL_DOMAIN}`))return void L(M("{{email}} was not found. Please try again.",{email:F}));let i=async a=>{if(a){if(S((0,b.gg)(M("Email sent"))),(0,j.Ri)(N.A.COOKIE_JWT_TOKEN)){await (0,E.w)(t),S(v.S6.request());return}k.pushRoute(e)}else L(M("{{email}} was not found. Please try again.",{email:F}))};S(v.gE.request({email:F,successCb:i}))},{isShownAccountInfo:T,roleId:W}=a;return!T&&W<h.RoleId.AdminGuest||s&&!p?(0,i.Y)(Y.t,{statusCode:404}):(0,i.FD)(l.Fragment,{children:[(0,i.Y)("form",{onSubmit:$,className:"jsx-cc08fd0e41ae0ad4",children:(0,i.FD)(_.W,{height:450,children:[(0,i.Y)("section",{className:"jsx-cc08fd0e41ae0ad4 mb-4",children:(0,i.Y)(g.n,{text:M("Reset password")})}),R&&(0,i.Y)("section",{role:"alert",className:"jsx-cc08fd0e41ae0ad4 alert alert-danger",children:R}),(0,i.Y)("section",{className:"jsx-cc08fd0e41ae0ad4 text-center d-block mb-3",children:(0,i.Y)(d.x,{i18nKey:M("Enter your registered email address. You will receive a temporary password."),components:{br:(0,i.Y)("br",{className:"jsx-cc08fd0e41ae0ad4"})}})}),(0,i.Y)("section",{className:"jsx-cc08fd0e41ae0ad4 mt-5",children:(0,i.Y)("div",{className:"jsx-cc08fd0e41ae0ad4 form-group",children:(0,i.Y)(y.b,{type:"email",label:M("Your email address"),value:F,onChange:e=>P(e.target.value)})})}),(0,i.Y)("section",{className:"jsx-cc08fd0e41ae0ad4 mt-5 text-center",children:(0,i.Y)(x.a,{type:"submit",className:"w-75",color:"#254860",disabled:!F,onClick:$,"data-cy":"submit-button",children:M("Send")})}),B&&(0,i.Y)("section",{className:"jsx-cc08fd0e41ae0ad4 note mt-3 text-center",children:M("If your email isn't registered, please reach out to your community admin directly.")}),!O&&(0,i.FD)("section",{className:"jsx-cc08fd0e41ae0ad4 login mt-5 text-center",children:[(0,i.Y)("i",{className:"jsx-cc08fd0e41ae0ad4  fas fa-arrow-left"}),(0,i.Y)(c(),{href:e,children:M("Back to Log In")})]})]})}),(0,i.Y)(r(),{id:"cc08fd0e41ae0ad4",children:"img.jsx-cc08fd0e41ae0ad4{width:100%}.login.jsx-cc08fd0e41ae0ad4 a{font-size:12px;color:#909090;text-decoration:underline}.login.jsx-cc08fd0e41ae0ad4 i.jsx-cc08fd0e41ae0ad4{font-size:12px;color:#909090}.note.jsx-cc08fd0e41ae0ad4,label.jsx-cc08fd0e41ae0ad4,.alert.jsx-cc08fd0e41ae0ad4{font-size:12px}.note.jsx-cc08fd0e41ae0ad4{color:gray;word-break:keep-all}"})]})};M.getInitialProps=({ctx:e})=>{let{adminSignin:t}=e.query;return{signinUrl:t?p.default.ADMIN_SIGNIN:p.default.VIEW_SIGNIN}};let S=M},29002:(e,t)=>
3{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.INVALID_EMAIL_DOMAINS=t.DUMMY_EMAIL_DOMAIN=void 0,t.DUMMY_EMAIL_DOMAIN="example.com",t.INVALID_EMAIL_DOMAINS=[t.DUMMY_EMAIL_DOMAIN]},52428:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>o});var i=a(45023),n=a(36439),r=a(41471),s=a(93998),c=a(53422),l=a(44458);let o=function({renderPc:e,renderSp:t,isPage:a=!0}){let o=(0,r.useSelector)(({user:e})=>e.userAgent),d=(0,l.hD)();return(0,s.c$)(o)&&!d?(0,i.Y)(n.Fragment,{children:e()}):a?(0,i.Y)(c.x,{children:t()}):(0,i.Y)(n.Fragment,{children:t()})}},53422:(e,t,a)=>{"use strict";a.d(t,{x:()=>s});var i=a(45023),n=a(51949),r=a.n(n);function s({children:e}){return(0,i.FD)("div",{className:"jsx-9054149ebbf1082a appPageContainer",children:[e,(0,i.Y)(r(),{id:"9054149ebbf1082a",children:".appPageContainer.jsx-9054149ebbf1082a{padding-bottom:60px}"})]})}a(36439)},56549:(e,t,a)=>{"use strict";a.d(t,{w:()=>s});var i=a(41471),n=a(7347),r=a(21635);let s=()=>{let e=(0,i.useSelector)(e=>e.app.brand.isEmailHidden??!1),t=(0,i.useSelector)(e=>e.user.nameIdFormatType===n.Ki.persistent),a=(0,r.i2)(r.y.disableEmailNotification);return e||t||a}},72763:(e,t,a)=>{"use strict";a.d(t,{z:()=>u});var i=a(45023),n=a(51949),r=a.n(n),s=a(36439),c=a(47727),l=a(22668),o=a(92270),d=a(73882);function u({content:e,recommendContent:t,handleClickLogo:a,maxWidth:n}){let m=(0,o.K)(),h=s.useRef(null);return(0,i.FD)(s.Fragment,{children:[(0,i.Y)("div",{className:r().dynamic([["63977e5e7da70881",[l.A.MAX_PC_WIDTH]],["b69779d4d0f1bf88",[m,n||688]]])+" one-column-container",children:(0,i.FD)(c.D,{handleClickLogo:a,children:[(0,i.Y)("main",{ref:h,"data-cy":"main-content",className:r().dynamic([["63977e5e7da70881",[l.A.MAX_PC_WIDTH]],["b69779d4d0f1bf88",[m,n||688]]]),children:(0,i.Y)(d._.Provider,{value:h,children:e})}),t]})}),(0,i.Y)(r(),{id:"b69779d4d0f1bf88",dynamic:[m,n||688],children:`.one-column-container.__jsx-style-dynamic-selector{display:flex;flex-direction:column;min-height:100vh - ${m}px}main.__jsx-style-dynamic-selector{flex:1;max-width:${n||688}px;margin:0 auto;width:100%;overflow:visible}`}),(0,i.Y)(r(),{id:"63977e5e7da70881",dynamic:[l.A.MAX_PC_WIDTH],children:`.main-layout{max-width:${l.A.MAX_PC_WIDTH}px;margin:0 auto;width:100%}`})]})}},73882:(e,t,a)=>{"use strict";a.d(t,{J:()=>o,_:()=>l});var i=a(45023),n=a(90524),r=a(40803),s=a(36439),c=a(30915);let l=(0,s.createContext)(null),o=({reactors:e,children:t})=>{let[a,n]=(0,s.useState)(!1),[c,o]=(0,s.useState)(null),m=(0,s.useContext)(l);(0,s.useEffect)(()=>{o(m?.current??null)},[m?.current]);let h=e.length>1?"rich":"plain",p=e.length>50,f=a?e:e.slice(0,50);return(0,i.Y)(r._,{variant:h,collisionBoundary:c,side:"rich"===h?"right":"top",align:"rich"===h?"start":"center",alignOffset:60,sideOffset:0,collisionPadding:{top:32,bottom:32},supportingText:f.length?(0,i.FD)("div",{css:u,children:[f.join(", "),p&&!a&&(0,i.Y)(d,{onClick:()=>n(!a)})]}):void 0,children:t})},d=({onClick:e})=>{let{t}=(0,n.B)(["components/organisms/directmessage/components"]);return(0,i.FD)("button",{css:m,onClick:e,children:["...",t("Show more")]})},u=(0,c.AH)({wordBreak:"keep-all"}),m=(0,c.AH)({cursor:"pointer"})},86404:(e,t,a)=>{"use strict";a.d(t,{W:()=>c});var i=a(45023),n=a(51949),r=a.n(n),s=a(36439);class c extends s.Component{render(){return(0,i.FD)("div",{className:r().dynamic([["e758bd21b0ac938c",[this.props.width?this.props.width:"360",this.props.center?"0":"-10%",this.props.height]]])+" sharedContainer",children:[this.props.children,(0,i.Y)(r(),{id:"e758bd21b0ac938c",dynamic:[this.props.width?this.props.width:"360",this.props.center?"0":"-10%",this.props.height],children:`.sharedContainer.__jsx-style-dynamic-selector{width:90%;max-width:${this.props.width?this.props.width:"360"}px;margin:auto;position:absolute;top:${this.props.center?"0":"-10%"};bottom:0;left:0;right:0;height:${this.props.height}px}`})]})}}},93801:(e,t,a)=>{"use strict";a.d(t,{n:()=>l});var i=a(45023),n=a(51949),r=a.n(n),s=a(48208),c=a(78201);let l=e=>(0,i.FD)(i.FK,{children:[(0,i.FD)("section",{className:r().dynamic([["24351ea278c5f977",[e.color||"#254860"]]])+" header",children:[e.route&&(0,i.Y)(s.N,{route:e.route,children:(0,i.Y)(c.K0,{style:{position:"absolute",top:-5,left:0},children:(0,i.Y)("i",{className:r().dynamic([["24351ea278c5f977",[e.color||"#254860"]]])+" fas fa-chevron-left"})})}),(0,i.Y)("span",{className:r().dynamic([["24351ea278c5f977",[e.color||"#254860"]]]),children:e.text})]}),(0,i.Y)(r(),{id:"24351ea278c5f977",dynamic:[e.color||"#254860"],children:`.header.__jsx-style-dynamic-selector{font-size:24px;font-weight:bold;text-align:center}.header.__jsx-style-dynamic-selector span.__jsx-style-dynamic-selector{color:${e.color||"#254860"}}.iconButton.__jsx-style-dynamic-selector{position:absolute;top:7px;left:15px}`})]})}},e=>{e.O(0,[2136,6569,3830,212,636,6593,8792],()=>e(e.s=4342)),_N_E=e.O()}]);
4//# sourceMappingURL=new-76b303b31b6b7b0d.js.map
5//# debugId=f8d87dfb-b252-586d-a181-24a909f219b7

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.