@ngageoint/mage.web-app 6.5.8 → 6.5.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/admin/3rdpartylicenses.txt +309 -1650
- package/admin/index.html +7 -13
- package/admin/main.cb0bc80883aa4afe.js +1 -0
- package/admin/polyfills.46774eb62b7c7a59.js +1 -0
- package/admin/{styles.cca1983eb1421303.css → styles.cfc3dc9332deb233.css} +2 -2
- package/app/203.0c5c6b6f489c62af.js +1 -0
- package/app/211.f2623d4b041960db.js +1 -0
- package/app/24.b54d606b7fe38c2a.js +1 -0
- package/app/3rdpartylicenses.txt +24 -26
- package/app/440.8511cd78532f4574.js +1 -0
- package/app/452.0982bee5def634f6.js +1 -0
- package/app/530.44d553dfd6ce8fc8.js +1 -0
- package/app/{556.5033ab36ba762f73.js → 556.94001d9d24240c80.js} +1 -1
- package/app/{614.ba133678daaf0cc3.js → 614.ef58b32a915591d7.js} +1 -1
- package/app/943.86324114c9395c19.js +1 -0
- package/app/index.html +3 -3
- package/app/main.cc5f52035feca038.js +1 -0
- package/app/polyfills.8deb6560698273f6.js +1 -0
- package/app/{runtime.cbd43258d4964074.js → runtime.e0964167505b0cf2.js} +1 -1
- package/package.json +2 -2
- package/admin/main.5c734652e18e168e.js +0 -1
- package/admin/polyfills.ebfd5e8553811e2d.js +0 -1
- package/app/142.0745dd3934719d3b.js +0 -1
- package/app/195.1e4997e55f480cbe.js +0 -1
- package/app/24.46e40c525cb998d6.js +0 -1
- package/app/278.49127071e8cd6bde.js +0 -1
- package/app/530.674789f19945632c.js +0 -1
- package/app/829.513177f468e3a3bd.js +0 -1
- package/app/943.de9935d94f916e43.js +0 -1
- package/app/main.e7db44be6deda1bb.js +0 -1
- package/app/polyfills.ed54dbbfb8606c29.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[211],{11716:(b,p,n)=>{n.d(p,{O:()=>s});var t=n(33568),u=n(84945),g=n(64537),f=n(1584);let s=(()=>{class l{constructor(M){this.service=M}resolve(M,v){return this.service.getMyself().pipe((0,t.K)(()=>(0,u.of)(null)))}}return l.\u0275fac=function(M){return new(M||l)(g.LFG(f.K))},l.\u0275prov=g.Yz7({token:l,factory:l.\u0275fac,providedIn:"root"}),l})()},864:(b,p,n)=>{n.d(p,{k:()=>v});var t=n(64537),u=n(35732),g=n(5998),f=n(88692),s=n(83331);function l(c,h){if(1&c&&t._UZ(0,"img",2),2&c){const e=t.oxw();t.Q6J("src",e.data||e.url,t.LSH)("width",e.avatarWidth)("height",e.avatarHeight)}}const _=function(c){return{"font-size":c}};function M(c,h){if(1&c&&(t.TgZ(0,"mat-icon",3),t._uU(1,"account_circle"),t.qZA()),2&c){const e=t.oxw();t.Udp("width",e.avatarWidth+"px")("height",e.avatarHeight+"px"),t.Q6J("ngStyle",t.VKq(5,_,e.avatarHeight+"px"))}}let v=(()=>{class c{constructor(e,i){this.httpClient=e,this.sanitizer=i,this.avatarWidth=40,this.avatarHeight=40,this.url=null}ngOnChanges(e){if(e.file&&this.file){if(window.FileReader){const i=new FileReader;i.onload=(d=>m=>{this.data=m.target.result})(),i.readAsDataURL(e.file.currentValue)}}else e.user&&this.user&&this.fetchAvatar()}fetchAvatar(){this.httpClient.get(`/api/users/${this.user.id}/avatar`,{responseType:"blob"}).subscribe({next:i=>{this.url=this.sanitizer.bypassSecurityTrustUrl(URL.createObjectURL(i))},error:i=>{404===i.status?console.warn("Avatar not found (404). Using fallback."):console.error("Error fetching avatar:",i),this.url="/assets/images/baseline-account_circle-24px.svg"}})}}return c.\u0275fac=function(e){return new(e||c)(t.Y36(u.eN),t.Y36(g.H7))},c.\u0275cmp=t.Xpm({type:c,selectors:[["user-avatar"]],inputs:{user:"user",file:"file",avatarWidth:"avatarWidth",avatarHeight:"avatarHeight"},features:[t.TTD],decls:2,vars:2,consts:[["class","avatar",3,"src","width","height",4,"ngIf"],["class","icon",3,"ngStyle","width","height",4,"ngIf"],[1,"avatar",3,"src","width","height"],[1,"icon",3,"ngStyle"]],template:function(e,i){1&e&&(t.YNc(0,l,1,3,"img",0),t.YNc(1,M,2,7,"mat-icon",1)),2&e&&(t.Q6J("ngIf",i.data||i.url),t.xp6(1),t.Q6J("ngIf",!i.data&&!i.url))},dependencies:[f.O5,f.PC,s.Hw],styles:[".avatar[_ngcontent-%COMP%]{border-radius:50%;overflow:hidden;background:#FFFFFF;vertical-align:middle}.icon[_ngcontent-%COMP%]{vertical-align:middle;color:#0006}"]}),c})()},93390:(b,p,n)=>{n.d(p,{l:()=>f});var t=n(88692),u=n(83331),g=n(64537);let f=(()=>{class s{}return s.\u0275fac=function(_){return new(_||s)},s.\u0275mod=g.oAB({type:s}),s.\u0275inj=g.cJS({imports:[t.ez,u.Ps]}),s})()},11997:(b,p,n)=>{n.d(p,{G2:()=>d,QW:()=>w,a8:()=>A,dk:()=>T,dn:()=>v,hq:()=>e,kc:()=>y,n5:()=>c,rt:()=>i});var t=n(64537),u=n(1379);const g=["*",[["mat-card-footer"]]],f=["*","mat-card-footer"],s=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],l=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"];let v=(()=>{class a{}return a.\u0275fac=function(o){return new(o||a)},a.\u0275dir=t.lG2({type:a,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]}),a})(),c=(()=>{class a{}return a.\u0275fac=function(o){return new(o||a)},a.\u0275dir=t.lG2({type:a,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-card-title"]}),a})(),e=(()=>{class a{constructor(){this.align="start"}}return a.\u0275fac=function(o){return new(o||a)},a.\u0275dir=t.lG2({type:a,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-card-actions"],hostVars:2,hostBindings:function(o,C){2&o&&t.ekj("mat-card-actions-align-end","end"===C.align)},inputs:{align:"align"},exportAs:["matCardActions"]}),a})(),i=(()=>{class a{}return a.\u0275fac=function(o){return new(o||a)},a.\u0275dir=t.lG2({type:a,selectors:[["mat-card-footer"]],hostAttrs:[1,"mat-card-footer"]}),a})(),d=(()=>{class a{}return a.\u0275fac=function(o){return new(o||a)},a.\u0275dir=t.lG2({type:a,selectors:[["","mat-card-image",""],["","matCardImage",""]],hostAttrs:[1,"mat-card-image"]}),a})(),y=(()=>{class a{}return a.\u0275fac=function(o){return new(o||a)},a.\u0275dir=t.lG2({type:a,selectors:[["","mat-card-avatar",""],["","matCardAvatar",""]],hostAttrs:[1,"mat-card-avatar"]}),a})(),A=(()=>{class a{constructor(o){this._animationMode=o}}return a.\u0275fac=function(o){return new(o||a)(t.Y36(t.QbO,8))},a.\u0275cmp=t.Xpm({type:a,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(o,C){2&o&&t.ekj("_mat-animation-noopable","NoopAnimations"===C._animationMode)},exportAs:["matCard"],ngContentSelectors:f,decls:2,vars:0,template:function(o,C){1&o&&(t.F$t(g),t.Hsn(0),t.Hsn(1,1))},styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:block;position:relative;padding:16px;border-radius:4px}.mat-card._mat-animation-noopable{transition:none !important;animation:none !important}.mat-card>.mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card>.mat-divider-horizontal{left:auto;right:0}.mat-card>.mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card>.mat-divider-horizontal.mat-divider-inset{margin-right:0}.cdk-high-contrast-active .mat-card{outline:solid 1px}.mat-card-actions,.mat-card-subtitle,.mat-card-content{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px;display:block;overflow:hidden}.mat-card-image img{width:100%}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media(max-width: 599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card>:first-child,.mat-card-content>:first-child{margin-top:0}.mat-card>:last-child:not(.mat-card-footer),.mat-card-content>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions:not(.mat-card-actions-align-end) .mat-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-raised-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-actions-align-end .mat-button:last-child,.mat-card-actions-align-end .mat-raised-button:last-child,.mat-card-actions-align-end .mat-stroked-button:last-child{margin-left:0;margin-right:0}.mat-card-title:not(:first-child),.mat-card-subtitle:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}"],encapsulation:2,changeDetection:0}),a})(),T=(()=>{class a{}return a.\u0275fac=function(o){return new(o||a)},a.\u0275cmp=t.Xpm({type:a,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-card-header"],ngContentSelectors:l,decls:4,vars:0,consts:[[1,"mat-card-header-text"]],template:function(o,C){1&o&&(t.F$t(s),t.Hsn(0),t.TgZ(1,"div",0),t.Hsn(2,1),t.qZA(),t.Hsn(3,2))},encapsulation:2,changeDetection:0}),a})(),w=(()=>{class a{}return a.\u0275fac=function(o){return new(o||a)},a.\u0275mod=t.oAB({type:a}),a.\u0275inj=t.cJS({imports:[u.BQ,u.BQ]}),a})()},25295:(b,p,n)=>{n.d(p,{Ye:()=>v,g0:()=>h,rD:()=>M});var t=n(64537),u=n(1379),g=n(36321),f=n(88692);const s=["*",[["mat-toolbar-row"]]],l=["*","mat-toolbar-row"],_=(0,u.pj)(class{constructor(e){this._elementRef=e}});let M=(()=>{class e{}return e.\u0275fac=function(d){return new(d||e)},e.\u0275dir=t.lG2({type:e,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),e})(),v=(()=>{class e extends _{constructor(d,m,x){super(d),this._platform=m,this._document=x}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return e.\u0275fac=function(d){return new(d||e)(t.Y36(t.SBq),t.Y36(g.t4),t.Y36(f.K0))},e.\u0275cmp=t.Xpm({type:e,selectors:[["mat-toolbar"]],contentQueries:function(d,m,x){if(1&d&&t.Suo(x,M,5),2&d){let D;t.iGM(D=t.CRH())&&(m._toolbarRows=D)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(d,m){2&d&&t.ekj("mat-toolbar-multiple-rows",m._toolbarRows.length>0)("mat-toolbar-single-row",0===m._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[t.qOj],ngContentSelectors:l,decls:2,vars:0,template:function(d,m){1&d&&(t.F$t(s),t.Hsn(0),t.Hsn(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}"],encapsulation:2,changeDetection:0}),e})(),h=(()=>{class e{}return e.\u0275fac=function(d){return new(d||e)},e.\u0275mod=t.oAB({type:e}),e.\u0275inj=t.cJS({imports:[u.BQ,u.BQ]}),e})()}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[24],{46605:(Qt,st,C)=>{C.d(st,{O:()=>q});class t{constructor(_,x,D){this._statusMessage=_,this._identifier=x,this._strategy=D,this._subject="",this._body=""}get subject(){return this._subject}get body(){return this._body}build(){const _=this._statusMessage.toUpperCase();this._subject=_.includes("DEVICE")?_.includes("REGISTER")?"Please approve my device":"Device ID issue":_.includes("APPROVED")||_.includes("ACTIVATE")?"Please activate my Mage account":_.includes("DISABLED")?"Please enable my Mage account":_.includes("LOCKED")?"Please unlock my Mage account":_.includes("CAPTCHA")?"Mage CAPTCHA issue":_.includes("EVENT")?"Please add me to a Mage event":"Mage signin issue",this._identifier&&(this._subject+=" - "+this._identifier,this._body+="Identifier (username or device id): "+this._identifier+"\n"),this._body+="Error Message Received: "+this._statusMessage}}class q{static emailLink(_,x,D,at){let I;if(_&&_.email){const k=new t(x,D,at);k.build(),I="mailto:"+encodeURIComponent(_.email),I+="?subject="+encodeURIComponent(k.subject),I+="&body="+encodeURIComponent(k.body)}return I}static phoneLink(_){let x;return _&&_.phone&&(x="tel:"+_.phone),x}}},19241:(Qt,st,C)=>{C.d(st,{t:()=>yt});var t=C(64537),q=C(9638),L=(()=>{return(i=L||(L={}))[i.ACCEPT=0]="ACCEPT",i[i.REJECT=1]="REJECT",L;var i})();let _=(()=>{class i{constructor(){this.close=new t.vpe}onAccept(){this.close.emit({reason:L.ACCEPT})}onReject(){this.close.emit({reason:L.REJECT})}}return i.\u0275fac=function(r){return new(r||i)},i.\u0275cmp=t.Xpm({type:i,selectors:[["disclaimer"]],inputs:{title:"title",text:"text"},outputs:{close:"close"},decls:12,vars:2,consts:[[1,"container"],[1,"header"],[1,"header__title"],[1,"disclaimer"],[1,"disclaimer__text"],[1,"actions"],["mat-stroked-button","",1,"actions__button",3,"click"],["mat-flat-button","","color","primary",1,"actions__button",3,"click"]],template:function(r,a){1&r&&(t.TgZ(0,"div",0)(1,"div",1)(2,"div",2),t._uU(3),t.qZA()(),t.TgZ(4,"div",3)(5,"div",4),t._uU(6),t.qZA()(),t.TgZ(7,"div",5)(8,"button",6),t.NdJ("click",function(){return a.onReject()}),t._uU(9,"Exit"),t.qZA(),t.TgZ(10,"button",7),t.NdJ("click",function(){return a.onAccept()}),t._uU(11,"Accept"),t.qZA()()()),2&r&&(t.xp6(3),t.Oqu(a.title),t.xp6(3),t.Oqu(a.text))},dependencies:[q.lW],styles:[".container[_ngcontent-%COMP%]{height:100%;display:flex;flex-direction:column;gap:48px}.header[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:end;height:30vh}.header__title[_ngcontent-%COMP%]{font:400 34px/40px Roboto,Helvetica Neue,sans-serif;color:#1e88e5;margin-bottom:16px}.disclaimer[_ngcontent-%COMP%]{overflow-y:scroll}.disclaimer__text[_ngcontent-%COMP%]{font:400 16px/20px Roboto,Helvetica Neue,sans-serif;margin-bottom:32px;opacity:60%}.actions[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:start;width:100%;gap:16px}.actions__button[_ngcontent-%COMP%]{flex:1}"]}),i})();var x=C(14091),D=C(1584),at=C(38159),I=C(88692);let k=(()=>{class i{constructor(){this.complete=new t.vpe}ngOnChanges(r){!0===r.active.currentValue?(this.icon="check_circle",this.color="#4CAF50",this.title="Account Created",this.message="Your account has been successfully created."):!1===r.active.currentValue&&(this.icon="preliminary",this.color="#FFA000",this.title="Account Pending",this.message="Your account has been successfully created. A Mage administrator will need to activate your account before you can log in.")}onDone(){this.complete.emit()}}return i.\u0275fac=function(r){return new(r||i)},i.\u0275cmp=t.Xpm({type:i,selectors:[["account-status"]],inputs:{active:"active"},outputs:{complete:"complete"},features:[t.TTD],decls:10,vars:5,consts:[[1,"content"],[1,"material-symbols-outlined","icon"],[1,"title"],[1,"actions"],["mat-flat-button","","color","primary",1,"actions__button",3,"click"]],template:function(r,a){1&r&&(t.TgZ(0,"div",0)(1,"span",1),t._uU(2),t.qZA(),t.TgZ(3,"div",2),t._uU(4),t.qZA(),t.TgZ(5,"p"),t._uU(6),t.qZA()(),t.TgZ(7,"div",3)(8,"button",4),t.NdJ("click",function(){return a.onDone()}),t._uU(9,"Return to Login"),t.qZA()()),2&r&&(t.xp6(1),t.Udp("color",a.color),t.xp6(1),t.Oqu(a.icon),t.xp6(2),t.Oqu(a.title),t.xp6(2),t.Oqu(a.message))},dependencies:[q.lW],styles:['.content[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;text-align:center;width:500px}.title[_ngcontent-%COMP%]{font:400 20px/32px Roboto,Helvetica Neue,sans-serif}.icon[_ngcontent-%COMP%]{font-size:96px;font-variation-settings:"fill" 0,"wght" 200,"grad" 0,"opsz" 96;margin-bottom:32px}.icon--active[_ngcontent-%COMP%]{color:#4caf50}.icon-inactive[_ngcontent-%COMP%]{color:red}.actions[_ngcontent-%COMP%]{width:100%;display:flex;flex-direction:row;margin-top:32px}.actions__button[_ngcontent-%COMP%]{flex:1}']}),i})();var ct=C(56328);function K(i,d){if(1&i&&(t.TgZ(0,"div",5),t._UZ(1,"img",6),t.qZA()),2&i){const r=t.oxw();t.xp6(1),t.Q6J("src","data:image/png;base64,"+r.icon,t.LSH)}}function mt(i,d){1&i&&t._UZ(0,"div",7)}const pt=function(i){return{"background-color":i}},P=function(i){return{color:i}};let X=(()=>{class i{constructor(){this.click=new t.vpe}onClick(){this.click.emit()}}return i.\u0275fac=function(r){return new(r||i)},i.\u0275cmp=t.Xpm({type:i,selectors:[["authentication-button"]],inputs:{icon:"icon",color:"color",text:"text",textColor:"textColor"},outputs:{click:"click"},decls:6,vars:10,consts:[["mat-flat-button","","color","primary",1,"authentication-button",3,"click"],[1,"authentication-button-container"],["class","authentication-button__icon",4,"ngIf"],[1,"authentication-button__text",3,"ngStyle"],["class","spacer",4,"ngIf"],[1,"authentication-button__icon"],[1,"authentication-button__image",3,"src"],[1,"spacer"]],template:function(r,a){1&r&&(t.TgZ(0,"button",0),t.NdJ("click",function(){return a.onClick()}),t.TgZ(1,"div",1),t.YNc(2,K,2,1,"div",2),t.TgZ(3,"div",3),t._uU(4),t.qZA(),t.YNc(5,mt,1,0,"div",4),t.qZA()()),2&r&&(t.Akn(t.VKq(6,pt,a.color)),t.xp6(2),t.Q6J("ngIf",a.icon),t.xp6(1),t.Q6J("ngStyle",t.VKq(8,P,a.textColor)),t.xp6(1),t.hij("Continue with ",a.text,""),t.xp6(1),t.Q6J("ngIf",a.icon))},dependencies:[I.O5,I.PC,q.lW],styles:[".authentication-button[_ngcontent-%COMP%]{width:100%}.authentication-button-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;gap:8px;margin:0 -16px}.authentication-button__icon[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;margin:2px;width:36px;border-radius:2px;background-color:#fff}.authentication-button__image[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;margin:2px;height:28px;border-radius:2px;background-color:#fff}.authentication-button__text[_ngcontent-%COMP%]{flex:1;width:250px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.spacer[_ngcontent-%COMP%]{margin:2px;width:36px}"]}),i})(),E=(()=>{class i{constructor(r){this.userService=r,this.authenticated=new t.vpe}signin(){this.userService.idpSignin(this.strategy.name).subscribe({next:r=>{if(!r.token||!r.user){let a="There was a problem signing in, Please contact a Mage administrator for assistance.";return r.user&&(r.user.active?r.user.enabled||(a="Your account has been disabled, please contact a Mage administrator for assistance."):a="Your account has been created but it is not active. A Mage administrator needs to activate your account before you can log in."),this.error.title="Signin Failed",void(this.error.message=a)}this.authenticated.emit(r)},error:r=>{this.error={title:"Error signing in",message:r.data||"Please check your username and password and try again."}}})}}return i.\u0275fac=function(r){return new(r||i)(t.Y36(D.K))},i.\u0275cmp=t.Xpm({type:i,selectors:[["idp-authentication"]],inputs:{strategy:"strategy"},outputs:{authenticated:"authenticated"},decls:1,vars:4,consts:[[3,"text","textColor","color","icon","click"]],template:function(r,a){1&r&&(t.TgZ(0,"authentication-button",0),t.NdJ("click",function(){return a.signin()}),t.qZA()),2&r&&t.Q6J("text",a.strategy.title)("textColor",a.strategy.textColor)("color",a.strategy.buttonColor)("icon",a.strategy.icon)},dependencies:[X]}),i})();var g=C(20092),ht=C(46605),b=C(88659),j=C(39665);function Tt(i,d){if(1&i&&t._UZ(0,"span",11),2&i){const r=t.oxw(2);t.Q6J("innerHTML",r.contact,t.oJD)}}function R(i,d){if(1&i&&(t.TgZ(0,"div",6)(1,"div",7)(2,"span",8),t._uU(3,"sentiment_dissatisfied"),t.qZA(),t.TgZ(4,"div",9)(5,"div"),t._uU(6),t.YNc(7,Tt,1,1,"span",10),t.qZA()()()()),2&i){const r=t.oxw();t.Q6J("@slide",void 0),t.xp6(6),t.hij("",null==r.error?null:r.error.message," "),t.xp6(1),t.Q6J("ngIf",r.contact)}}let nt=(()=>{class i{constructor(r){this.userService=r,this.authenticated=new t.vpe,this.authenticationForm=new g.cw({username:new g.NI("",[g.kI.required]),password:new g.NI("",[g.kI.required])})}onSignin(){if(this.authenticationForm.invalid)return;const{username:r,password:a}=this.authenticationForm.value;this.userService.ldapSignin(r,a).subscribe({next:p=>{this.authenticated.emit(p)},error:p=>{this.error={title:"Error Signing In",message:p.error||"Please check your username and password and try again."};const y=ht.O.emailLink(this.api.contactInfo,p.error,r,this.strategy),Q=ht.O.phoneLink(this.api.contactInfo);this.contact=`Should you need futher assistance you may contact your Mage administrator via ${[`<a href=${y}>email</a>`,`<a href=${Q}>phone</a>`].join(" or ")}.`}})}}return i.\u0275fac=function(r){return new(r||i)(t.Y36(D.K))},i.\u0275cmp=t.Xpm({type:i,selectors:[["ldap-authentication"]],inputs:{api:"api",strategy:"strategy"},outputs:{authenticated:"authenticated"},decls:17,vars:10,consts:[[3,"formGroup","ngSubmit"],["appearance","fill"],["matInput","","formControlName","username","required","",3,"placeholder"],["matInput","","type","password","formControlName","password","required","",3,"placeholder"],[3,"text","textColor","color","icon","click"],["class","error-container",4,"ngIf"],[1,"error-container"],[1,"error"],[1,"material-symbols-outlined","error__icon"],[1,"error__message"],["class","contact",3,"innerHTML",4,"ngIf"],[1,"contact",3,"innerHTML"]],template:function(r,a){1&r&&(t.TgZ(0,"form",0),t.NdJ("ngSubmit",function(){return a.onSignin()}),t.TgZ(1,"div")(2,"mat-form-field",1)(3,"mat-label"),t._uU(4),t.qZA(),t._UZ(5,"input",2),t.TgZ(6,"mat-error"),t._uU(7,"Username is required"),t.qZA()()(),t.TgZ(8,"div")(9,"mat-form-field",1)(10,"mat-label"),t._uU(11),t.qZA(),t._UZ(12,"input",3),t.TgZ(13,"mat-error"),t._uU(14,"Password is required"),t.qZA()()(),t.TgZ(15,"authentication-button",4),t.NdJ("click",function(){return a.onSignin()}),t.qZA(),t.YNc(16,R,8,3,"div",5),t.qZA()),2&r&&(t.Q6J("formGroup",a.authenticationForm),t.xp6(4),t.hij("",a.strategy.title," Username"),t.xp6(1),t.MGl("placeholder","",a.strategy.title," Username"),t.xp6(6),t.hij("",a.strategy.title," Password"),t.xp6(1),t.MGl("placeholder","",a.strategy.title," Password"),t.xp6(3),t.Q6J("text",a.strategy.title)("textColor",a.strategy.textColor)("color",a.strategy.buttonColor)("icon",a.strategy.icon),t.xp6(1),t.Q6J("ngIf",a.error))},dependencies:[I.O5,b.TO,b.KE,b.hX,j.Nt,g._Y,g.Fj,g.JJ,g.JL,g.Q7,g.sg,g.u,X],styles:['[_nghost-%COMP%] a{color:#e53935;cursor:pointer;text-decoration:underline}mat-form-field[_ngcontent-%COMP%]{width:100%;margin-bottom:8px}.auth-button[_ngcontent-%COMP%]{width:100%}.signup[_ngcontent-%COMP%]{display:flex;margin-top:32px;justify-content:center;gap:8px}.signup-text[_ngcontent-%COMP%]{opacity:60%}.signup-button[_ngcontent-%COMP%]{cursor:pointer;color:#1e88e5}.error-container[_ngcontent-%COMP%]{overflow:hidden}.error[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;gap:8px;margin-top:24px;color:#e53935;border-radius:4px;padding:0 16px}.error__icon[_ngcontent-%COMP%]{font-size:48px;font-variation-settings:"fill" 0,"wght" 400,"grad" 0,"opsz" 48}.error__message[_ngcontent-%COMP%]{flex:1;text-align:center}']}),i})();var xt=C(94032),_t=C(82524),At=C(5998);const bt=["errorElement"];function S(i,d){1&i&&(t.TgZ(0,"mat-error"),t._uU(1," Username is required "),t.qZA())}function gt(i,d){1&i&&(t.TgZ(0,"mat-error"),t._uU(1," Password is required "),t.qZA())}function Mt(i,d){if(1&i){const r=t.EpF();t.TgZ(0,"div",8,9),t.NdJ("@slide.done",function(){t.CHM(r);const p=t.oxw();return t.KtG(p.scrollToError())}),t.TgZ(2,"span",10),t._uU(3,"sentiment_dissatisfied"),t.qZA(),t._UZ(4,"div",11),t.qZA()}if(2&i){const r=t.oxw();t.Q6J("@slide",void 0),t.xp6(4),t.Q6J("innerHTML",r.error.message,t.oJD)}}function St(i,d){if(1&i){const r=t.EpF();t.TgZ(0,"div",12)(1,"div")(2,"span",13),t._uU(3,"New to Mage?"),t.qZA(),t.TgZ(4,"a",14),t.NdJ("click",function(){t.CHM(r);const p=t.oxw();return t.KtG(p.onSignup())}),t._uU(5,"Sign Up Now"),t.qZA()(),t.TgZ(6,"div")(7,"span",13),t._uU(8,"Need More Info?"),t.qZA(),t.TgZ(9,"a",14),t.NdJ("click",function(){t.CHM(r);const p=t.oxw();return t.KtG(p.onAboutClick())}),t._uU(10,"About Mage."),t.qZA()()()}}let Nt=(()=>{class i{constructor(r,a,p,y){this.router=r,this.apiService=a,this.userService=p,this.sanitizer=y,this.signup=new t.vpe,this.authenticated=new t.vpe,this.authenticationForm=new g.cw({username:new g.NI("",[g.kI.required]),password:new g.NI("",[g.kI.required])})}ngOnInit(){this.userService.myself&&this.router.navigate(["home"]),this.apiService.getApi().subscribe(r=>{this.api=r})}onSignin(){if(this.authenticationForm.invalid)return;const{username:r,password:a}=this.authenticationForm.value;this.userService.signin(r,a).subscribe({next:p=>{this.authenticated.emit(p)},error:p=>{let y=p.error||"Please check your username and password and try again.";(this.api.contactInfo.email||this.api.contactInfo.phone)&&(y=`${y} Should you need futher assistance you may contact your Mage administrator via ${[`<a href=${ht.O.emailLink(this.api.contactInfo,p.error,r,this.strategy)}>email</a>`,`<a href=${ht.O.phoneLink(this.api.contactInfo)}>phone</a>`].join(" or ")}.`),this.error={title:"Error Signing In",message:this.sanitizer.sanitize(t.q3G.HTML,y)},this.scrollToError()}})}onSignup(){this.signup.emit()}onAboutClick(){this.router.navigate(["about"])}scrollToError(){try{this.errorElement.nativeElement.scrollIntoView({behavior:"smooth"})}catch{}}}return i.\u0275fac=function(r){return new(r||i)(t.Y36(xt.F0),t.Y36(_t.s),t.Y36(D.K),t.Y36(At.H7))},i.\u0275cmp=t.Xpm({type:i,selectors:[["local-authentication"]],viewQuery:function(r,a){if(1&r&&t.Gf(bt,5),2&r){let p;t.iGM(p=t.CRH())&&(a.errorElement=p.first)}},inputs:{api:"api",strategy:"strategy",landing:"landing"},outputs:{signup:"signup",authenticated:"authenticated"},decls:15,vars:5,consts:[[1,"auth-form",3,"formGroup","ngSubmit"],["appearance","fill",1,"auth-form__field"],["matInput","","formControlName","username","required","","placeholder","Enter your username"],[4,"ngIf"],["matInput","","type","password","formControlName","password","required","","placeholder","Enter your password"],["mat-flat-button","","color","primary","type","submit",1,"auth-form__button"],["class","auth-form__error",4,"ngIf"],["class","auth-form__footer",4,"ngIf"],[1,"auth-form__error"],["errorElement",""],[1,"material-symbols-outlined","auth-form__error-icon"],[1,"auth-form__error-message",3,"innerHTML"],[1,"auth-form__footer"],[1,"auth-form__footer-text"],[1,"auth-form__footer-link",3,"click"]],template:function(r,a){if(1&r&&(t.TgZ(0,"form",0),t.NdJ("ngSubmit",function(){return a.onSignin()}),t.TgZ(1,"mat-form-field",1)(2,"mat-label"),t._uU(3,"Username"),t.qZA(),t._UZ(4,"input",2),t.YNc(5,S,2,0,"mat-error",3),t.qZA(),t.TgZ(6,"mat-form-field",1)(7,"mat-label"),t._uU(8,"Password"),t.qZA(),t._UZ(9,"input",4),t.YNc(10,gt,2,0,"mat-error",3),t.qZA(),t.TgZ(11,"button",5),t._uU(12," Sign In "),t.qZA(),t.YNc(13,Mt,5,2,"div",6),t.YNc(14,St,11,0,"div",7),t.qZA()),2&r){let p,y;t.Q6J("formGroup",a.authenticationForm),t.xp6(5),t.Q6J("ngIf",null==(p=a.authenticationForm.get("username"))?null:p.hasError("required")),t.xp6(5),t.Q6J("ngIf",null==(y=a.authenticationForm.get("password"))?null:y.hasError("required")),t.xp6(3),t.Q6J("ngIf",a.error),t.xp6(1),t.Q6J("ngIf",a.landing)}},dependencies:[I.O5,q.lW,b.TO,b.KE,b.hX,j.Nt,g._Y,g.Fj,g.JJ,g.JL,g.Q7,g.sg,g.u],styles:['.auth-form[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:16px}.auth-form__field[_ngcontent-%COMP%], .auth-form__button[_ngcontent-%COMP%]{width:100%}.auth-form__error[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;gap:12px;margin:24px 0;padding:16px;border-radius:4px;background-color:#ffebee;color:#b71c1c;overflow:hidden}.auth-form__error-icon[_ngcontent-%COMP%]{font-size:48px;font-variation-settings:"fill" 0,"wght" 400,"grad" 0,"opsz" 48}.auth-form__error-message[_ngcontent-%COMP%]{text-align:center}.auth-form__footer[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;gap:100px;margin-top:32px;flex-wrap:wrap;text-align:center}.auth-form__footer[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{display:flex;gap:15px}.auth-form__footer-text[_ngcontent-%COMP%]{opacity:.6}.auth-form__footer-link[_ngcontent-%COMP%]{color:#1e88e5;cursor:pointer;text-decoration:underline;font-weight:500}.auth-form__footer-link[_ngcontent-%COMP%]:hover{text-decoration:none}[_nghost-%COMP%] a{color:#e53935;cursor:pointer;text-decoration:underline}'],data:{animation:[(0,x.X$)("slide",[(0,x.eR)(":enter",[(0,x.oB)({height:"0px",opacity:0}),(0,x.jt)("250ms ease-out",(0,x.oB)({height:"*",opacity:1}))]),(0,x.eR)(":leave",[(0,x.jt)("250ms ease-out",(0,x.oB)({height:"0px",opacity:0}))])])]}}),i})();function Dt(i,d){1&i&&(t.TgZ(0,"div",7)(1,"div",8),t._uU(2,"Welcome to Mage"),t.qZA(),t.TgZ(3,"div",9),t._uU(4,"Sign in to your account"),t.qZA()())}function Ut(i,d){if(1&i){const r=t.EpF();t.TgZ(0,"local-authentication",10),t.NdJ("signup",function(){t.CHM(r);const p=t.oxw();return t.KtG(p.onSignup())})("authenticated",function(p){t.CHM(r);const y=t.oxw();return t.KtG(y.signin(p))}),t.qZA()}if(2&i){const r=t.oxw();t.Q6J("landing",r.landing)}}function A(i,d){1&i&&(t.TgZ(0,"div")(1,"div",11),t._UZ(2,"div",12),t.TgZ(3,"div",13),t._uU(4,"or"),t.qZA(),t._UZ(5,"div",12),t.qZA()())}function F(i,d){if(1&i){const r=t.EpF();t.TgZ(0,"idp-authentication",16),t.NdJ("authenticated",function(p){t.CHM(r);const y=t.oxw(2);return t.KtG(y.signin(p))}),t.qZA()}if(2&i){const r=t.oxw().$implicit;t.Q6J("strategy",r)}}function h(i,d){if(1&i){const r=t.EpF();t.TgZ(0,"idp-authentication",16),t.NdJ("authenticated",function(p){t.CHM(r);const y=t.oxw(2);return t.KtG(y.signin(p))}),t.qZA()}if(2&i){const r=t.oxw().$implicit;t.Q6J("strategy",r)}}function f(i,d){if(1&i){const r=t.EpF();t.TgZ(0,"idp-authentication",16),t.NdJ("authenticated",function(p){t.CHM(r);const y=t.oxw(2);return t.KtG(y.signin(p))}),t.qZA()}if(2&i){const r=t.oxw().$implicit;t.Q6J("strategy",r)}}function v(i,d){if(1&i){const r=t.EpF();t.TgZ(0,"ldap-authentication",16),t.NdJ("authenticated",function(p){t.CHM(r);const y=t.oxw(2);return t.KtG(y.signin(p))}),t.qZA()}if(2&i){const r=t.oxw().$implicit;t.Q6J("strategy",r)}}function O(i,d){if(1&i&&(t.TgZ(0,"div"),t.ynx(1,14),t.YNc(2,F,1,1,"idp-authentication",15),t.YNc(3,h,1,1,"idp-authentication",15),t.YNc(4,f,1,1,"idp-authentication",15),t.YNc(5,v,1,1,"ldap-authentication",15),t.BQk(),t.qZA()),2&i){const r=d.$implicit;t.xp6(1),t.Q6J("ngSwitch",null==r?null:r.type),t.xp6(1),t.Q6J("ngSwitchCase","oauth"),t.xp6(1),t.Q6J("ngSwitchCase","saml"),t.xp6(1),t.Q6J("ngSwitchCase","openidconnect"),t.xp6(1),t.Q6J("ngSwitchCase","ldap")}}let Z=(()=>{class i{constructor(){this.landing=!1,this.signup=new t.vpe,this.authenticated=new t.vpe}ngOnChanges(r){r.api&&(this.api=r.api.currentValue,this.localAuthenticationStrategy=this.api?.authenticationStrategies.local,this.localAuthenticationStrategy&&(this.localAuthenticationStrategy.name="local"),this.thirdPartyStrategies=ct.UI(ct.CE(this.api?.authenticationStrategies,this.localStrategyFilter),function(a,p){return a.name=p,a}))}localStrategyFilter(r,a){return"local"===a}signin(r){this.authenticated.emit(r)}onSignup(){this.signup.emit()}}return i.\u0275fac=function(r){return new(r||i)},i.\u0275cmp=t.Xpm({type:i,selectors:[["authentication"]],inputs:{api:"api",landing:"landing"},outputs:{signup:"signup",authenticated:"authenticated"},features:[t.TTD],decls:7,vars:4,consts:[[1,"signin-container"],["class","welcome",4,"ngIf"],[1,"authentications"],["strategy","localAuthenticationStrategy",3,"landing","signup","authenticated",4,"ngIf"],[4,"ngIf"],[1,"strategies"],[4,"ngFor","ngForOf"],[1,"welcome"],[1,"welcome__title"],[1,"welcome__message"],["strategy","localAuthenticationStrategy",3,"landing","signup","authenticated"],[1,"or"],[1,"or__divider"],[1,"or__text"],[3,"ngSwitch"],[3,"strategy","authenticated",4,"ngSwitchCase"],[3,"strategy","authenticated"]],template:function(r,a){1&r&&(t.TgZ(0,"div",0),t.YNc(1,Dt,5,0,"div",1),t.TgZ(2,"div",2),t.YNc(3,Ut,1,1,"local-authentication",3),t.YNc(4,A,6,0,"div",4),t.TgZ(5,"div",5),t.YNc(6,O,6,5,"div",6),t.qZA()()()),2&r&&(t.xp6(1),t.Q6J("ngIf",a.landing),t.xp6(2),t.Q6J("ngIf",a.localAuthenticationStrategy),t.xp6(1),t.Q6J("ngIf",a.localAuthenticationStrategy&&a.thirdPartyStrategies.length),t.xp6(2),t.Q6J("ngForOf",a.thirdPartyStrategies))},dependencies:[I.sg,I.O5,I.RF,I.n9,E,nt,Nt],styles:["[_nghost-%COMP%]{height:100%;width:100%}.authentications[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:start}.signin-container[_ngcontent-%COMP%]{height:100%;display:flex;flex-direction:column;gap:48px}.welcome[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:end;color:#1e88e5;height:30vh}.welcome__title[_ngcontent-%COMP%]{margin-bottom:16px;font:400 45px/48px Roboto,Helvetica Neue,sans-serif}.welcome__message[_ngcontent-%COMP%]{font:500 20px/32px Roboto,Helvetica Neue,sans-serif}.or[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;gap:8px;margin:36px 0}.or__text[_ngcontent-%COMP%]{opacity:.6}.or__divider[_ngcontent-%COMP%]{flex:1;height:2px;background-color:#00000026;border-radius:1px}.strategies[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:16px}"]}),i})();function tt(i,d){1&i&&(t.TgZ(0,"mat-error"),t._uU(1,"Invalid access code"),t.qZA())}let it=(()=>{class i{constructor(r){this.userService=r,this.authorized=new t.vpe,this.deviceId=new g.NI("",[g.kI.required])}authorize(){this.deviceId.setErrors(null),this.userService.authorize(this.token,this.deviceId.value).subscribe({next:r=>{this.authorized.emit({token:r.token})},error:()=>{this.deviceId.setErrors({invalid:!0})}})}}return i.\u0275fac=function(r){return new(r||i)(t.Y36(D.K))},i.\u0275cmp=t.Xpm({type:i,selectors:[["authorization"]],inputs:{token:"token"},outputs:{authorized:"authorized"},decls:15,vars:2,consts:[[1,"authorization"],[1,"header"],[1,"header__title"],[1,"header__message"],["appearance","fill"],["matInput","","placeholder","Access Code","type","deviceId","required","",3,"formControl","keydown.enter"],[4,"ngIf"],[1,"authorize"],["mat-flat-button","","color","primary",3,"click"]],template:function(r,a){1&r&&(t.TgZ(0,"div",0)(1,"div",1)(2,"div",2),t._uU(3,"Access Code"),t.qZA(),t.TgZ(4,"div",3),t._uU(5,"Please enter your Mage access code. If you do not have an access code please ask you Mage administrator to provide you with one."),t.qZA()(),t.TgZ(6,"div")(7,"mat-form-field",4)(8,"mat-label"),t._uU(9,"Access Code"),t.qZA(),t.TgZ(10,"input",5),t.NdJ("keydown.enter",function(){return a.authorize()}),t.qZA(),t.YNc(11,tt,2,0,"mat-error",6),t.qZA()(),t.TgZ(12,"div",7)(13,"button",8),t.NdJ("click",function(){return a.authorize()}),t._uU(14,"Continue to Mage"),t.qZA()()()),2&r&&(t.xp6(10),t.Q6J("formControl",a.deviceId),t.xp6(1),t.Q6J("ngIf",a.deviceId.hasError("invalid")))},dependencies:[I.O5,q.lW,b.TO,b.KE,b.hX,j.Nt,g.Fj,g.JJ,g.Q7,g.oH],styles:["[_nghost-%COMP%]{width:100%}.authorization[_ngcontent-%COMP%]{height:100%;display:flex;flex-direction:column;gap:48px}.header[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:end;height:30vh}.header__title[_ngcontent-%COMP%]{font:400 34px/40px Roboto,Helvetica Neue,sans-serif;color:#1e88e5;margin-bottom:16px}.header__message[_ngcontent-%COMP%]{font:400 16px/20px Roboto,Helvetica Neue,sans-serif;margin-bottom:32px;opacity:60%}.authorize[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}mat-form-field[_ngcontent-%COMP%]{width:100%}"]}),i})();var $=C(25022),Y=C(332),J=C(24411),B=C(48287),ot=C(80068),Ht=C(35732),Kt=C(96213);let Gt=(()=>{class i{constructor(r){this.httpClient=r}initialize(r,a,p){return this.httpClient.post("/api/setup",{username:r,password:a,passwordconfirm:a,uid:p},{context:(new Ht.qT).set(Kt.h,!0)})}}return i.\u0275fac=function(r){return new(r||i)(t.LFG(Ht.eN))},i.\u0275prov=t.Yz7({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();var qt=C(40827);function Vt(i,d){1&i&&(t.TgZ(0,"mat-error"),t._uU(1,"Password is required"),t.qZA())}function It(i,d){1&i&&(t.TgZ(0,"mat-error"),t._uU(1,"Passwords must match"),t.qZA())}function _e(i,d){1&i&&(t.TgZ(0,"mat-error"),t._uU(1,"Password confirmation is required"),t.qZA())}function ge(i,d){if(1&i&&(t.TgZ(0,"div",19)(1,"div",20)(2,"span",21),t._uU(3,"sentiment_dissatisfied"),t.qZA(),t.TgZ(4,"div",22)(5,"div"),t._uU(6),t.qZA(),t.TgZ(7,"div"),t._uU(8),t.qZA()()()()),2&i){const r=t.oxw();t.Q6J("@slide",void 0),t.xp6(6),t.Oqu(null==r.error?null:r.error.title),t.xp6(2),t.Oqu(null==r.error?null:r.error.message)}}let ve=(()=>{class i{constructor(r,a){this.userService=r,this.initializeService=a,this.initialized=new t.vpe,this.accountForm=new g.cw({username:new g.NI("",[g.kI.required]),password:new g.NI("",[g.kI.required]),passwordconfirm:new g.NI("",[g.kI.required]),accessCode:new g.NI("",[g.kI.required])}),this.accountForm.controls.password.valueChanges.subscribe(p=>{this.onPasswordChanged(p)})}ngOnInit(){Y.Mu.setOptions({dictionary:{...J.F,...B.F},graphs:J.x,translations:ot.Z})}onPasswordChanged(r){if(r&&r.length>0){const a=r&&r.length?(0,Y.tu)(r,[this.accountForm.value.username]).score:0;this.passwordStrength=$.A[a]}else this.passwordStrength=$.A[0]}onInitialize(){const{username:r,password:a,passwordconfirm:p,accessCode:y}=this.accountForm.value;this.accountForm.controls.password.setErrors(a!==p?{match:!0}:a.length<1?{required:!0}:null),this.accountForm.markAllAsTouched(),!this.accountForm.invalid&&this.initializeService.initialize(r,a,y).subscribe({next:()=>{this.userService.signin(r,a).subscribe({next:Q=>{this.userService.authorize(Q.token,y).subscribe({next:et=>{this.initialized.emit({token:et.token})}})}})},error:Q=>{this.error={title:"Could not create account",message:Q.error}}})}}return i.\u0275fac=function(r){return new(r||i)(t.Y36(D.K),t.Y36(Gt))},i.\u0275cmp=t.Xpm({type:i,selectors:[["initialize"]],outputs:{initialized:"initialized"},decls:47,vars:7,consts:[[1,"container"],[1,"welcome"],[1,"welcome__title"],[1,"welcome__message"],[1,"form",3,"formGroup","ngSubmit"],["appearance","fill"],["matInput","","placeholder","Username","formControlName","username","required",""],["matInput","","placeholder","Password","type","password","formControlName","password","required",""],[4,"ngIf"],["matInput","","placeholder","Confirm Password","type","password","formControlName","passwordconfirm","required",""],[1,"password-strength"],[1,"password-strength__text"],[1,"mat-body-1"],[1,"mat-body-2"],["mode","determinate",3,"value"],["matInput","","placeholder","Access Code","type","text","formControlName","accessCode","required",""],[1,"actions"],["mat-flat-button","","color","primary",1,"actions__button"],["class","error-container",4,"ngIf"],[1,"error-container"],[1,"error"],[1,"material-symbols-outlined","error__icon"],[1,"error__message"]],template:function(r,a){1&r&&(t.TgZ(0,"div",0)(1,"div",1)(2,"div",2),t._uU(3,"Admin Account Creation"),t.qZA(),t.TgZ(4,"div",3),t._uU(5,"Create an account to access and administor Mage"),t.qZA()(),t.TgZ(6,"form",4),t.NdJ("ngSubmit",function(){return a.onInitialize()}),t.TgZ(7,"div")(8,"mat-form-field",5)(9,"mat-label"),t._uU(10,"Username"),t.qZA(),t._UZ(11,"input",6),t.TgZ(12,"mat-error"),t._uU(13,"Username is required"),t.qZA()()(),t.TgZ(14,"div")(15,"mat-form-field",5)(16,"mat-label"),t._uU(17,"Password"),t.qZA(),t._UZ(18,"input",7),t.YNc(19,Vt,2,0,"mat-error",8),t.YNc(20,It,2,0,"mat-error",8),t.qZA()(),t.TgZ(21,"div")(22,"mat-form-field",5)(23,"mat-label"),t._uU(24,"Confirm Password"),t.qZA(),t._UZ(25,"input",9),t.YNc(26,_e,2,0,"mat-error",8),t.qZA()(),t.TgZ(27,"div",10)(28,"div",11)(29,"div",12),t._uU(30,"Password Strengh"),t.qZA(),t.TgZ(31,"div",13),t._uU(32),t.qZA()(),t._UZ(33,"mat-progress-bar",14),t.qZA(),t.TgZ(34,"div")(35,"mat-form-field",5)(36,"mat-label"),t._uU(37,"Access Code"),t.qZA(),t._UZ(38,"input",15),t.TgZ(39,"mat-hint"),t._uU(40,"This code will allow users to access Mage via the web client"),t.qZA(),t.TgZ(41,"mat-error"),t._uU(42,"Access code is required"),t.qZA()()(),t.TgZ(43,"div",16)(44,"button",17),t._uU(45,"Create Account"),t.qZA()(),t.YNc(46,ge,9,3,"div",18),t.qZA()()),2&r&&(t.xp6(6),t.Q6J("formGroup",a.accountForm),t.xp6(13),t.Q6J("ngIf",a.accountForm.controls.password.hasError("required")),t.xp6(1),t.Q6J("ngIf",a.accountForm.controls.password.hasError("match")),t.xp6(6),t.Q6J("ngIf",a.accountForm.controls.passwordconfirm.hasError("required")),t.xp6(6),t.Oqu(null==a.passwordStrength?null:a.passwordStrength.text),t.xp6(1),t.Q6J("value",null==a.passwordStrength?null:a.passwordStrength.value),t.xp6(13),t.Q6J("ngIf",a.error))},dependencies:[I.O5,q.lW,b.TO,b.KE,b.bx,b.hX,j.Nt,qt.pW,g._Y,g.Fj,g.JJ,g.JL,g.Q7,g.sg,g.u],styles:['[_nghost-%COMP%]{width:100%;height:100%}[_nghost-%COMP%] a{color:#e53935;cursor:pointer;text-decoration:underline}mat-form-field[_ngcontent-%COMP%]{width:100%;margin-bottom:16px}.container[_ngcontent-%COMP%]{height:100%;display:flex;flex-direction:column;gap:48px;padding-top:32px}.form[_ngcontent-%COMP%]{padding-bottom:16px}.welcome[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:end;color:#1e88e5;height:30vh}.welcome__title[_ngcontent-%COMP%]{margin-bottom:16px;font:400 45px/48px Roboto,Helvetica Neue,sans-serif}.welcome__message[_ngcontent-%COMP%]{font:500 20px/32px Roboto,Helvetica Neue,sans-serif}.password-strength[_ngcontent-%COMP%]{margin-bottom:32px}.password-strength__text[_ngcontent-%COMP%]{margin-bottom:8px}.actions[_ngcontent-%COMP%]{width:100%;display:flex;flex-direction:row;align-items:center;gap:16px;margin-top:16px}.actions__button[_ngcontent-%COMP%]{flex:1}.error-container[_ngcontent-%COMP%]{overflow:hidden}.error[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;gap:8px;margin-top:24px;color:#e53935;border-radius:4px;padding:0 16px}.error__icon[_ngcontent-%COMP%]{font-size:48px;font-variation-settings:"fill" 0,"wght" 400,"grad" 0,"opsz" 48}.error__message[_ngcontent-%COMP%]{display:flex;flex-direction:column;flex:1;text-align:center;gap:4px}'],data:{animation:[(0,x.X$)("slide",[(0,x.eR)(":enter",[(0,x.oB)({height:"0px",opacity:0}),(0,x.jt)("250ms ease-out",(0,x.oB)({height:"*",opacity:1}))]),(0,x.eR)(":leave",[(0,x.jt)("250ms ease-out",(0,x.oB)({height:"0px",opacity:0}))])])]}}),i})();var $t=C(38023),U=C(13528);function Ce(i,d,r){return a=>{const p=a.value;if(!p)return null;const y=i.helpTextTemplate,Q=[],et={},be=[{enabled:i.passwordMinLengthEnabled,valid:p.length>=i.passwordMinLength,key:"passwordMinLength",template:y.passwordMinLength,value:i.passwordMinLength},{enabled:i.lowLettersEnabled,valid:(p.match(/[a-z]/g)||[]).length>=i.lowLetters,key:"lowLetters",template:y.lowLetters,value:i.lowLetters},{enabled:i.minCharsEnabled,valid:(p.match(/[a-z]/gi)||[]).length>=i.minChars,key:"minChars",template:y.minChars,value:i.minChars},{enabled:i.highLettersEnabled,valid:(p.match(/[A-Z]/g)||[]).length>=i.highLetters,key:"highLetters",template:y.highLetters,value:i.highLetters},{enabled:i.numbersEnabled,valid:(p.match(/[0-9]/g)||[]).length>=i.numbers,key:"numbers",template:y.numbers,value:i.numbers},{enabled:i.specialCharsEnabled,valid:(p.match(/[^a-zA-Z0-9]/g)||[]).length>=i.specialChars,key:"specialChars",template:y.specialChars,value:i.specialChars}];for(const W of be)W.enabled&&!W.valid&&(et[W.key]=!0,Q.push(`Must ${W.template?.replace("#",W.value.toString())}`));if(i.maxConCharsEnabled&&new RegExp(`[a-zA-Z]{${i.maxConChars+1},}`).test(p)&&(et.maxConChars=!0,Q.push(`Must ${y.maxConChars?.replace("#",i.maxConChars.toString())}`)),i.restrictSpecialCharsEnabled){const W=i.restrictSpecialChars.split("");(p.match(/[^a-zA-Z0-9]/g)||[]).some(pe=>!W.includes(pe))&&(et.restrictSpecialChars=!0,Q.push(`Must ${y.restrictSpecialChars?.replace("#",i.restrictSpecialChars)}`))}return d(Q),Object.keys(et).length?et:null}}function Wt(i){return d=>d.value!==i()?{match:!0}:null}var Xt=C(83331),M=C(2940);function jt(i,d){1&i&&(t.TgZ(0,"mat-error"),t._uU(1," Username is required "),t.qZA())}function te(i,d){1&i&&(t.TgZ(0,"mat-error"),t._uU(1," Username already exists "),t.qZA())}function Lt(i,d){if(1&i&&(t.TgZ(0,"div",27),t.YNc(1,jt,2,0,"mat-error",28),t.YNc(2,te,2,0,"mat-error",28),t.qZA()),2&i){const r=t.oxw();t.xp6(1),t.Q6J("ngIf",r.signup.controls.username.hasError("required")),t.xp6(1),t.Q6J("ngIf",r.signup.controls.username.hasError("exists"))}}function ee(i,d){1&i&&(t.TgZ(0,"mat-error"),t._uU(1," Display name is required "),t.qZA())}function we(i,d){if(1&i&&(t.TgZ(0,"div",27),t.YNc(1,ee,2,0,"mat-error",28),t.qZA()),2&i){const r=t.oxw();t.xp6(1),t.Q6J("ngIf",r.signup.controls.displayName.hasError("required"))}}function vt(i,d){1&i&&(t.TgZ(0,"mat-error"),t._uU(1," Must be a valid email address "),t.qZA())}function Rt(i,d){if(1&i&&(t.TgZ(0,"div",27),t.YNc(1,vt,2,0,"mat-error",28),t.qZA()),2&i){const r=t.oxw();t.xp6(1),t.Q6J("ngIf",r.signup.controls.email.hasError("email"))}}function Jt(i,d){if(1&i&&(t.TgZ(0,"div"),t._uU(1),t.qZA()),2&i){const r=d.$implicit;t.xp6(1),t.hij(" ",r," ")}}function ne(i,d){if(1&i&&(t.TgZ(0,"mat-error"),t.YNc(1,Jt,2,1,"div",29),t.qZA()),2&i){const r=d.ngIf,a=t.oxw(2);t.xp6(1),t.Q6J("ngForOf",a.getPasswordErrorMessages(r))}}function zt(i,d){if(1&i&&(t.TgZ(0,"div",27),t.YNc(1,ne,2,1,"mat-error",28),t.qZA()),2&i){const r=t.oxw();t.xp6(1),t.Q6J("ngIf",r.signup.controls.password.errors)}}function ie(i,d){1&i&&(t.TgZ(0,"mat-error"),t._uU(1," Password confirmation is required "),t.qZA())}function Te(i,d){1&i&&(t.TgZ(0,"mat-error"),t._uU(1," Passwords must match "),t.qZA())}function oe(i,d){if(1&i&&(t.TgZ(0,"div",27),t.YNc(1,ie,2,0,"mat-error",28),t.YNc(2,Te,2,0,"mat-error",28),t.qZA()),2&i){const r=t.oxw();t.xp6(1),t.Q6J("ngIf",r.signup.controls.passwordconfirm.hasError("required")),t.xp6(1),t.Q6J("ngIf",r.signup.controls.passwordconfirm.hasError("match"))}}function xe(i,d){1&i&&(t.TgZ(0,"div",30)(1,"div",31)(2,"div",32),t._uU(3,"Generating Captcha..."),t.qZA(),t._UZ(4,"mat-progress-bar",33),t.qZA()())}function Ae(i,d){if(1&i&&(t.TgZ(0,"div",34),t._UZ(1,"img",35),t.qZA()),2&i){const r=t.oxw();t.xp6(1),t.Q6J("src",r.captcha.uri,t.LSH)}}function Me(i,d){if(1&i){const r=t.EpF();t.TgZ(0,"div",36)(1,"button",37),t.NdJ("click",function(){t.CHM(r);const p=t.oxw();return t.KtG(p.getCaptcha())}),t.TgZ(2,"mat-icon"),t._uU(3,"refresh"),t.qZA()()()}}function Ie(i,d){1&i&&(t.TgZ(0,"mat-error"),t._uU(1,"Captcha is required"),t.qZA())}function Pe(i,d){1&i&&(t.TgZ(0,"mat-error"),t._uU(1,"Invalid captcha"),t.qZA())}function dt(i,d){if(1&i&&(t.TgZ(0,"div",27),t.YNc(1,Ie,2,0,"mat-error",28),t.YNc(2,Pe,2,0,"mat-error",28),t.qZA()),2&i){const r=t.oxw();t.xp6(1),t.Q6J("ngIf",r.signup.controls.captchaText.hasError("required")),t.xp6(1),t.Q6J("ngIf",r.signup.controls.captchaText.hasError("invalid"))}}const Oe=function(i){return{"--password-bar-color":i}};let re=(()=>{class i{constructor(r,a){this.apiService=r,this.userService=a,this.complete=new t.vpe,this.showPassword=!1,this.showConfirmPassword=!1,this.passwordErrorMessages=[],this.signup=new g.cw({username:new g.NI("",[g.kI.required]),displayName:new g.NI("",[g.kI.required]),email:new g.NI("",[g.kI.email]),phone:new g.NI(""),password:new g.NI("",[g.kI.required]),passwordconfirm:new g.NI("",[g.kI.required]),captchaText:new g.NI("",[g.kI.required])}),this.loadingCaptcha=!1,this.captcha={},this.destroy$=new $t.x}ngOnInit(){Y.Mu.setOptions({dictionary:{...J.F,...B.F},graphs:J.x,translations:ot.Z}),this.apiService.getApi().pipe((0,U.R)(this.destroy$)).subscribe(r=>{this.passwordPolicy=r.authenticationStrategies.local.settings.passwordPolicy,this.signup.setControl("password",new g.NI("",{validators:[g.kI.required,Ce(this.passwordPolicy,p=>this.passwordErrorMessages=p)]})),this.signup.setControl("passwordconfirm",new g.NI("",{validators:[g.kI.required,Wt(()=>this.signup.controls.password.value??"")]})),this.signup.controls.password.valueChanges.pipe((0,U.R)(this.destroy$)).subscribe(p=>{this.onPasswordChanged(p??"")})})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}onPasswordChanged(r){this.passwordStrength=function N(i,d){const r=i?(0,Y.tu)(i,d?[d]:[]).score:0;return $.A[r]}(r,this.signup.controls.username.value??"")}get passwordTooltipText(){return this.passwordPolicy?function ye(i){const d=[];return i.passwordMinLengthEnabled&&d.push(`\u2022 At least ${i.passwordMinLength} characters`),i.minCharsEnabled&&d.push(`\u2022 At least ${i.minChars} letters`),i.lowLettersEnabled&&d.push(`\u2022 Minimum ${i.lowLetters} lowercase letter(s)`),i.highLettersEnabled&&d.push(`\u2022 Minimum ${i.highLetters} uppercase letter(s)`),i.numbersEnabled&&d.push(`\u2022 Minimum ${i.numbers} number(s)`),i.specialCharsEnabled&&d.push(`\u2022 Minimum ${i.specialChars} special character(s)`),i.maxConCharsEnabled&&d.push(`\u2022 Max ${i.maxConChars} repeated characters`),i.restrictSpecialCharsEnabled&&d.push(`\u2022 Allowed: ${i.restrictSpecialChars}`),d.join("\n")}(this.passwordPolicy):""}getCaptcha(){this.loadingCaptcha=!0;const r=this.signup.controls.username.value;r?this.userService.signup(r).pipe((0,U.R)(this.destroy$)).subscribe(a=>{this.captcha={uri:a.captcha,token:a.token},this.loadingCaptcha=!1}):this.loadingCaptcha=!1}onCancel(){this.complete.emit({reason:"cancel"})}onSignup(){if((this.signup.controls.password.value??"")!==(this.signup.controls.passwordconfirm.value??""))this.signup.controls.passwordconfirm.setErrors({match:!0});else{const p=this.signup.controls.passwordconfirm,y=p.errors;y?.match&&(delete y.match,p.setErrors(Object.keys(y).length?y:null))}this.signup.markAllAsTouched(),this.signup.valid&&this.userService.signupVerify(this.signup.value,this.captcha.token).pipe((0,U.R)(this.destroy$)).subscribe({next:p=>{this.complete.emit({reason:"signup",user:p})},error:p=>{401===p.status?this.getCaptcha():403===p.status?this.signup.controls.captchaText.setErrors({invalid:!0}):409===p.status&&(this.captcha={},this.signup.controls.username.setErrors({exists:!0}))}})}getPasswordErrorMessages(r){return r?.required?["Password is required"]:this.passwordErrorMessages}}return i.\u0275fac=function(r){return new(r||i)(t.Y36(_t.s),t.Y36(D.K))},i.\u0275cmp=t.Xpm({type:i,selectors:[["signup"]],outputs:{complete:"complete"},decls:65,vars:21,consts:[[1,"signup-container"],[1,"welcome"],[1,"welcome__title"],[1,"welcome__message"],[1,"signup",3,"formGroup"],["appearance","fill"],["matInput","","placeholder","Username","formControlName","username","required","",3,"blur"],["class","password-error-popover",4,"ngIf"],["matInput","","placeholder","Display Name","formControlName","displayName","required",""],["matInput","","placeholder","Email","formControlName","email"],["matInput","","placeholder","Phone","formControlName","phone"],["matInput","","placeholder","Password","formControlName","password","required","",3,"type"],["mat-icon-button","","type","button","matSuffix","",3,"click"],["mat-icon-button","","matTooltipClass","tooltip-wide","matSuffix","",3,"matTooltip"],["matInput","","placeholder","Confirm Password","formControlName","passwordconfirm","required","",3,"type"],[1,"password-strength"],[1,"mat-body-1"],[1,"mat-body-2"],["mode","determinate",1,"custom-password-bar",3,"value","ngStyle"],[1,"auth-captcha-container"],["class","auth-captcha-progress",4,"ngIf"],["class","auth-captcha",4,"ngIf"],["class","auth-captcha-refresh",4,"ngIf"],["matInput","","placeholder","Captcha","formControlName","captchaText","required",""],[1,"actions"],["mat-stroked-button","","type","button",1,"actions__button",3,"click"],["mat-flat-button","","color","primary","type","submit",1,"actions__button",3,"disabled","click"],[1,"password-error-popover"],[4,"ngIf"],[4,"ngFor","ngForOf"],[1,"auth-captcha-progress"],[1,"auth-captcha-progress__container"],[1,"auth-captcha-progress-text"],["mode","indeterminate",1,"auth-captcha-progressbar"],[1,"auth-captcha"],["alt","captcha image","width","100%","height","100%",3,"src"],[1,"auth-captcha-refresh"],["mat-icon-button","",3,"click"]],template:function(r,a){1&r&&(t.TgZ(0,"div",0)(1,"div",1)(2,"div",2),t._uU(3,"New to Mage?"),t.qZA(),t.TgZ(4,"div",3),t._uU(5,"Let's set up your account."),t.qZA()(),t.TgZ(6,"form",4)(7,"mat-form-field",5)(8,"mat-label"),t._uU(9,"Username"),t.qZA(),t.TgZ(10,"input",6),t.NdJ("blur",function(){return a.getCaptcha()}),t.qZA(),t.YNc(11,Lt,3,2,"div",7),t.qZA(),t.TgZ(12,"mat-form-field",5)(13,"mat-label"),t._uU(14,"Display Name"),t.qZA(),t._UZ(15,"input",8),t.YNc(16,we,2,1,"div",7),t.qZA(),t.TgZ(17,"mat-form-field",5)(18,"mat-label"),t._uU(19,"Email"),t.qZA(),t._UZ(20,"input",9),t.YNc(21,Rt,2,1,"div",7),t.qZA(),t.TgZ(22,"mat-form-field",5)(23,"mat-label"),t._uU(24,"Phone"),t.qZA(),t._UZ(25,"input",10),t.qZA(),t.TgZ(26,"mat-form-field",5)(27,"mat-label"),t._uU(28,"Password"),t.qZA(),t._UZ(29,"input",11),t.TgZ(30,"button",12),t.NdJ("click",function(){return a.showPassword=!a.showPassword}),t.TgZ(31,"mat-icon"),t._uU(32),t.qZA()(),t.TgZ(33,"button",13)(34,"mat-icon"),t._uU(35,"info"),t.qZA()(),t.YNc(36,zt,2,1,"div",7),t.qZA(),t.TgZ(37,"mat-form-field",5)(38,"mat-label"),t._uU(39,"Confirm Password"),t.qZA(),t._UZ(40,"input",14),t.TgZ(41,"button",12),t.NdJ("click",function(){return a.showConfirmPassword=!a.showConfirmPassword}),t.TgZ(42,"mat-icon"),t._uU(43),t.qZA()(),t.YNc(44,oe,3,2,"div",7),t.qZA(),t.TgZ(45,"div",15)(46,"div",16),t._uU(47,"Password Strength"),t.qZA(),t.TgZ(48,"div",17),t._uU(49),t.qZA(),t._UZ(50,"mat-progress-bar",18),t.qZA(),t.TgZ(51,"div",19),t.YNc(52,xe,5,0,"div",20),t.YNc(53,Ae,2,1,"div",21),t.YNc(54,Me,4,0,"div",22),t.qZA(),t.TgZ(55,"mat-form-field",5)(56,"mat-label"),t._uU(57,"Captcha"),t.qZA(),t._UZ(58,"input",23),t.YNc(59,dt,3,2,"div",7),t.qZA(),t.TgZ(60,"div",24)(61,"button",25),t.NdJ("click",function(){return a.onCancel()}),t._uU(62," Cancel "),t.qZA(),t.TgZ(63,"button",26),t.NdJ("click",function(){return a.onSignup()}),t._uU(64," Signup "),t.qZA()()()()),2&r&&(t.xp6(6),t.Q6J("formGroup",a.signup),t.xp6(5),t.Q6J("ngIf",a.signup.controls.username.invalid&&a.signup.controls.username.touched),t.xp6(5),t.Q6J("ngIf",a.signup.controls.displayName.invalid&&a.signup.controls.displayName.touched),t.xp6(5),t.Q6J("ngIf",a.signup.controls.email.invalid&&a.signup.controls.email.touched),t.xp6(8),t.Q6J("type",a.showPassword?"text":"password"),t.xp6(3),t.Oqu(a.showPassword?"visibility_off":"visibility"),t.xp6(1),t.s9C("matTooltip",a.passwordTooltipText),t.xp6(3),t.Q6J("ngIf",a.signup.controls.password.invalid&&a.signup.controls.password.touched),t.xp6(4),t.Q6J("type",a.showConfirmPassword?"text":"password"),t.xp6(3),t.Oqu(a.showConfirmPassword?"visibility_off":"visibility"),t.xp6(1),t.Q6J("ngIf",a.signup.controls.passwordconfirm.invalid&&a.signup.controls.passwordconfirm.touched),t.xp6(5),t.Oqu(null==a.passwordStrength?null:a.passwordStrength.text),t.xp6(1),t.Q6J("value",null==a.passwordStrength?null:a.passwordStrength.value)("ngStyle",t.VKq(19,Oe,null==a.passwordStrength?null:a.passwordStrength.color)),t.xp6(2),t.Q6J("ngIf",a.loadingCaptcha),t.xp6(1),t.Q6J("ngIf",a.captcha.uri&&!a.loadingCaptcha),t.xp6(1),t.Q6J("ngIf",a.captcha.uri),t.xp6(5),t.Q6J("ngIf",a.signup.controls.captchaText.invalid&&a.signup.controls.captchaText.touched),t.xp6(4),t.Q6J("disabled",a.signup.invalid))},dependencies:[I.sg,I.O5,I.PC,q.lW,Xt.Hw,b.TO,b.KE,b.hX,b.R9,j.Nt,qt.pW,g._Y,g.Fj,g.JJ,g.JL,g.Q7,g.sg,g.u,M.gM],styles:["[_nghost-%COMP%]{width:100%;height:100%}mat-form-field[_ngcontent-%COMP%]{width:100%;margin-bottom:8px}.signup-container[_ngcontent-%COMP%]{height:100%;display:flex;flex-direction:column;gap:48px;padding-top:32px}.signup[_ngcontent-%COMP%]{padding-bottom:16px}.welcome[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:end;color:#1e88e5}.welcome__title[_ngcontent-%COMP%]{margin-bottom:16px;font:400 45px/48px Roboto,Helvetica Neue,sans-serif}.welcome__message[_ngcontent-%COMP%]{font:500 20px/32px Roboto,Helvetica Neue,sans-serif}.auth-captcha-container[_ngcontent-%COMP%]{position:relative;border:1px solid rgba(0,0,0,.4);border-radius:4px;padding:4px;width:100%;height:80px;margin:16px 0}.auth-captcha[_ngcontent-%COMP%]{position:absolute;inset:4px 56px}.auth-captcha-progress[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:center;align-items:center;height:100%}.auth-captcha-progress__container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;margin:0 64px;width:100%}.auth-captcha-progress-text[_ngcontent-%COMP%]{color:#0009;font-size:24px}.auth-captcha-progressbar[_ngcontent-%COMP%]{margin-top:8px}.auth-captcha-refresh[_ngcontent-%COMP%]{position:absolute;right:8px;top:24px}.actions[_ngcontent-%COMP%]{width:100%;display:flex;flex-direction:row;align-items:center;gap:16px;margin-top:16px}.actions__button[_ngcontent-%COMP%]{flex:1}.tooltip-wide[_ngcontent-%COMP%]{white-space:pre-line;max-width:300px}.password-error-popover[_ngcontent-%COMP%]{position:absolute;background:#fff0f0;border:1px solid #f44336;color:#b71c1c;border-radius:4px;padding:8px 12px;font-size:13px;z-index:10;box-shadow:0 2px 6px #00000026;margin-top:4px;width:100%}.error-item[_ngcontent-%COMP%]{margin-bottom:4px}.error-item[_ngcontent-%COMP%]:last-child{margin-bottom:0} .custom-password-bar .mat-progress-bar-fill:after{background-color:var(--password-bar-color)!important}"]}),i})();function Ft(i,d){if(1&i){const r=t.EpF();t.TgZ(0,"div",2)(1,"authentication",3),t.NdJ("authenticated",function(p){t.CHM(r);const y=t.oxw();return t.KtG(y.onAuthenticated(p))})("signup",function(){t.CHM(r);const p=t.oxw();return t.KtG(p.onSignup())}),t.qZA()()}if(2&i){const r=t.oxw();t.Q6J("@slide",void 0),t.xp6(1),t.Q6J("landing",r.landing)("api",r.api)}}function Yt(i,d){if(1&i){const r=t.EpF();t.TgZ(0,"div",2)(1,"authorization",4),t.NdJ("authorized",function(p){t.CHM(r);const y=t.oxw();return t.KtG(y.onAuthorized(p))}),t.qZA()()}if(2&i){const r=t.oxw();t.Q6J("@slide",void 0),t.xp6(1),t.Q6J("token",r.getAuthenticationToken())}}function se(i,d){if(1&i){const r=t.EpF();t.TgZ(0,"div",2)(1,"disclaimer",5),t.NdJ("close",function(p){t.CHM(r);const y=t.oxw();return t.KtG(y.onDisclaimer(p))}),t.qZA()()}if(2&i){const r=t.oxw();t.Q6J("@slide",void 0),t.xp6(1),t.Q6J("title",null==r.api||null==r.api.disclaimer?null:r.api.disclaimer.title)("text",null==r.api||null==r.api.disclaimer?null:r.api.disclaimer.text)}}function Pt(i,d){if(1&i){const r=t.EpF();t.TgZ(0,"div",2)(1,"signup",6),t.NdJ("complete",function(p){t.CHM(r);const y=t.oxw();return t.KtG(y.signup(p))}),t.qZA()()}2&i&&t.Q6J("@slide",void 0)}function ae(i,d){if(1&i){const r=t.EpF();t.TgZ(0,"div",2)(1,"account-status",7),t.NdJ("complete",function(){t.CHM(r);const p=t.oxw();return t.KtG(p.onAccountStatus())}),t.qZA()()}2&i&&(t.Q6J("@slide",void 0),t.xp6(1),t.Q6J("active",!0))}function Ee(i,d){if(1&i){const r=t.EpF();t.TgZ(0,"div",2)(1,"account-status",7),t.NdJ("complete",function(){t.CHM(r);const p=t.oxw();return t.KtG(p.onAccountStatus())}),t.qZA()()}2&i&&(t.Q6J("@slide",void 0),t.xp6(1),t.Q6J("active",!1))}function ce(i,d){if(1&i){const r=t.EpF();t.TgZ(0,"div",2)(1,"initialize",8),t.NdJ("initialized",function(p){t.CHM(r);const y=t.oxw();return t.KtG(y.onInitialized(p))}),t.qZA()()}2&i&&t.Q6J("@slide",void 0)}var G=(()=>{return(i=G||(G={}))[i.Initialize=0]="Initialize",i[i.Signin=1]="Signin",i[i.Signup=2]="Signup",i[i.Authorization=3]="Authorization",i[i.Disclaimer=4]="Disclaimer",i[i.ActiveAccount=5]="ActiveAccount",i[i.DisabledAccount=6]="DisabledAccount",i[i.InactiveAccount=7]="InactiveAccount",G;var i})();class lt{}class Ot extends lt{constructor(){super(...arguments),this.state=G.Signin}}class le extends lt{constructor(){super(...arguments),this.state=G.Signup}}class Ct extends lt{constructor(d){super(),this.state=G.Authorization,this.authenticationToken=d}}class kt extends lt{constructor(d){super(),this.state=G.Disclaimer,this.apiToken=d}}class ue extends lt{constructor(){super(...arguments),this.state=G.ActiveAccount}}class Ze extends lt{constructor(){super(...arguments),this.state=G.InactiveAccount}}class Bt extends lt{constructor(){super(...arguments),this.state=G.Initialize}}let yt=(()=>{class i{constructor(r,a){this.userService=r,this.localStorageService=a,this.complete=new t.vpe,this.IngressState=G,this.ingress=new Ot}ngOnChanges(r){!0===r.api?.currentValue?.initial&&(this.ingress=new Bt)}localStrategyFilter(r,a){return"local"===a}getAuthenticationToken(){return this.ingress?.authenticationToken}onSignup(){this.ingress=new le}signup(r){this.ingress="signup"===r.reason?r.user.active?new ue:new Ze:new Ot}onAuthenticated(r){this.userService.authorize(r.token,"refresh").subscribe({next:a=>{this.authorized(a.token)},error:()=>{this.ingress=new Ct(r.token)}})}onAuthorized(r){this.authorized(r.token)}authorized(r){!0===this.api.disclaimer?.show?this.ingress=new kt(r):(this.localStorageService.setToken(r),this.complete.emit())}onDisclaimer(r){r.reason===L.ACCEPT?(this.localStorageService.setToken(this.ingress.apiToken),this.complete.emit()):this.ingress=new Ot}onAccountStatus(){this.ingress=new Ot}onInitialized(r){this.localStorageService.setToken(r.token),this.complete.emit()}}return i.\u0275fac=function(r){return new(r||i)(t.Y36(D.K),t.Y36(at.n))},i.\u0275cmp=t.Xpm({type:i,selectors:[["ingress"]],inputs:{api:"api",landing:"landing"},outputs:{complete:"complete"},features:[t.TTD],decls:8,vars:8,consts:[[1,"container"],["class","state",4,"ngIf"],[1,"state"],[3,"landing","api","authenticated","signup"],[3,"token","authorized"],[3,"title","text","close"],[3,"complete"],[3,"active","complete"],[3,"initialized"]],template:function(r,a){1&r&&(t.TgZ(0,"div",0),t.YNc(1,Ft,2,3,"div",1),t.YNc(2,Yt,2,2,"div",1),t.YNc(3,se,2,3,"div",1),t.YNc(4,Pt,2,1,"div",1),t.YNc(5,ae,2,2,"div",1),t.YNc(6,Ee,2,2,"div",1),t.YNc(7,ce,2,1,"div",1),t.qZA()),2&r&&(t.Q6J("@disableOnEnter",void 0),t.xp6(1),t.Q6J("ngIf",a.ingress.state===a.IngressState.Signin),t.xp6(1),t.Q6J("ngIf",a.ingress.state===a.IngressState.Authorization),t.xp6(1),t.Q6J("ngIf",a.ingress.state===a.IngressState.Disclaimer),t.xp6(1),t.Q6J("ngIf",a.ingress.state===a.IngressState.Signup),t.xp6(1),t.Q6J("ngIf",a.ingress.state===a.IngressState.ActiveAccount),t.xp6(1),t.Q6J("ngIf",a.ingress.state===a.IngressState.InactiveAccount),t.xp6(1),t.Q6J("ngIf",a.ingress.state===a.IngressState.Initialize))},dependencies:[I.O5,k,Z,it,_,ve,re],styles:["[_nghost-%COMP%]{position:relative}.container[_ngcontent-%COMP%]{width:100%;height:100%;min-height:250px;position:relative}.state[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;justify-content:center;position:absolute;inset:0}"],data:{animation:[(0,x.X$)("disableOnEnter",[(0,x.eR)(":enter",[])]),(0,x.X$)("slide",[(0,x.eR)(":enter",[(0,x.oB)({transform:"translateX(100%)"}),(0,x.jt)("250ms",(0,x.oB)({transform:"translateX(0%)",opacity:1}))]),(0,x.eR)(":leave",[(0,x.jt)("250ms",(0,x.oB)({transform:"translateX(-100%)",opacity:0}))])])]}}),i})()},89024:(Qt,st,C)=>{C.d(st,{p:()=>pt});var t=C(88692),q=C(19241),L=C(88659),_=C(39665),x=C(83331),D=C(20092),at=C(40827),I=C(9638),k=C(28383),ct=C(2940),K=C(64537);let mt=(()=>{class P{}return P.\u0275fac=function(E){return new(E||P)},P.\u0275mod=K.oAB({type:P}),P.\u0275inj=K.cJS({imports:[t.ez,I.ot,x.Ps,L.lN,_.c,at.Cv,D.UX,ct.AV]}),P})(),pt=(()=>{class P{}return P.\u0275fac=function(E){return new(E||P)},P.\u0275mod=K.oAB({type:P}),P.\u0275inj=K.cJS({imports:[mt]}),P})();K.B6R(k.h,[q.t],[])},2940:(Qt,st,C)=>{C.d(st,{AV:()=>Dt,gM:()=>Mt});var t=C(19596),q=C(38954),L=C(88692),_=C(64537),x=C(1379),D=C(92237),at=C(65875),I=C(74929),k=C(35436),ct=C(21444),K=C(36321),mt=C(18632),pt=C(38023),P=C(13528),X=C(65598);C(14091);const g=["tooltip"],j="tooltip-panel",Tt=(0,K.i$)({passive:!0}),xt=new _.OlP("mat-tooltip-scroll-strategy"),At={provide:xt,deps:[t.aV],useFactory:function _t(A){return()=>A.scrollStrategies.reposition({scrollThrottle:20})}},bt=new _.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function S(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let gt=(()=>{class A{constructor(h,f,v,O,Z,tt,it,$,Y,J,B,ot){this._overlay=h,this._elementRef=f,this._scrollDispatcher=v,this._viewContainerRef=O,this._ngZone=Z,this._platform=tt,this._ariaDescriber=it,this._focusMonitor=$,this._dir=J,this._defaultOptions=B,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this._showDelay=this._defaultOptions.showDelay,this._hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new pt.x,this._scrollStrategy=Y,this._document=ot,B&&(B.position&&(this.position=B.position),B.touchGestures&&(this.touchGestures=B.touchGestures)),J.change.pipe((0,P.R)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}get position(){return this._position}set position(h){h!==this._position&&(this._position=h,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(h){this._disabled=(0,I.Ig)(h),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(h){this._showDelay=(0,I.su)(h)}get hideDelay(){return this._hideDelay}set hideDelay(h){this._hideDelay=(0,I.su)(h),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(h){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=h?String(h).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(h){this._tooltipClass=h,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,P.R)(this._destroyed)).subscribe(h=>{h?"keyboard"===h&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const h=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([f,v])=>{h.removeEventListener(f,v,Tt)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(h,this.message,"tooltip"),this._focusMonitor.stopMonitoring(h)}show(h=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const f=this._createOverlay();this._detach(),this._portal=this._portal||new mt.C5(this._tooltipComponent,this._viewContainerRef);const v=this._tooltipInstance=f.attach(this._portal).instance;v._triggerElement=this._elementRef.nativeElement,v._mouseLeaveHideDelay=this._hideDelay,v.afterHidden().pipe((0,P.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),v.show(h)}hide(h=this.hideDelay){const f=this._tooltipInstance;f&&(f.isVisible()?f.hide(h):(f._cancelPendingAnimations(),this._detach()))}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){if(this._overlayRef)return this._overlayRef;const h=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),f=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(h);return f.positionChanges.pipe((0,P.R)(this._destroyed)).subscribe(v=>{this._updateCurrentPositionClass(v.connectionPair),this._tooltipInstance&&v.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:f,panelClass:`${this._cssClassPrefix}-${j}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,P.R)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,P.R)(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe((0,P.R)(this._destroyed)).subscribe(v=>{this._isTooltipVisible()&&v.keyCode===k.hY&&!(0,k.Vb)(v)&&(v.preventDefault(),v.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(h){const f=h.getConfig().positionStrategy,v=this._getOrigin(),O=this._getOverlayPosition();f.withPositions([this._addOffset({...v.main,...O.main}),this._addOffset({...v.fallback,...O.fallback})])}_addOffset(h){return h}_getOrigin(){const h=!this._dir||"ltr"==this._dir.value,f=this.position;let v;"above"==f||"below"==f?v={originX:"center",originY:"above"==f?"top":"bottom"}:"before"==f||"left"==f&&h||"right"==f&&!h?v={originX:"start",originY:"center"}:("after"==f||"right"==f&&h||"left"==f&&!h)&&(v={originX:"end",originY:"center"});const{x:O,y:Z}=this._invertPosition(v.originX,v.originY);return{main:v,fallback:{originX:O,originY:Z}}}_getOverlayPosition(){const h=!this._dir||"ltr"==this._dir.value,f=this.position;let v;"above"==f?v={overlayX:"center",overlayY:"bottom"}:"below"==f?v={overlayX:"center",overlayY:"top"}:"before"==f||"left"==f&&h||"right"==f&&!h?v={overlayX:"end",overlayY:"center"}:("after"==f||"right"==f&&h||"left"==f&&!h)&&(v={overlayX:"start",overlayY:"center"});const{x:O,y:Z}=this._invertPosition(v.overlayX,v.overlayY);return{main:v,fallback:{overlayX:O,overlayY:Z}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,X.q)(1),(0,P.R)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(h){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=h,this._tooltipInstance._markForCheck())}_invertPosition(h,f){return"above"===this.position||"below"===this.position?"top"===f?f="bottom":"bottom"===f&&(f="top"):"end"===h?h="start":"start"===h&&(h="end"),{x:h,y:f}}_updateCurrentPositionClass(h){const{overlayY:f,originX:v,originY:O}=h;let Z;if(Z="center"===f?this._dir&&"rtl"===this._dir.value?"end"===v?"left":"right":"start"===v?"left":"right":"bottom"===f&&"top"===O?"above":"below",Z!==this._currentPosition){const tt=this._overlayRef;if(tt){const it=`${this._cssClassPrefix}-${j}-`;tt.removePanelClass(it+this._currentPosition),tt.addPanelClass(it+Z)}this._currentPosition=Z}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",()=>{this._setupPointerExitEventsIfNeeded(),this.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",()=>{this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const h=[];if(this._platformSupportsMouseEvents())h.push(["mouseleave",f=>{const v=f.relatedTarget;(!v||!this._overlayRef?.overlayElement.contains(v))&&this.hide()}],["wheel",f=>this._wheelListener(f)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const f=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};h.push(["touchend",f],["touchcancel",f])}this._addListeners(h),this._passiveListeners.push(...h)}_addListeners(h){h.forEach(([f,v])=>{this._elementRef.nativeElement.addEventListener(f,v,Tt)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(h){if(this._isTooltipVisible()){const f=this._document.elementFromPoint(h.clientX,h.clientY),v=this._elementRef.nativeElement;f!==v&&!v.contains(f)&&this.hide()}}_disableNativeGesturesIfNecessary(){const h=this.touchGestures;if("off"!==h){const f=this._elementRef.nativeElement,v=f.style;("on"===h||"INPUT"!==f.nodeName&&"TEXTAREA"!==f.nodeName)&&(v.userSelect=v.msUserSelect=v.webkitUserSelect=v.MozUserSelect="none"),("on"===h||!f.draggable)&&(v.webkitUserDrag="none"),v.touchAction="none",v.webkitTapHighlightColor="transparent"}}}return A.\u0275fac=function(h){_.$Z()},A.\u0275dir=_.lG2({type:A,inputs:{position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),A})(),Mt=(()=>{class A extends gt{constructor(h,f,v,O,Z,tt,it,$,Y,J,B,ot){super(h,f,v,O,Z,tt,it,$,Y,J,B,ot),this._tooltipComponent=Nt}}return A.\u0275fac=function(h){return new(h||A)(_.Y36(t.aV),_.Y36(_.SBq),_.Y36(D.mF),_.Y36(_.s_b),_.Y36(_.R0b),_.Y36(K.t4),_.Y36(q.$s),_.Y36(q.tE),_.Y36(xt),_.Y36(at.Is,8),_.Y36(bt,8),_.Y36(L.K0))},A.\u0275dir=_.lG2({type:A,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[_.qOj]}),A})(),St=(()=>{class A{constructor(h,f){this._changeDetectorRef=h,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new pt.x,this._animationsDisabled="NoopAnimations"===f}show(h){clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},h)}hide(h){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},h)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:h}){(!h||!this._triggerElement.contains(h))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){}_handleAnimationEnd({animationName:h}){(h===this._showAnimation||h===this._hideAnimation)&&this._finalizeAnimation(h===this._showAnimation)}_cancelPendingAnimations(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(h){h?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(h){const f=this._tooltip.nativeElement,v=this._showAnimation,O=this._hideAnimation;if(f.classList.remove(h?O:v),f.classList.add(h?v:O),this._isVisible=h,h&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const Z=getComputedStyle(f);("0s"===Z.getPropertyValue("animation-duration")||"none"===Z.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}h&&this._onShow(),this._animationsDisabled&&(f.classList.add("_mat-animation-noopable"),this._finalizeAnimation(h))}}return A.\u0275fac=function(h){return new(h||A)(_.Y36(_.sBO),_.Y36(_.QbO,8))},A.\u0275dir=_.lG2({type:A}),A})(),Nt=(()=>{class A extends St{constructor(h,f,v){super(h,v),this._breakpointObserver=f,this._isHandset=this._breakpointObserver.observe(ct.u3.Handset),this._showAnimation="mat-tooltip-show",this._hideAnimation="mat-tooltip-hide"}}return A.\u0275fac=function(h){return new(h||A)(_.Y36(_.sBO),_.Y36(ct.Yg),_.Y36(_.QbO,8))},A.\u0275cmp=_.Xpm({type:A,selectors:[["mat-tooltip-component"]],viewQuery:function(h,f){if(1&h&&_.Gf(g,7),2&h){let v;_.iGM(v=_.CRH())&&(f._tooltip=v.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(h,f){1&h&&_.NdJ("mouseleave",function(O){return f._handleMouseLeave(O)}),2&h&&_.Udp("zoom",f.isVisible()?1:null)},features:[_.qOj],decls:4,vars:6,consts:[[1,"mat-tooltip",3,"ngClass","animationend"],["tooltip",""]],template:function(h,f){if(1&h&&(_.TgZ(0,"div",0,1),_.NdJ("animationend",function(O){return f._handleAnimationEnd(O)}),_.ALo(2,"async"),_._uU(3),_.qZA()),2&h){let v;_.ekj("mat-tooltip-handset",null==(v=_.lcZ(2,4,f._isHandset))?null:v.matches),_.Q6J("ngClass",f.tooltipClass),_.xp6(3),_.Oqu(f.message)}},dependencies:[L.mk,L.Ov],styles:[".mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis;transform:scale(0)}.mat-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}.mat-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-tooltip-show{0%{opacity:0;transform:scale(0)}50%{opacity:.5;transform:scale(0.99)}100%{opacity:1;transform:scale(1)}}@keyframes mat-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1)}}.mat-tooltip-show{animation:mat-tooltip-show 200ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-tooltip-hide{animation:mat-tooltip-hide 100ms cubic-bezier(0, 0, 0.2, 1) forwards}"],encapsulation:2,changeDetection:0}),A})(),Dt=(()=>{class A{}return A.\u0275fac=function(h){return new(h||A)},A.\u0275mod=_.oAB({type:A}),A.\u0275inj=_.cJS({providers:[At],imports:[q.rt,L.ez,t.U8,x.BQ,x.BQ,D.ZD]}),A})()},56328:(Qt,st,C)=>{C.d(st,{ZP:()=>li,S6:()=>rt,sE:()=>de,HK:()=>ln,kJ:()=>Y,mf:()=>f,UI:()=>ft,CE:()=>pn,d1:()=>nn});var t={};C.r(t),C.d(t,{VERSION:()=>q,after:()=>Ln,all:()=>on,allKeys:()=>vt,any:()=>rn,assign:()=>Pt,before:()=>Ke,bind:()=>Qe,bindAll:()=>Zn,chain:()=>En,chunk:()=>ai,clone:()=>lt,collect:()=>ft,compact:()=>jn,compose:()=>qn,constant:()=>Gt,contains:()=>ut,countBy:()=>Gn,create:()=>G,debounce:()=>Dn,default:()=>ci,defaults:()=>ae,defer:()=>Sn,delay:()=>He,detect:()=>de,difference:()=>dn,drop:()=>me,each:()=>rt,escape:()=>gn,every:()=>on,extend:()=>se,extendOwn:()=>Pt,filter:()=>Zt,find:()=>de,findIndex:()=>Ue,findKey:()=>Ge,findLastIndex:()=>$e,findWhere:()=>zn,first:()=>Re,flatten:()=>ti,foldl:()=>qe,foldr:()=>en,forEach:()=>rt,functions:()=>Ft,get:()=>ue,groupBy:()=>Kn,has:()=>Ze,head:()=>Re,identity:()=>Bt,include:()=>ut,includes:()=>ut,indexBy:()=>ln,indexOf:()=>je,initial:()=>hn,inject:()=>qe,intersection:()=>ii,invert:()=>re,invoke:()=>Fn,isArguments:()=>ot,isArray:()=>Y,isArrayBuffer:()=>A,isBoolean:()=>At,isDataView:()=>$,isDate:()=>St,isElement:()=>bt,isEmpty:()=>ye,isEqual:()=>we,isError:()=>Dt,isFinite:()=>Ht,isFunction:()=>f,isMap:()=>Ae,isMatch:()=>Xt,isNaN:()=>Kt,isNull:()=>xt,isNumber:()=>Mt,isObject:()=>nt,isRegExp:()=>Nt,isSet:()=>Ie,isString:()=>gt,isSymbol:()=>Ut,isTypedArray:()=>$t,isUndefined:()=>_t,isWeakMap:()=>Me,isWeakSet:()=>Pe,iteratee:()=>a,keys:()=>N,last:()=>Xn,lastIndexOf:()=>Jn,map:()=>ft,mapObject:()=>y,matcher:()=>yt,matches:()=>yt,max:()=>sn,memoize:()=>bn,methods:()=>Ft,min:()=>kn,mixin:()=>fn,negate:()=>De,noop:()=>Q,now:()=>Et,object:()=>ri,omit:()=>pn,once:()=>Rn,pairs:()=>Oe,partial:()=>he,partition:()=>Vn,pick:()=>un,pluck:()=>Le,property:()=>i,propertyOf:()=>et,random:()=>W,range:()=>si,reduce:()=>qe,reduceRight:()=>en,reject:()=>nn,rest:()=>me,restArguments:()=>R,result:()=>In,sample:()=>cn,select:()=>Zt,shuffle:()=>Qn,size:()=>$n,some:()=>rn,sortBy:()=>Hn,sortedIndex:()=>We,tail:()=>me,take:()=>Re,tap:()=>Ot,template:()=>Mn,templateSettings:()=>yn,throttle:()=>Nn,times:()=>be,toArray:()=>an,toPath:()=>le,transpose:()=>ze,unescape:()=>Cn,union:()=>ni,uniq:()=>Je,unique:()=>Je,uniqueId:()=>On,unzip:()=>ze,values:()=>dt,where:()=>Yn,without:()=>ei,wrap:()=>Un,zip:()=>oi});var q="1.13.6",L="object"==typeof self&&self.self===self&&self||"object"==typeof global&&global.global===global&&global||Function("return this")()||{},_=Array.prototype,x=Object.prototype,D=typeof Symbol<"u"?Symbol.prototype:null,at=_.push,I=_.slice,k=x.toString,ct=x.hasOwnProperty,K=typeof ArrayBuffer<"u",mt=typeof DataView<"u",pt=Array.isArray,P=Object.keys,X=Object.create,E=K&&ArrayBuffer.isView,g=isNaN,ht=isFinite,b=!{toString:null}.propertyIsEnumerable("toString"),j=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],Tt=Math.pow(2,53)-1;function R(e,n){return n=null==n?e.length-1:+n,function(){for(var o=Math.max(arguments.length-n,0),s=Array(o),l=0;l<o;l++)s[l]=arguments[l+n];switch(n){case 0:return e.call(this,s);case 1:return e.call(this,arguments[0],s);case 2:return e.call(this,arguments[0],arguments[1],s)}var c=Array(n+1);for(l=0;l<n;l++)c[l]=arguments[l];return c[n]=s,e.apply(this,c)}}function nt(e){var n=typeof e;return"function"===n||"object"===n&&!!e}function xt(e){return null===e}function _t(e){return void 0===e}function At(e){return!0===e||!1===e||"[object Boolean]"===k.call(e)}function bt(e){return!(!e||1!==e.nodeType)}function S(e){var n="[object "+e+"]";return function(o){return k.call(o)===n}}const gt=S("String"),Mt=S("Number"),St=S("Date"),Nt=S("RegExp"),Dt=S("Error"),Ut=S("Symbol"),A=S("ArrayBuffer");var F=S("Function");"object"!=typeof Int8Array&&"function"!=typeof(L.document&&L.document.childNodes)&&(F=function(e){return"function"==typeof e||!1});const f=F,v=S("Object");var O=mt&&v(new DataView(new ArrayBuffer(8))),Z=typeof Map<"u"&&v(new Map),tt=S("DataView");const $=O?function it(e){return null!=e&&f(e.getInt8)&&A(e.buffer)}:tt,Y=pt||S("Array");function J(e,n){return null!=e&&ct.call(e,n)}var B=S("Arguments");!function(){B(arguments)||(B=function(e){return J(e,"callee")})}();const ot=B;function Ht(e){return!Ut(e)&&ht(e)&&!isNaN(parseFloat(e))}function Kt(e){return Mt(e)&&g(e)}function Gt(e){return function(){return e}}function qt(e){return function(n){var o=e(n);return"number"==typeof o&&o>=0&&o<=Tt}}function Vt(e){return function(n){return n?.[e]}}const It=Vt("byteLength"),_e=qt(It);var ge=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;const $t=K?function ve(e){return E?E(e)&&!$(e):_e(e)&&ge.test(k.call(e))}:Gt(!1),U=Vt("length");function Wt(e,n){n=function Ce(e){for(var n={},o=e.length,s=0;s<o;++s)n[e[s]]=!0;return{contains:function(l){return!0===n[l]},push:function(l){return n[l]=!0,e.push(l)}}}(n);var o=j.length,s=e.constructor,l=f(s)&&s.prototype||x,c="constructor";for(J(e,c)&&!n.contains(c)&&n.push(c);o--;)(c=j[o])in e&&e[c]!==l[c]&&!n.contains(c)&&n.push(c)}function N(e){if(!nt(e))return[];if(P)return P(e);var n=[];for(var o in e)J(e,o)&&n.push(o);return b&&Wt(e,n),n}function ye(e){if(null==e)return!0;var n=U(e);return"number"==typeof n&&(Y(e)||gt(e)||ot(e))?0===n:0===U(N(e))}function Xt(e,n){var o=N(n),s=o.length;if(null==e)return!s;for(var l=Object(e),c=0;c<s;c++){var u=o[c];if(n[u]!==l[u]||!(u in l))return!1}return!0}function M(e){return e instanceof M?e:this instanceof M?void(this._wrapped=e):new M(e)}function jt(e){return new Uint8Array(e.buffer||e,e.byteOffset||0,It(e))}M.VERSION=q,M.prototype.valueOf=M.prototype.toJSON=M.prototype.value=function(){return this._wrapped},M.prototype.toString=function(){return String(this._wrapped)};var te="[object DataView]";function Lt(e,n,o,s){if(e===n)return 0!==e||1/e==1/n;if(null==e||null==n)return!1;if(e!=e)return n!=n;var l=typeof e;return("function"===l||"object"===l||"object"==typeof n)&&ee(e,n,o,s)}function ee(e,n,o,s){e instanceof M&&(e=e._wrapped),n instanceof M&&(n=n._wrapped);var l=k.call(e);if(l!==k.call(n))return!1;if(O&&"[object Object]"==l&&$(e)){if(!$(n))return!1;l=te}switch(l){case"[object RegExp]":case"[object String]":return""+e==""+n;case"[object Number]":return+e!=+e?+n!=+n:0==+e?1/+e==1/n:+e==+n;case"[object Date]":case"[object Boolean]":return+e==+n;case"[object Symbol]":return D.valueOf.call(e)===D.valueOf.call(n);case"[object ArrayBuffer]":case te:return ee(jt(e),jt(n),o,s)}var c="[object Array]"===l;if(!c&&$t(e)){if(It(e)!==It(n))return!1;if(e.buffer===n.buffer&&e.byteOffset===n.byteOffset)return!0;c=!0}if(!c){if("object"!=typeof e||"object"!=typeof n)return!1;var m=e.constructor,T=n.constructor;if(m!==T&&!(f(m)&&m instanceof m&&f(T)&&T instanceof T)&&"constructor"in e&&"constructor"in n)return!1}s=s||[];for(var w=(o=o||[]).length;w--;)if(o[w]===e)return s[w]===n;if(o.push(e),s.push(n),c){if((w=e.length)!==n.length)return!1;for(;w--;)if(!Lt(e[w],n[w],o,s))return!1}else{var H,z=N(e);if(w=z.length,N(n).length!==w)return!1;for(;w--;)if(!J(n,H=z[w])||!Lt(e[H],n[H],o,s))return!1}return o.pop(),s.pop(),!0}function we(e,n){return Lt(e,n)}function vt(e){if(!nt(e))return[];var n=[];for(var o in e)n.push(o);return b&&Wt(e,n),n}function Rt(e){var n=U(e);return function(o){if(null==o)return!1;var s=vt(o);if(U(s))return!1;for(var l=0;l<n;l++)if(!f(o[e[l]]))return!1;return e!==oe||!f(o[Jt])}}var Jt="forEach",zt=["clear","delete"],ie=["get","has","set"],Te=zt.concat(Jt,ie),oe=zt.concat(ie),xe=["add"].concat(zt,Jt,"has");const Ae=Z?Rt(Te):S("Map"),Me=Z?Rt(oe):S("WeakMap"),Ie=Z?Rt(xe):S("Set"),Pe=S("WeakSet");function dt(e){for(var n=N(e),o=n.length,s=Array(o),l=0;l<o;l++)s[l]=e[n[l]];return s}function Oe(e){for(var n=N(e),o=n.length,s=Array(o),l=0;l<o;l++)s[l]=[n[l],e[n[l]]];return s}function re(e){for(var n={},o=N(e),s=0,l=o.length;s<l;s++)n[e[o[s]]]=o[s];return n}function Ft(e){var n=[];for(var o in e)f(e[o])&&n.push(o);return n.sort()}function Yt(e,n){return function(o){var s=arguments.length;if(n&&(o=Object(o)),s<2||null==o)return o;for(var l=1;l<s;l++)for(var c=arguments[l],u=e(c),m=u.length,T=0;T<m;T++){var w=u[T];(!n||void 0===o[w])&&(o[w]=c[w])}return o}}const se=Yt(vt),Pt=Yt(N),ae=Yt(vt,!0);function ce(e){if(!nt(e))return{};if(X)return X(e);var n=function(){};n.prototype=e;var o=new n;return n.prototype=null,o}function G(e,n){var o=ce(e);return n&&Pt(o,n),o}function lt(e){return nt(e)?Y(e)?e.slice():se({},e):e}function Ot(e,n){return n(e),e}function le(e){return Y(e)?e:[e]}function Ct(e){return M.toPath(e)}function kt(e,n){for(var o=n.length,s=0;s<o;s++){if(null==e)return;e=e[n[s]]}return o?e:void 0}function ue(e,n,o){var s=kt(e,Ct(n));return _t(s)?o:s}function Ze(e,n){for(var o=(n=Ct(n)).length,s=0;s<o;s++){var l=n[s];if(!J(e,l))return!1;e=e[l]}return!!o}function Bt(e){return e}function yt(e){return e=Pt({},e),function(n){return Xt(n,e)}}function i(e){return e=Ct(e),function(n){return kt(n,e)}}function d(e,n,o){if(void 0===n)return e;switch(o??3){case 1:return function(s){return e.call(n,s)};case 3:return function(s,l,c){return e.call(n,s,l,c)};case 4:return function(s,l,c,u){return e.call(n,s,l,c,u)}}return function(){return e.apply(n,arguments)}}function r(e,n,o){return null==e?Bt:f(e)?d(e,n,o):nt(e)&&!Y(e)?yt(e):i(e)}function a(e,n){return r(e,n,1/0)}function p(e,n,o){return M.iteratee!==a?M.iteratee(e,n):r(e,n,o)}function y(e,n,o){n=p(n,o);for(var s=N(e),l=s.length,c={},u=0;u<l;u++){var m=s[u];c[m]=n(e[m],m,e)}return c}function Q(){}function et(e){return null==e?Q:function(n){return ue(e,n)}}function be(e,n,o){var s=Array(Math.max(0,e));n=d(n,o,1);for(var l=0;l<e;l++)s[l]=n(l);return s}function W(e,n){return null==n&&(n=e,e=0),e+Math.floor(Math.random()*(n-e+1))}M.toPath=le,M.iteratee=a;const Et=Date.now||function(){return(new Date).getTime()};function pe(e){var n=function(c){return e[c]},o="(?:"+N(e).join("|")+")",s=RegExp(o),l=RegExp(o,"g");return function(c){return s.test(c=null==c?"":""+c)?c.replace(l,n):c}}const ke={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},gn=pe(ke),Cn=pe(re(ke)),yn=M.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var Se=/(.)^/,wn={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},Tn=/\\|'|\r|\n|\u2028|\u2029/g;function xn(e){return"\\"+wn[e]}var An=/^\s*(\w|\$)+\s*$/;function Mn(e,n,o){!n&&o&&(n=o),n=ae({},n,M.templateSettings);var s=RegExp([(n.escape||Se).source,(n.interpolate||Se).source,(n.evaluate||Se).source].join("|")+"|$","g"),l=0,c="__p+='";e.replace(s,function(w,z,H,mn,_n){return c+=e.slice(l,_n).replace(Tn,xn),l=_n+w.length,z?c+="'+\n((__t=("+z+"))==null?'':_.escape(__t))+\n'":H?c+="'+\n((__t=("+H+"))==null?'':__t)+\n'":mn&&(c+="';\n"+mn+"\n__p+='"),w}),c+="';\n";var m,u=n.variable;if(u){if(!An.test(u))throw new Error("variable is not a bare identifier: "+u)}else c="with(obj||{}){\n"+c+"}\n",u="obj";c="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+c+"return __p;\n";try{m=new Function(u,"_",c)}catch(w){throw w.source=c,w}var T=function(w){return m.call(this,w,M)};return T.source="function("+u+"){\n"+c+"}",T}function In(e,n,o){var s=(n=Ct(n)).length;if(!s)return f(o)?o.call(e):o;for(var l=0;l<s;l++){var c=e?.[n[l]];void 0===c&&(c=o,l=s),e=f(c)?c.call(e):c}return e}var Pn=0;function On(e){var n=++Pn+"";return e?e+n:n}function En(e){var n=M(e);return n._chain=!0,n}function Be(e,n,o,s,l){if(!(s instanceof n))return e.apply(o,l);var c=ce(e.prototype),u=e.apply(c,l);return nt(u)?u:c}var Ne=R(function(e,n){var o=Ne.placeholder,s=function(){for(var l=0,c=n.length,u=Array(c),m=0;m<c;m++)u[m]=n[m]===o?arguments[l++]:n[m];for(;l<arguments.length;)u.push(arguments[l++]);return Be(e,s,this,this,u)};return s});Ne.placeholder=M;const he=Ne,Qe=R(function(e,n,o){if(!f(e))throw new TypeError("Bind must be called on a function");var s=R(function(l){return Be(e,s,n,this,o.concat(l))});return s}),V=qt(U);function wt(e,n,o,s){if(s=s||[],n||0===n){if(n<=0)return s.concat(e)}else n=1/0;for(var l=s.length,c=0,u=U(e);c<u;c++){var m=e[c];if(V(m)&&(Y(m)||ot(m)))if(n>1)wt(m,n-1,o,s),l=s.length;else for(var T=0,w=m.length;T<w;)s[l++]=m[T++];else o||(s[l++]=m)}return s}const Zn=R(function(e,n){var o=(n=wt(n,!1,!1)).length;if(o<1)throw new Error("bindAll must be passed function names");for(;o--;){var s=n[o];e[s]=Qe(e[s],e)}return e});function bn(e,n){var o=function(s){var l=o.cache,c=""+(n?n.apply(this,arguments):s);return J(l,c)||(l[c]=e.apply(this,arguments)),l[c]};return o.cache={},o}const He=R(function(e,n,o){return setTimeout(function(){return e.apply(null,o)},n)}),Sn=he(He,M,1);function Nn(e,n,o){var s,l,c,u,m=0;o||(o={});var T=function(){m=!1===o.leading?0:Et(),s=null,u=e.apply(l,c),s||(l=c=null)},w=function(){var z=Et();!m&&!1===o.leading&&(m=z);var H=n-(z-m);return l=this,c=arguments,H<=0||H>n?(s&&(clearTimeout(s),s=null),m=z,u=e.apply(l,c),s||(l=c=null)):!s&&!1!==o.trailing&&(s=setTimeout(T,H)),u};return w.cancel=function(){clearTimeout(s),m=0,s=l=c=null},w}function Dn(e,n,o){var s,l,c,u,m,T=function(){var z=Et()-l;n>z?s=setTimeout(T,n-z):(s=null,o||(u=e.apply(m,c)),s||(c=m=null))},w=R(function(z){return m=this,c=z,l=Et(),s||(s=setTimeout(T,n),o&&(u=e.apply(m,c))),u});return w.cancel=function(){clearTimeout(s),s=c=m=null},w}function Un(e,n){return he(n,e)}function De(e){return function(){return!e.apply(this,arguments)}}function qn(){var e=arguments,n=e.length-1;return function(){for(var o=n,s=e[n].apply(this,arguments);o--;)s=e[o].call(this,s);return s}}function Ln(e,n){return function(){if(--e<1)return n.apply(this,arguments)}}function Ke(e,n){var o;return function(){return--e>0&&(o=n.apply(this,arguments)),e<=1&&(n=null),o}}const Rn=he(Ke,2);function Ge(e,n,o){n=p(n,o);for(var l,s=N(e),c=0,u=s.length;c<u;c++)if(n(e[l=s[c]],l,e))return l}function Ve(e){return function(n,o,s){o=p(o,s);for(var l=U(n),c=e>0?0:l-1;c>=0&&c<l;c+=e)if(o(n[c],c,n))return c;return-1}}const Ue=Ve(1),$e=Ve(-1);function We(e,n,o,s){for(var l=(o=p(o,s,1))(n),c=0,u=U(e);c<u;){var m=Math.floor((c+u)/2);o(e[m])<l?c=m+1:u=m}return c}function Xe(e,n,o){return function(s,l,c){var u=0,m=U(s);if("number"==typeof c)e>0?u=c>=0?c:Math.max(c+m,u):m=c>=0?Math.min(c+1,m):c+m+1;else if(o&&c&&m)return s[c=o(s,l)]===l?c:-1;if(l!=l)return(c=n(I.call(s,u,m),Kt))>=0?c+u:-1;for(c=e>0?u:m-1;c>=0&&c<m;c+=e)if(s[c]===l)return c;return-1}}const je=Xe(1,Ue,We),Jn=Xe(-1,$e);function de(e,n,o){var l=(V(e)?Ue:Ge)(e,n,o);if(void 0!==l&&-1!==l)return e[l]}function zn(e,n){return de(e,yt(n))}function rt(e,n,o){var s,l;if(n=d(n,o),V(e))for(s=0,l=e.length;s<l;s++)n(e[s],s,e);else{var c=N(e);for(s=0,l=c.length;s<l;s++)n(e[c[s]],c[s],e)}return e}function ft(e,n,o){n=p(n,o);for(var s=!V(e)&&N(e),l=(s||e).length,c=Array(l),u=0;u<l;u++){var m=s?s[u]:u;c[u]=n(e[m],m,e)}return c}function tn(e){var n=function(o,s,l,c){var u=!V(o)&&N(o),m=(u||o).length,T=e>0?0:m-1;for(c||(l=o[u?u[T]:T],T+=e);T>=0&&T<m;T+=e){var w=u?u[T]:T;l=s(l,o[w],w,o)}return l};return function(o,s,l,c){var u=arguments.length>=3;return n(o,d(s,c,4),l,u)}}const qe=tn(1),en=tn(-1);function Zt(e,n,o){var s=[];return n=p(n,o),rt(e,function(l,c,u){n(l,c,u)&&s.push(l)}),s}function nn(e,n,o){return Zt(e,De(p(n)),o)}function on(e,n,o){n=p(n,o);for(var s=!V(e)&&N(e),l=(s||e).length,c=0;c<l;c++){var u=s?s[c]:c;if(!n(e[u],u,e))return!1}return!0}function rn(e,n,o){n=p(n,o);for(var s=!V(e)&&N(e),l=(s||e).length,c=0;c<l;c++){var u=s?s[c]:c;if(n(e[u],u,e))return!0}return!1}function ut(e,n,o,s){return V(e)||(e=dt(e)),("number"!=typeof o||s)&&(o=0),je(e,n,o)>=0}const Fn=R(function(e,n,o){var s,l;return f(n)?l=n:(n=Ct(n),s=n.slice(0,-1),n=n[n.length-1]),ft(e,function(c){var u=l;if(!u){if(s&&s.length&&(c=kt(c,s)),null==c)return;u=c[n]}return null==u?u:u.apply(c,o)})});function Le(e,n){return ft(e,i(n))}function Yn(e,n){return Zt(e,yt(n))}function sn(e,n,o){var c,u,s=-1/0,l=-1/0;if(null==n||"number"==typeof n&&"object"!=typeof e[0]&&null!=e)for(var m=0,T=(e=V(e)?e:dt(e)).length;m<T;m++)null!=(c=e[m])&&c>s&&(s=c);else n=p(n,o),rt(e,function(w,z,H){((u=n(w,z,H))>l||u===-1/0&&s===-1/0)&&(s=w,l=u)});return s}function kn(e,n,o){var c,u,s=1/0,l=1/0;if(null==n||"number"==typeof n&&"object"!=typeof e[0]&&null!=e)for(var m=0,T=(e=V(e)?e:dt(e)).length;m<T;m++)null!=(c=e[m])&&c<s&&(s=c);else n=p(n,o),rt(e,function(w,z,H){((u=n(w,z,H))<l||u===1/0&&s===1/0)&&(s=w,l=u)});return s}var Bn=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function an(e){return e?Y(e)?I.call(e):gt(e)?e.match(Bn):V(e)?ft(e,Bt):dt(e):[]}function cn(e,n,o){if(null==n||o)return V(e)||(e=dt(e)),e[W(e.length-1)];var s=an(e),l=U(s);n=Math.max(Math.min(n,l),0);for(var c=l-1,u=0;u<n;u++){var m=W(u,c),T=s[u];s[u]=s[m],s[m]=T}return s.slice(0,n)}function Qn(e){return cn(e,1/0)}function Hn(e,n,o){var s=0;return n=p(n,o),Le(ft(e,function(l,c,u){return{value:l,index:s++,criteria:n(l,c,u)}}).sort(function(l,c){var u=l.criteria,m=c.criteria;if(u!==m){if(u>m||void 0===u)return 1;if(u<m||void 0===m)return-1}return l.index-c.index}),"value")}function fe(e,n){return function(o,s,l){var c=n?[[],[]]:{};return s=p(s,l),rt(o,function(u,m){var T=s(u,m,o);e(c,u,T)}),c}}const Kn=fe(function(e,n,o){J(e,o)?e[o].push(n):e[o]=[n]}),ln=fe(function(e,n,o){e[o]=n}),Gn=fe(function(e,n,o){J(e,o)?e[o]++:e[o]=1}),Vn=fe(function(e,n,o){e[o?0:1].push(n)},!0);function $n(e){return null==e?0:V(e)?e.length:N(e).length}function Wn(e,n,o){return n in o}const un=R(function(e,n){var o={},s=n[0];if(null==e)return o;f(s)?(n.length>1&&(s=d(s,n[1])),n=vt(e)):(s=Wn,n=wt(n,!1,!1),e=Object(e));for(var l=0,c=n.length;l<c;l++){var u=n[l],m=e[u];s(m,u,e)&&(o[u]=m)}return o}),pn=R(function(e,n){var s,o=n[0];return f(o)?(o=De(o),n.length>1&&(s=n[1])):(n=ft(wt(n,!1,!1),String),o=function(l,c){return!ut(n,c)}),un(e,o,s)});function hn(e,n,o){return I.call(e,0,Math.max(0,e.length-(null==n||o?1:n)))}function Re(e,n,o){return null==e||e.length<1?null==n||o?void 0:[]:null==n||o?e[0]:hn(e,e.length-n)}function me(e,n,o){return I.call(e,null==n||o?1:n)}function Xn(e,n,o){return null==e||e.length<1?null==n||o?void 0:[]:null==n||o?e[e.length-1]:me(e,Math.max(0,e.length-n))}function jn(e){return Zt(e,Boolean)}function ti(e,n){return wt(e,n,!1)}const dn=R(function(e,n){return n=wt(n,!0,!0),Zt(e,function(o){return!ut(n,o)})}),ei=R(function(e,n){return dn(e,n)});function Je(e,n,o,s){At(n)||(s=o,o=n,n=!1),null!=o&&(o=p(o,s));for(var l=[],c=[],u=0,m=U(e);u<m;u++){var T=e[u],w=o?o(T,u,e):T;n&&!o?((!u||c!==w)&&l.push(T),c=w):o?ut(c,w)||(c.push(w),l.push(T)):ut(l,T)||l.push(T)}return l}const ni=R(function(e){return Je(wt(e,!0,!0))});function ii(e){for(var n=[],o=arguments.length,s=0,l=U(e);s<l;s++){var c=e[s];if(!ut(n,c)){var u;for(u=1;u<o&&ut(arguments[u],c);u++);u===o&&n.push(c)}}return n}function ze(e){for(var n=e&&sn(e,U).length||0,o=Array(n),s=0;s<n;s++)o[s]=Le(e,s);return o}const oi=R(ze);function ri(e,n){for(var o={},s=0,l=U(e);s<l;s++)n?o[e[s]]=n[s]:o[e[s][0]]=e[s][1];return o}function si(e,n,o){null==n&&(n=e||0,e=0),o||(o=n<e?-1:1);for(var s=Math.max(Math.ceil((n-e)/o),0),l=Array(s),c=0;c<s;c++,e+=o)l[c]=e;return l}function ai(e,n){if(null==n||n<1)return[];for(var o=[],s=0,l=e.length;s<l;)o.push(I.call(e,s,s+=n));return o}function Fe(e,n){return e._chain?M(n).chain():n}function fn(e){return rt(Ft(e),function(n){var o=M[n]=e[n];M.prototype[n]=function(){var s=[this._wrapped];return at.apply(s,arguments),Fe(this,o.apply(M,s))}}),M}rt(["pop","push","reverse","shift","sort","splice","unshift"],function(e){var n=_[e];M.prototype[e]=function(){var o=this._wrapped;return null!=o&&(n.apply(o,arguments),("shift"===e||"splice"===e)&&0===o.length&&delete o[0]),Fe(this,o)}}),rt(["concat","join","slice"],function(e){var n=_[e];M.prototype[e]=function(){var o=this._wrapped;return null!=o&&(o=n.apply(o,arguments)),Fe(this,o)}});const ci=M;var Ye=fn(t);Ye._=Ye;const li=Ye}}]);
|
package/app/3rdpartylicenses.txt
CHANGED
|
@@ -91,8 +91,31 @@ MIT
|
|
|
91
91
|
@angular/router
|
|
92
92
|
MIT
|
|
93
93
|
|
|
94
|
-
@
|
|
94
|
+
@babel/runtime
|
|
95
95
|
MIT
|
|
96
|
+
MIT License
|
|
97
|
+
|
|
98
|
+
Copyright (c) 2014-present Sebastian McKenzie and other contributors
|
|
99
|
+
|
|
100
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
101
|
+
a copy of this software and associated documentation files (the
|
|
102
|
+
"Software"), to deal in the Software without restriction, including
|
|
103
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
|
104
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
|
105
|
+
permit persons to whom the Software is furnished to do so, subject to
|
|
106
|
+
the following conditions:
|
|
107
|
+
|
|
108
|
+
The above copyright notice and this permission notice shall be
|
|
109
|
+
included in all copies or substantial portions of the Software.
|
|
110
|
+
|
|
111
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
112
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
113
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
114
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
115
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
116
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
117
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
118
|
+
|
|
96
119
|
|
|
97
120
|
@ctrl/tinycolor
|
|
98
121
|
MIT
|
|
@@ -682,31 +705,6 @@ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
|
682
705
|
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
683
706
|
|
|
684
707
|
|
|
685
|
-
angular
|
|
686
|
-
MIT
|
|
687
|
-
The MIT License (MIT)
|
|
688
|
-
|
|
689
|
-
Copyright (c) 2016 Angular
|
|
690
|
-
|
|
691
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
692
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
693
|
-
in the Software without restriction, including without limitation the rights
|
|
694
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
695
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
696
|
-
furnished to do so, subject to the following conditions:
|
|
697
|
-
|
|
698
|
-
The above copyright notice and this permission notice shall be included in all
|
|
699
|
-
copies or substantial portions of the Software.
|
|
700
|
-
|
|
701
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
702
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
703
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
704
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
705
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
706
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
707
|
-
SOFTWARE.
|
|
708
|
-
|
|
709
|
-
|
|
710
708
|
base64-js
|
|
711
709
|
MIT
|
|
712
710
|
The MIT License (MIT)
|