PageSourceSearch

https://app.planscape.org/586.72e15e2f14552fc0.js

js planscape.org collected 2026-09-25 20:09:15 UTC 9,938 bytes, 4 lines download raw bytes

1"use strict";
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]="b887bf14-6461-5311-934c-3d6f2991af42")}catch(e){}}();
3(self.webpackChunkinterface=self.webpackChunkinterface||[]).push([[586],{586:(E,u,n)=>{n.r(u),n.d(u,{LoginComponent:()=>N});var i=n(4456),c=n(8610),p=n(5718),g=n(1774),d=n(3777),s=n(316),h=n(4845),P=n(758),O=n(1379),b=n(200),t=n(8559),C=n(8475),M=n(3347),v=n(4175),f=n(5944),x=n(7984),L=n(1176),R=n(4074);const D=()=>[];function T(e,m){if(1&e){const o=t.RV6();t.j41(0,"div")(1,"a",24),t.bIt("click",function(){t.eBV(o);const r=t.XpG(2);return t.Njj(r.resendVerification())}),t.EFF(2,"Click here to re-send your verification email."),t.k0s()()}2&e&&(t.R7$(),t.Y8G("routerLink",t.lJ4(1,D)))}function I(e,m){if(1&e&&(t.j41(0,"sg-banner",23),t.EFF(1,"Either the user name or password that you have entered is incorrect. Please try again. "),t.DNE(2,T,3,2,"div",14),t.k0s()),2&e){const o=t.XpG();t.R7$(2),t.Y8G("ngIf",o.offerReverify)}}function A(e,m){1&e&&t.EFF(0," Email is required. ")}function y(e,m){1&e&&t.EFF(0," Email must be in a proper format. ")}function k(e,m){if(1&e&&(t.j41(0,"mat-error"),t.DNE(1,A,1,0)(2,y,1,0),t.k0s()),2&e){let o;const a=t.XpG();t.R7$(),t.vxM(1,null!=(o=a.form.get("email"))&&o.hasError("required")?1:null!=(o=a.form.get("email"))&&o.hasError("pattern")?2:-1)}}function F(e,m){1&e&&(t.j41(0,"mat-error"),t.EFF(1," Password is required. "),t.k0s())}function w(e,m){1&e&&(t.j41(0,"button",25),t.EFF(1," Map Viewer "),t.k0s()),2&e&&t.Y8G("routerLink","/map-viewer")}let N=(()=>{class e{constructor(o,a,r,l){this.authService=o,this.formBuilder=a,this.router=r,this.snackbar=l,this.offerReverify=!1,this.loginError="",this.passwordError="",this.emailError="",this.FormMessageType=p.wk,this.form=this.formBuilder.group({email:this.formBuilder.control("",[i.k0.required,i.k0.pattern(g.LQ)]),password:this.formBuilder.control("",i.k0.required)})}resendVerification(){const o=this.form.get("email")?.value;this.authService.resendValidationEmail(o).subscribe({next:()=>{this.offerReverify=!1,this.snackbar.open("Sent verification email.","Dismiss",g.F6)},error:a=>{this.snackbar.open(`Error: ${a}`,"Dismiss",g.Xs)}})}login(){if(!this.form.valid)return;const o=this.form.get("email")?.value,a=this.form.get("password")?.value;this.authService.login(o,a).subscribe(r=>{this.router.navigate([r])},r=>{let l="";const _=r.error.errors;_.email&&this.form.controls.email.setErrors({email:"Email must be in the proper format."}),_.global&&(l=_.global[0],this.form.setErrors({error:l}),"E-mail is not verified."===l?(this.loginError="Please check your email to verify your account.",this.offerReverify=!0):"Unable to log in with provided credentials."===l?(this.loginError="Either the user name or password that you have entered is incorrect. Please try again.",this.offerReverify=!1):this.loginError=l)})}signup(){this.router.navigate(["signup"])}static{this.\u0275fac=function(a){return new(a||e)(t.rXU(C.uR),t.rXU(i.ok),t.rXU(c.Ix),t.rXU(M.UG))}}static{this.\u0275cmp=t.VBU({type:e,selectors:[["app-login"]],standalone:!0,features:[t.aNF],decls:37,vars:10,consts:()=>{let o;return o=$localize`:Text on a button to reset password:Forgot your password?`,[o,[1,"signin-card-container"],[1,"signin-subcontainer"],[1,"signin-card-logo"],[1,"planscape-white-logo"],["src","assets/svg/planscape-white-logo.svg","alt","planscape logo"],[1,"signin-card"],[1,"signin-title"],["class","error","type","error","iconPosition","top",4,"ngIf"],["autocomplete","on",3,"ngSubmit","formGroup"],[1,"standard-label"],[1,"required-blurb"],["appearance","outline"],["type","text","required","","formControlName","email","matInput","","autocomplete","email"],[4,"ngIf"],["type","password","required","","formControlName","password","autocomplete","current-password","matInput",""],[1,"login-form-buttons"],["mat-flat-button","","color","primary","type","submit",1,"login-form-button",3,"disabled"],[1,"forget-password"],["href","reset/",1,"forget-password-link"],["mat-stroked-button","","color","primary","data-id","map-viewer","class","login-form-button guest-button",3,"routerLink",4,"appFeatureFlag","appFeatureFlagHide"],["mat-stroked-button","","color","primary","data-id","create-account",1,"login-form-button","guest-button",3,"routerLink"],[1,"info-text-container"],["type","error","iconPosition","top",1,"error"],[3,"click","routerLink"],["mat-stroked-button","","color","primary","data-id","map-viewer",1,"login-form-button","guest-button",3,"routerLink"]]},template:function(a,r){if(1&a&&(t.j41(0,"div",1)(1,"div",2)(2,"div",3)(3,"div",4),t.nrm(4,"img",5),t.k0s()(),t.j41(5,"div",6)(6,"h1",7),t.EFF(7,"Sign in to Planscape"),t.k0s(),t.DNE(8,I,3,1,"sg-banner",8),t.j41(9,"form",9),t.bIt("ngSubmit",function(){return r.login()}),t.j41(10,"mat-label",10),t.EFF(11,"Email "),t.j41(12,"span",11),t.EFF(13,"required"),t.k0s()(),t.j41(14,"mat-form-field",12),t.nrm(15,"input",13),t.DNE(16,k,3,1,"mat-error",14),t.k0s(),t.j41(17,"mat-label",10),t.EFF(18,"Password "),t.j41(19,"span",11),t.EFF(20,"required"),t.k0s()(),t.j41(21,"mat-form-field",12),t.nrm(22,"input",15),t.DNE(23,F,2,0,"mat-error",14),t.k0s(),t.j41(24,"mat-card-actions",16)(25,"button",17),t.EFF(26," LOG IN "),t.k0s()(),t.j41(27,"p",18)(28,"a",19),t.pXf(29,0),t.k0s()(),t.j41(30,"div",16),t.DNE(31,w,2,1,"button",20),t.j41(32,"button",21),t.EFF(33," Create an Account "),t.k0s()()()(),t.nrm(34,"app-credits-blurb"),t.k0s()(),t.j41(35,"div",22),t.nrm(36,"app-planscape-about"),t.k0s()),2&a){let l,_;t.R7$(),t.AVh("mb-90",""!==r.loginError),t.R7$(7),t.Y8G("ngIf",!!r.loginError),t.R7$(),t.Y8G("formGroup",r.form),t.R7$(7),t.Y8G("ngIf",(null==(l=r.form.get("email"))?null:l.invalid)&&
3((null==(l=r.form.get("email"))?null:l.dirty)||(null==(l=r.form.get("email"))?null:l.touched))),t.R7$(7),t.Y8G("ngIf",(null==(_=r.form.get("password"))?null:_.hasError("required"))&&((null==(_=r.form.get("password"))?null:_.dirty)||(null==(_=r.form.get("password"))?null:_.touched))),t.R7$(2),t.Y8G("disabled",!r.form.valid),t.R7$(6),t.Y8G("appFeatureFlag","WORKSPACES")("appFeatureFlagHide",!0),t.R7$(),t.Y8G("routerLink","/signup")}},dependencies:[P.B,s.MD,s.bT,d.Hu,d.YY,h.R,v.$z,f.rl,f.nJ,f.TL,x.fg,i.X1,i.qT,i.me,i.BC,i.cb,i.YS,i.j4,i.JD,c.iI,c.Wk,g.Gg,L.Z,O.c,R.Y,b.Kp],styles:["[_nghost-%COMP%]{display:flex;height:100%}[_nghost-%COMP%]     .mat-form-field-outline{background-color:#f4f4f4}[_nghost-%COMP%]     .mat-mdc-form-field-error-wrapper{padding:0}.signin-card-container[_ngcontent-%COMP%]{background-image:url(/assets/jpg/planscape-background.jpg);background-repeat:no-repeat;background-size:cover;display:flex;width:50%;position:relative;overflow-y:auto;overflow-x:hidden}.signin-subcontainer[_ngcontent-%COMP%]{margin-top:6%;display:flex;flex-direction:column}.signin-card-logo[_ngcontent-%COMP%]{display:flex;padding:1em}.planscape-white-logo[_ngcontent-%COMP%]{margin:auto;height:42px;width:246px}.signin-card[_ngcontent-%COMP%]{max-width:460px;border-radius:8px;display:flex;flex-direction:column;justify-content:flex-start;align-items:center;padding:40px 45px;background-color:#fff;border:1px solid rgba(72,84,192,.5);margin:auto auto 16px;box-sizing:border-box}h1.signin-title[_ngcontent-%COMP%]{font-size:30px;line-height:32px;font-weight:700;letter-spacing:normal;margin-bottom:6%;text-align:center;vertical-align:middle;color:#202124}.forget-link[_ngcontent-%COMP%]{text-align:center}.standard-label[_ngcontent-%COMP%]{font-size:16px;line-height:22px;font-weight:500;letter-spacing:normal;color:#000;display:block;margin-bottom:4px}.required-blurb[_ngcontent-%COMP%]{font-size:14px;font-style:italic;font-weight:400;line-height:22px;color:#898989}button[_ngcontent-%COMP%]{width:100%}mat-divider[_ngcontent-%COMP%]{margin:28px 0}mat-form-field[_ngcontent-%COMP%]{width:100%}.forget-password[_ngcontent-%COMP%]{text-align:center;vertical-align:middle;margin-top:20px}.forget-password-link[_ngcontent-%COMP%]{text-decoration:underline;padding-top:26px}.forget-password-link[_ngcontent-%COMP%]:visited{color:#064bba}.info-text-container[_ngcontent-%COMP%]{background-color:#e6e8f3;width:50%;height:100%;overflow-y:auto}.login-form-buttons[_ngcontent-%COMP%]{display:flex;justify-content:space-between;gap:10px}.login-form-button[_ngcontent-%COMP%]{width:80px;height:36px;margin-left:auto;margin-right:auto}.guest-button[_ngcontent-%COMP%]{width:160px}.mat-error[_ngcontent-%COMP%]{margin-top:10px;text-align:center}.post-error-option[_ngcontent-%COMP%]{padding:1em;text-align:center}@media screen and (max-width: 840px){[_nghost-%COMP%]{gap:10%;flex-direction:column;height:-moz-fit-content;height:fit-content}.signin-card-container[_ngcontent-%COMP%]{width:100%;height:100%;min-height:calc(100vh - 48px)}.info-text-container[_ngcontent-%COMP%]{position:relative;width:100%}.credits-blurb[_ngcontent-%COMP%]{width:100%}}@media screen and (max-height: 700px){.signin-subcontainer[_ngcontent-%COMP%]{margin-top:1%}.planscape-white-logo[_ngcontent-%COMP%]{display:none}}.mb-10[_ngcontent-%COMP%]{margin-bottom:10px}.mt-10[_ngcontent-%COMP%]{margin-top:10px}app-credits-blurb[_ngcontent-%COMP%]{margin-top:auto;position:sticky;bottom:0;z-index:10}.error[_ngcontent-%COMP%]{margin:0 16px 16px}"]})}}return e})()},5718:(E,u,n)=>{n.d(u,{x7:()=>c,Z_:()=>d,CR:()=>g,wk:()=>i,Pv:()=>p});var i=function(s){return s[s.SUCCESS=0]="SUCCESS",s[s.ERROR=1]="ERROR",s[s.ALERT=2]="ALERT",s}(i||{});const c="road",p={PRIORITIZE_SUB_UNITS:"Prioritize Sub-Units",OPTIMIZE_PROJECT_AREAS:"Optimize Project Areas"},g=[{value:"7_4",label:"Greater than (>) 7 ft to less than (<) 4 ft"},{value:"6_4",label:"Greater than (>) 6 ft to less than (<) 4 ft"},{value:"4_2",label:"Greater than (>) 4 ft to less than (<) 2 ft"}],d="7_4"}}]);
4//# debugId=b887bf14-6461-5311-934c-3d6f2991af42

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.