1import{a as at}from"./chunk-GT3DEHNC.js";import{a as ot,b as rt}from"./chunk-5ONFGUXI.js";import{b as u,c as S,d as C,f as T,g as M}from"./chunk-JOQXWPPS.js";import"./chunk-I2I6DOSZ.js";import{j as v,k as p}from"./chunk-ZK5A6GM2.js";import{a as K}from"./chunk-ZM4LV3CI.js";import{a as g,c as O}from"./chunk-ID47ABZG.js";import{a as Z,b as tt,d as et,e as nt}from"./chunk-LRQXKAFX.js";import"./chunk-3QWGVJFI.js";import"./chunk-MLERG2BZ.js";import{$a as H,Ba as B,Ca as D,Ia as V,Ja as W,Ta as j,_a as Y,na as k,pa as l,sa as J,ta as X,ua as z,wa as P,ya as Q}from"./chunk-YHGF66Y3.js";import{$b as $,Tb as I,Ub as e,Vb as n,Vd as q,Wb as d,_b as h,bc as y,eb as f,gc as a,la as c,lc as A,qa as U,ra as b,rc as w,sc as x,tc as F,yb as s}from"./chunk-PSRDVY2U.js";import"./chunk-MG3ERZGY.js";var N=class m{static \u0275fac=function(t){return new(t||m)};static \u0275cmp=s({type:m,selectors:[["pl-login-support-request-sent"]],decls:8,vars:0,consts:()=>{let o;o=$localize`:@@login.support.request-sent.title:Request has been sent`;let t;t=$localize`:@@login.support.request-sent.text: Your help request has been sent. We will get in touch with you as soon as possible. `;let r;return r=$localize`:@@login.support.request-sent.action.back: Back to login `,[o,t,r,["appearance","outlined",1,"login-card"],["plds-button","","color","primary","routerLink","/login",1,"large"]]},template:function(t,r){t&1&&(e(0,"mat-card",3)(1,"mat-card-title"),a(2,0),n(),e(3,"mat-card-content"),a(4,1),n(),e(5,"mat-card-footer")(6,"button",4),a(7,2),n()()())},dependencies:[M,u,C,T,S,p,O,g],styles:["button[_ngcontent-%COMP%]{width:100%}","mat-card.mat-mdc-card.login-card[_ngcontent-%COMP%]{box-sizing:content-box;align-self:center;padding:1.6em 2.2em;border:none;position:relative;width:310px;max-width:340px;height:auto}mat-card.mat-mdc-card.login-card[_ngcontent-%COMP%] mat-card-title[_ngcontent-%COMP%]{margin-bottom:1em;margin-top:3px;font-size:29px}mat-card.mat-mdc-card.login-card[_ngcontent-%COMP%] form[_ngcontent-%COMP%]:not(:last-child){padding-bottom:.5em}mat-card.mat-mdc-card.login-card[_ngcontent-%COMP%] form[_ngcontent-%COMP%] > span[_ngcontent-%COMP%], mat-card.mat-mdc-card.login-card[_ngcontent-%COMP%] form[_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{margin-top:1em}mat-card.mat-mdc-card.login-card[_ngcontent-%COMP%] form[_ngcontent-%COMP%] span.labelWithButton[_ngcontent-%COMP%]{display:flex;justify-content:space-between}mat-card.mat-mdc-card.login-card[_ngcontent-%COMP%] form[_ngcontent-%COMP%] button.mat-mdc-button[_ngcontent-%COMP%]{line-height:14px;padding:0}mat-card.mat-mdc-card.login-card[_ngcontent-%COMP%] button.mat-mdc-outlined-button[_ngcontent-%COMP%]{color:#5e5e5e}mat-card.mat-mdc-card.login-card[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{width:100%}mat-card.mat-mdc-card.login-card[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#999;text-decoration:none}mat-card.mat-mdc-card.login-card[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:1.5em}mat-card.mat-mdc-card[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%]{padding:0}mat-card.mat-mdc-card[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%] > button.mat-mdc-button-base[_ngcontent-%COMP%]{width:100%;margin-bottom:1em}mat-card.mat-mdc-card[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%] > button.plds-button[_ngcontent-%COMP%]{width:100%;margin-bottom:1em}"]})};var ct=["captchaInput"],R=class m{#t=c(q);#e=c(K);#n=c(v);captchaInput;supportForm=new z({email:new P("",[l.email,l.required]),message:new P("",l.required),captchaInput:new P("",l.required)});sendMail(){if(!this.supportForm.valid)return;let o={email:this.supportForm.get("email").value,message:this.supportForm.get("message").value,captchaSolution:this.supportForm.get("captchaInput").value};this.#t.post("/rs2/system/support:sendMail",o).subscribe({next:t=>{if(t.data){this.#e.notify($localize`:@@login-support.system.support.send-mail:Your message was sent to the administrator.`,"INFO"),this.#n.navigateByUrl("/login/support/request-sent");return}this.captchaInput.handleWrongCaptcha()},error:()=>this.captchaInput.handleWrongCaptcha()})}static \u0275fac=function(t){return new(t||m)};static \u0275cmp=s({type:m,selectors:[["pl-login-support"]],viewQuery:function(t,r){if(t&1&&w(ct,5),t&2){let i;x(i=F())&&(r.captchaInput=i.first)}},decls:25,vars:2,consts:()=>{let o;o=$localize`:@@login.support.headline:Problems during login?`;let t;t=$localize`:@@login.support.sub-headline:Please enter your e-mail address and give a short description of the problem.`;let r;r=$localize`:@@login.support.email.label:E-mail address`;let i;i=$localize`:@@login.support.message.label:Problem description`;let E;E=$localize`:@@login.support.message.error:Please enter a problem description.`;let G;G=$localize`:@@login.support.action.back:Back to login`;let L;return L=$localize`:@@login.support.action.send:Send`,[["captchaInput",""],o,t,r,i,E,G,L,["appearance","outlined",1,"login-card"],[3,"formGroup"],["for","email"],["pldsBigFormField",""],["matInput","","formControlName","email","id","email"],["for","message"],["matInput","","formControlName","message","id","message","cdkTextareaAutosize","","cdkAutosizeMaxRows","10"],["formControlName","captchaInput"],["routerLink","/login"],["plds-button","","color","primary",1,"large",3,"click","disabled"]]},template:function(t,r){if(t&1){let i=y();e(0,"mat-card",8)(1,"mat-card-title"),a(2,1),n(),e(3,"mat-card-content")(4,"p"),a(5,2),n(),e(6,"form",9)(7,"label",10),a(8,3),n(),e(9,"mat-form-field",11),d(10,"input",12),n(),e(11,"label",13),a(12,4),n(),e(13,"mat-form-field"),d(14,"textarea",14),e(15,"mat-error"),a(16,5),n()(),d(17,"pl-captcha-input",15,0),n()(),e(19,"mat-card-footer")(20,"a",16),a(21,6),n(),e(22,"button",17),A("click",function(){return U(i),b(r.sendMail())}),h(23),a(24,7),$(),n()()()}t&2&&(f(6),I("formGroup",r.supportForm),f(16),I("disabled",!r.supportForm.valid))},dependencies:[M,u,C,T,S,V,Q,k,J,X,W,B,D,H,Y,j,rt,ot,nt,et,Z,tt,at,p,O,g],styles:["mat-card.mat-mdc-card.login-card[_ngcontent-%COMP%]{box-sizing:content-box;align-self:center;padding:1.6em 2.2em;border:none;position:relative;width:310px;max-width:340px;height:auto}mat-card.mat-mdc-card.login-card[_ngcontent-%COMP%] mat-card-title[_ngcontent-%COMP%]{margin-bottom:1em;margin-top:3px;font-size:29px}mat-card.mat-mdc-card.login-card[_ngcontent-%COMP%] form[_ngcontent-%COMP%]:not(:last-child){padding-bottom:.5em}mat-card.mat-mdc-card.login-card[_ngcontent-%COMP%] form[_ngcontent-%COMP%] > span[_ngcontent-%COMP%], mat-card.mat-mdc-card.login-card[_ngcontent-%COMP%] form[_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{margin-top:1em}mat-card.mat-mdc-card.login-card[_ngcontent-%COMP%] form[_ngcontent-%COMP%] span.labelWithButton[_ngcontent-%COMP%]{display:flex;justify-content:space-between}mat-card.mat-mdc-card.login-card[_ngcontent-%COMP%] form[_ngcontent-%COMP%] button.mat-mdc-button[_ngcontent-%COMP%]{line-height:14px;padding:0}mat-card.mat-mdc-card.login-card[_ngcontent-%COMP%] button.mat-mdc-outlined-button[_ngcontent-%COMP%]{color:#5e5e5e}mat-card.mat-mdc-card.login-card[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{width:100%}mat-card.mat-mdc-card.login-card[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#999;text-decoration:none}mat-card.mat-mdc-card.login-card[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:1.5em}mat-card.mat-mdc-card[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%]{padding:0}mat-card.mat-mdc-card[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%] > button.mat-mdc-button-base[_ngcontent-%COMP%]{width:100%;margin-bottom:1em}mat-card.mat-mdc-card[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%] > button.plds-button[_ngcontent-%COMP%]{width:100%;margin-bottom:1em}"]})};var Ft=[{path:"",component:R},{path:"request-sent",component:N}];export{Ft 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.